* Removed the idle timer from the client. Dialup is dead.
[citadel.git] / citadel / sysconfig.h
1 /*
2  * $Id$
3  *
4  */
5
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 /****************************************************************************/
14
15 /* $Id$ */
16
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!
22  */
23
24 /*
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".
28  */
29 #define CHATLOG         "chat.log"
30
31 /* 
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.
36  */
37 #define S_KEEPALIVE     30
38
39 /*
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.
49  */
50 #define DEFAULT_ENTRY           4
51
52
53 /*
54  * Logging level to use if none is specified on the command line.
55  */
56 #define DEFAULT_VERBOSITY       9
57
58
59
60 /*
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.
63  */
64 #define NLI     "(not logged in)"
65
66 /*
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.
70  */
71 #define MAXFLOORS       16
72
73
74 /*
75  * Standard buffer size for string datatypes.  DO NOT CHANGE!  Not only does
76  * there exist a minimum buffer size for certain protocols (such as IMAP), but
77  * fixed-length buffers are now stored in some of the data structures on disk,
78  * so if you change the buffer size you'll fux0r your database.
79  */
80 #define SIZ             4096
81
82 /*
83  * SMTP delivery retry and give-up times
84  */
85 #define SMTP_RETRY_INTERVAL     900     /* retry sends every 15 minutes */
86 #define SMTP_GIVE_UP            432000  /* give up after 5 days */
87
88
89 /*
90  * The names of rooms which are automatically created by the system
91  */
92 #define BASEROOM                "Lobby"
93 #define MAILROOM                "Mail"
94 #define AIDEROOM                "Aide"
95 #define USERCONFIGROOM          "My Citadel Config"
96 #define USERCALENDARROOM        "My Calendar"
97 #define PAGELOGROOM             "Sent/Received Pages"
98 #define SYSCONFIGROOM           "Local System Configuration"
99 #define SMTP_SPOOLOUT_ROOM      "__CitadelSMTPspoolout__"