Mailing list header changes (fuck you Google)
[citadel.git] / citadel / sysconfig.h
1 /*
2  * Tuning of various parameters of the system.
3  * Normally you don't want to mess with any of this.
4  *
5  * Copyright (c) 1987-2018 by the citadel.org team
6  *
7  * This program is open source software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License version 3.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  */
15
16 /*
17  * NLI is the string that shows up in a <W>ho's online listing for sessions
18  * that are active, but for which no user has yet authenticated.
19  */
20 #define NLI     "(not logged in)"
21
22 /*
23  * Maximum number of floors on the system.
24  * WARNING!  *Never* change this value once your system is up; THINGS WILL DIE!
25  * Also, do not set it higher than 127.
26  */
27 #define MAXFLOORS       16
28
29 /*
30  * Standard buffer size for string datatypes.  DO NOT CHANGE!  Not only does
31  * there exist a minimum buffer size for certain protocols (such as IMAP), but
32  * fixed-length buffers are now stored in some of the data structures on disk,
33  * so if you change the buffer size you'll fux0r your database.
34  */
35 #define SIZ             4096
36
37 /*
38  * If the body of a message is beyond this size, it will be stored in
39  * a separate table.
40  */
41 #define BIGMSG          1024
42
43 /*
44  * SMTP delivery timeouts (measured in seconds)
45  * If outbound SMTP deliveries cannot be completed due to transient errors
46  * within SMTP_DELIVER_WARN seconds, the sender will receive a warning message
47  * indicating that the message has not yet been delivered but Citadel will
48  * keep trying.  After SMTP_DELIVER_FAIL seconds, Citadel will advise the
49  * sender that the deliveries have failed.
50  */
51 #define SMTP_DELIVER_WARN       14400           // warn after four hours
52 #define SMTP_DELIVER_FAIL       432000          // fail after five days
53
54 /*
55  * Who bounced messages appear to be from
56  */
57 #define BOUNCESOURCE            "Citadel Mail Delivery Subsystem"
58
59 /*
60  * The names of rooms which are automatically created by the system
61  */
62 #define BASEROOM                "Lobby"
63 #define MAILROOM                "Mail"
64 #define SENTITEMS               "Sent Items"
65 #define AIDEROOM                "Aide"
66 #define USERCONFIGROOM          "My Citadel Config"
67 #define USERCALENDARROOM        "Calendar"
68 #define USERTASKSROOM           "Tasks"
69 #define USERCONTACTSROOM        "Contacts"
70 #define USERNOTESROOM           "Notes"
71 #define USERDRAFTROOM           "Drafts"
72 #define USERTRASHROOM           "Trash"
73 #define PAGELOGROOM             "Sent/Received Pages"
74 #define SYSCONFIGROOM           "Local System Configuration"
75 #define SMTP_SPOOLOUT_ROOM      "__CitadelSMTPspoolout__"
76
77 /*
78  * Where we keep messages containing the vCards that source our directory.  It
79  * makes no sense to change this, because you'd have to change it on every
80  * system on the network.  That would be stupid.
81  */
82 #define ADDRESS_BOOK_ROOM       "Global Address Book"
83
84 /*
85  * How long (in seconds) to retain message entries in the use table
86  */
87 #define USETABLE_RETAIN         864000L         /* 10 days */
88
89 /*
90  * The size of per-thread stacks.  If set too low, citserver will randomly crash.
91  */
92 #define THREADSTACKSIZE         0x100000
93
94 /*
95  * How many messages may the full text indexer scan before flushing its
96  * tables to disk?
97  */
98 #define FT_MAX_CACHE            25