Applied Matt's patch for pager config -- NOT TESTED
[citadel.git] / citadel / sysconfig.h
1 /*
2  * $Id$
3  *
4  * NOTE: this file is for client software tuning, not customization.  For
5  * making changes to the behavior of the client, you want to edit citadel.rc,
6  * not this file.
7  */
8
9 /*
10  * If you want to keep a transcript of all multiuser chats that go across
11  * your system, define CHATLOG to the filename to be saved to.  Otherwise,
12  * set CHATLOG to "/dev/null".
13  */
14 #define CHATLOG         "/dev/null"
15
16 /* 
17  * S_KEEPALIVE is a watchdog timer.  It is used to send "keep
18  * alive" messages to the server to prevent the server from assuming the
19  * client is dead and terminating the session.  30 seconds is the recommended
20  * value; I can't think of any good reason to change it.
21  */
22 #define S_KEEPALIVE     30
23
24 /*
25  * Logging level to use if none is specified on the command line.
26  * Note that this will suppress messages before they even get to syslog().
27  */
28 #define DEFAULT_VERBOSITY       7
29
30 /*
31  * NLI is the string that shows up in a <W>ho's online listing for sessions
32  * that are active, but for which no user has yet authenticated.
33  */
34 #define NLI     "(not logged in)"
35
36 /*
37  * Maximum number of floors on the system.
38  * WARNING!  *Never* change this value once your system is up; THINGS WILL DIE!
39  * Also, do not set it higher than 127.
40  */
41 #define MAXFLOORS       16
42
43 /*
44  * Standard buffer size for string datatypes.  DO NOT CHANGE!  Not only does
45  * there exist a minimum buffer size for certain protocols (such as IMAP), but
46  * fixed-length buffers are now stored in some of the data structures on disk,
47  * so if you change the buffer size you'll fux0r your database.
48  */
49 #define SIZ             4096
50
51 /*
52  * If the body of a message is beyond this size, it will be stored in
53  * a separate table.
54  */
55 #define BIGMSG          1024
56
57 /*
58  * SMTP delivery retry rules (all values are in seconds)
59  *
60  * If delivery of a message via SMTP is unsuccessful, Citadel will try again
61  * after SMTP_RETRY_INTERVAL seconds.  This interval will double after each
62  * unsuccessful delivery, up to a maximum of SMTP_RETRY_MAX seconds.  If no
63  * successful delivery has been accomplished after SMTP_GIVE_UP seconds, the
64  * message will be returned to its sender.
65  */
66 #define SMTP_RETRY_INTERVAL     900     /* 15 minutes */
67 #define SMTP_RETRY_MAX          43200   /* 12 hours */
68 #define SMTP_GIVE_UP            432000  /* 5 days */
69
70 /*
71  * Who bounced messages appear to be from
72  */
73 #define BOUNCESOURCE            "Citadel Mail Delivery Subsystem"
74
75 /*
76  * This variable defines the amount of network spool data that may be carried
77  * in one server transfer command.  For some reason, some networks get hung
78  * up on larger packet sizes.  We don't know why.  In any case, never set the
79  * packet size higher than 4096 or your server sessions will crash.
80  */
81 #define IGNET_PACKET_SIZE       4000
82
83 /*
84  * The names of rooms which are automatically created by the system
85  */
86 #define BASEROOM                "Lobby"
87 #define MAILROOM                "Mail"
88 #define SENTITEMS               "Sent Items"
89 #define AIDEROOM                "Aide"
90 #define USERCONFIGROOM          "My Citadel Config"
91 #define USERCALENDARROOM        "Calendar"
92 #define USERTASKSROOM           "Tasks"
93 #define USERCONTACTSROOM        "Contacts"
94 #define USERNOTESROOM           "Notes"
95 #define USERTRASHROOM           "Trash"
96 #define PAGELOGROOM             "Sent/Received Pages"
97 #define SYSCONFIGROOM           "Local System Configuration"
98 #define SMTP_SPOOLOUT_ROOM      "__CitadelSMTPspoolout__"
99 #define FNBL_QUEUE_ROOM         "__CitadelFNBLqueue__"
100 #define PAGER_QUEUE_ROOM        "__CitadelPagerQueue__"
101 /*
102  * Where we keep messages containing the vCards that source our directory.  It
103  * makes no sense to change this, because you'd have to change it on every
104  * system on the network.  That would be stupid.
105  */
106 #define ADDRESS_BOOK_ROOM       "Global Address Book"
107
108 /*
109  * How long (in seconds) to retain message entries in the use table
110  */
111 #define USETABLE_RETAIN         604800L         /* 7 days */
112
113 /*
114  * The size of per-thread stacks.  If set too low, citserver will randomly crash.
115  */
116 #define THREADSTACKSIZE         1048576
117
118 /*
119  * How many messages may the full text indexer scan before flushing its
120  * tables to disk?
121  */
122 #define FT_MAX_CACHE            2500