* Create a "Contacts" room for personal address book use
[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 /*
18  * NOTE: this file is for client software tuning, not customization.  For
19  * making changes to the behavior of the client, you want to edit citadel.rc,
20  * not this file.
21  */
22
23 /*
24  * If you want to keep a transcript of all multiuser chats that go across
25  * your system, define CHATLOG to the filename to be saved to.  Otherwise,
26  * set CHATLOG to "/dev/null".
27  */
28 #define CHATLOG         "/dev/null"
29
30 /* 
31  * S_KEEPALIVE is a watchdog timer.  It is used to send "keep
32  * alive" messages to the server to prevent the server from assuming the
33  * client is dead and terminating the session.  30 seconds is the recommended
34  * value; I can't think of any good reason to change it.
35  */
36 #define S_KEEPALIVE     30
37
38 /*
39  * This is the command that gets executed when a user hits <E>nter message:
40  * presses the <E>nter message key.  The possible values are:
41  *   4  - .<E>nter <M>essage
42  *   46 - .<E>nter message with <E>ditor
43  *   36 - .<E>nter message with <A>scii
44  * Normally, this value will be set to 4, to cause the <E>nter message
45  * command to run Citadel's built-in editor.  However, if you have an external
46  * editor installed, and you want to make it the default, set this to 46
47  * to make it use your editor by default.
48  */
49 #define DEFAULT_ENTRY           4
50
51
52 /*
53  * Logging level to use if none is specified on the command line.
54  */
55 #define DEFAULT_VERBOSITY       9
56
57
58
59 /*
60  * NLI is the string that shows up in a <W>ho's online listing for sessions
61  * that are active, but for which no user has yet authenticated.
62  */
63 #define NLI     "(not logged in)"
64
65 /*
66  * Maximum number of floors on the system.
67  * WARNING!  *Never* change this value once your system is up; THINGS WILL DIE!
68  * Also, do not set it higher than 127.
69  */
70 #define MAXFLOORS       16
71
72 /*
73  * Standard buffer size for string datatypes.  DO NOT CHANGE!  Not only does
74  * there exist a minimum buffer size for certain protocols (such as IMAP), but
75  * fixed-length buffers are now stored in some of the data structures on disk,
76  * so if you change the buffer size you'll fux0r your database.
77  */
78 #define SIZ             4096
79
80 /*
81  * SMTP delivery retry rules (all values are in seconds)
82  *
83  * If delivery of a message via SMTP is unsuccessful, Citadel will try again
84  * after SMTP_RETRY_INTERVAL seconds.  This interval will double after each
85  * unsuccessful delivery, up to a maximum of SMTP_RETRY_MAX seconds.  If no
86  * successful delivery has been accomplished after SMTP_GIVE_UP seconds, the
87  * message will be returned to its sender.
88  */
89 #define SMTP_RETRY_INTERVAL     900     /* 15 minutes */
90 #define SMTP_RETRY_MAX          43200   /* 12 hours */
91 #define SMTP_GIVE_UP            432000  /* 5 days */
92
93 /*
94  * Who bounced messages appear to be from
95  */
96 #define BOUNCESOURCE            "Citadel Mail Delivery Subsystem"
97
98 /*
99  * This variable defines the amount of network spool data that may be carried
100  * in one server transfer command.  For some reason, some networks get hung
101  * up on larger packet sizes.  We don't know why.  In any case, never set the
102  * packet size higher than 4096 or your server sessions will crash.
103  */
104 #define IGNET_PACKET_SIZE       4000
105
106 /*
107  * The names of rooms which are automatically created by the system
108  */
109 #define BASEROOM                "Lobby"
110 #define MAILROOM                "Mail"
111 #define SENTITEMS               "Sent Items"
112 #define AIDEROOM                "Aide"
113 #define USERCONFIGROOM          "My Citadel Config"
114 #define USERCALENDARROOM        "Calendar"
115 #define USERTASKSROOM           "Tasks"
116 #define USERCONTACTSROOM        "Contacts"
117 #define PAGELOGROOM             "Sent/Received Pages"
118 #define SYSCONFIGROOM           "Local System Configuration"
119 #define SMTP_SPOOLOUT_ROOM      "__CitadelSMTPspoolout__"
120
121 /*
122  * How long (in seconds) to retain message entries in the use table
123  */
124 #define USETABLE_RETAIN         604800L         /* 7 days */