* Properly handle all aliases specified in network/mail.aliases for incoming
[citadel.git] / citadel / sysconfig.h
1 /****************************************************************************/
2 /*                  YOUR SYSTEM CONFIGURATION                               */
3 /* Set all the values in this file appropriately BEFORE compiling any of the*/
4 /* C programs. If you are upgrading from an older version of Citadel/UX, it */
5 /* is vitally important that the #defines which are labelled "structure size*/
6 /* variables" are EXACTLY the same as they were in your old system,         */
7 /* otherwise your files will be munged beyond repair.                       */
8 /****************************************************************************/
9
10 /* $Id$ */
11
12 /* NOTE THAT THIS FILE IS MUCH, MUCH SMALLER THAN IT USED TO BE.
13  * That's because the setup program now creates a citadel.config file with
14  * all of the settings that don't really need to be in a header file.
15  * You can now run setup whenever you want, and change lots of parameters
16  * without having to recompile the whole system!
17  */
18
19 /*
20  * If you want to keep a transcript of all multiuser chats that go across
21  * your system, define CHATLOG to the filename to be saved to.  Otherwise,
22  * set CHATLOG to "/dev/null".
23  */
24 #define CHATLOG         "chat.log"
25
26 /*
27  * SLEEPING refers to the watchdog timer.  If a user sits idle without typing
28  * anything for this number of seconds, the session will automatically be
29  * logged out.  Set it to zero to disable this feature.
30  * Note: the watchdog timer only functions when the parent is 1 (init) - in
31  * other words, only if Citadel is the login shell. 
32  */
33 #define SLEEPING        180
34
35 /* 
36  * S_KEEPALIVE is also a watchdog timer, except it is used to send "keep
37  * alive" messages to the server to prevent the server from assuming the
38  * client is dead and terminating the session.  30 seconds is the recommended
39  * value; I can't think of any good reason to change it.
40  */
41 #define S_KEEPALIVE     30
42
43 /*
44  * This is the command that gets executed when a user hits <E>nter message:
45  * presses the <E>nter message key.  The possible values are:
46  *   46 - .<E>nter message with <E>ditor
47  *   4  - .<E>nter <M>essage
48  *   36 - .<E>nter message with <A>scii
49  * Normally, this value will be set to 4, to cause the <E>nter message
50  * command to run Citadel's built-in editor.  However, if you have an external
51  * editor installed, and you want to make it the default, set this to 46
52  * to make it use your editor by default.
53  */
54 #define DEFAULT_ENTRY           4
55
56
57 /*
58  * Logging level to use if none is specified on the command line.
59  */
60 #define DEFAULT_VERBOSITY       9
61
62
63 /*
64  * HOUSEKEEPING_WAKEUP is the number of seconds which pass between each pass
65  * of the housekeeping thread.  This normally happens once per minute and there
66  * isn't any good reason to change it.
67  */
68 #define HOUSEKEEPING_WAKEUP     60
69
70
71 /*
72  * NLI is the string that shows up in a <W>ho's online listing for sessions
73  * that are active, but for which no user has yet authenticated.
74  */
75 #define NLI     "(not logged in)"
76
77 /*
78  * Maximum number of floors on the system.
79  * WARNING!  *Never* change this value once your system is up; THINGS WILL DIE!
80  * Also, do not set it higher than 127.
81  */
82 #define MAXFLOORS       16
83
84
85 /* 
86  * These define what port to listen on for various services.
87  * FIXME ... put this in a programmable config somewhere
88  */
89 #define POP3_PORT               1110
90 #define SMTP_PORT               2525
91
92 /*
93  * SMTP delivery retry and give-up times
94  * FIXME ... put this in a programmable config somewhere
95  */
96 #define SMTP_RETRY_INTERVAL     900     /* retry sends every 15 minutes */
97 #define SMTP_GIVE_UP            259200  /* give up after 3 days */
98
99
100 /*
101  * The names of rooms which are automatically created by the system
102  */
103 #define BASEROOM                "Lobby"
104 #define MAILROOM                "Mail"
105 #define AIDEROOM                "Aide"
106 #define USERCONFIGROOM          "My Citadel Config"
107 #define SYSCONFIGROOM           "Local System Configuration"
108 #define SMTP_SPOOLOUT_ROOM      "__CitadelSMTPspoolout__"