6 /****************************************************************************/
7 /* YOUR SYSTEM CONFIGURATION */
8 /* Set all the values in this file appropriately BEFORE compiling any of the*/
9 /* C programs. If you are upgrading from an older version of Citadel/UX, it */
10 /* is vitally important that the #defines which are labelled "structure size*/
11 /* variables" are EXACTLY the same as they were in your old system, */
12 /* otherwise your files will be munged beyond repair. */
13 /****************************************************************************/
17 /* NOTE THAT THIS FILE IS MUCH, MUCH SMALLER THAN IT USED TO BE.
18 * That's because the setup program now creates a citadel.config file with
19 * all of the settings that don't really need to be in a header file.
20 * You can now run setup whenever you want, and change lots of parameters
21 * without having to recompile the whole system!
25 * If you want to keep a transcript of all multiuser chats that go across
26 * your system, define CHATLOG to the filename to be saved to. Otherwise,
27 * set CHATLOG to "/dev/null".
29 #define CHATLOG "chat.log"
32 * S_KEEPALIVE is a watchdog timer. It is used to send "keep
33 * alive" messages to the server to prevent the server from assuming the
34 * client is dead and terminating the session. 30 seconds is the recommended
35 * value; I can't think of any good reason to change it.
37 #define S_KEEPALIVE 30
40 * This is the command that gets executed when a user hits <E>nter message:
41 * presses the <E>nter message key. The possible values are:
42 * 46 - .<E>nter message with <E>ditor
43 * 4 - .<E>nter <M>essage
44 * 36 - .<E>nter message with <A>scii
45 * Normally, this value will be set to 4, to cause the <E>nter message
46 * command to run Citadel's built-in editor. However, if you have an external
47 * editor installed, and you want to make it the default, set this to 46
48 * to make it use your editor by default.
50 #define DEFAULT_ENTRY 4
54 * Logging level to use if none is specified on the command line.
56 #define DEFAULT_VERBOSITY 9
61 * NLI is the string that shows up in a <W>ho's online listing for sessions
62 * that are active, but for which no user has yet authenticated.
64 #define NLI "(not logged in)"
67 * Maximum number of floors on the system.
68 * WARNING! *Never* change this value once your system is up; THINGS WILL DIE!
69 * Also, do not set it higher than 127.
74 * Standard buffer size for string datatypes. DO NOT CHANGE! Not only does
75 * there exist a minimum buffer size for certain protocols (such as IMAP), but
76 * fixed-length buffers are now stored in some of the data structures on disk,
77 * so if you change the buffer size you'll fux0r your database.
82 * SMTP delivery retry rules (all values are in seconds)
84 * If delivery of a message via SMTP is unsuccessful, Citadel will try again
85 * after SMTP_RETRY_INTERVAL seconds. This interval will double after each
86 * unsuccessful delivery, up to a maximum of SMTP_RETRY_MAX seconds. If no
87 * successful delivery has been accomplished after SMTP_GIVE_UP seconds, the
88 * message will be returned to its sender.
90 #define SMTP_RETRY_INTERVAL 900 /* 15 minutes */
91 #define SMTP_RETRY_MAX 43200 /* 12 hours */
92 #define SMTP_GIVE_UP 432000 /* 5 days */
95 * Who bounced messages appear to be from
97 #define BOUNCESOURCE "Citadel Mail Delivery Subsystem"
100 * This variable defines the amount of network spool data that may be carried
101 * in one server transfer command. For some reason, some networks get hung
102 * up on larger packet sizes. We don't know why. In any case, never set the
103 * packet size higher than 4096 or your server sessions will crash.
105 #define IGNET_PACKET_SIZE 4000
108 * The names of rooms which are automatically created by the system
110 #define BASEROOM "Lobby"
111 #define MAILROOM "Mail"
112 #define SENTITEMS "Sent Items"
113 #define AIDEROOM "Aide"
114 #define USERCONFIGROOM "My Citadel Config"
115 #define USERCALENDARROOM "Calendar"
116 #define USERTASKSROOM "Tasks"
117 #define PAGELOGROOM "Sent/Received Pages"
118 #define SYSCONFIGROOM "Local System Configuration"
119 #define SMTP_SPOOLOUT_ROOM "__CitadelSMTPspoolout__"
122 * How long (in seconds) to retain message entries in the use table
124 #define USETABLE_RETAIN 604800L /* 7 days */