1 // Tuning of various parameters of the system.
2 // Normally you don't want to mess with any of this.
4 // Copyright (c) 1987-2024 by the citadel.org team
6 // This program is open source software. Use, duplication, or disclosure
7 // is subject to the terms of the GNU General Public License version 3.
9 // NLI is the string that shows up in a <W>ho's online listing for sessions
10 // that are active, but for which no user has yet authenticated.
11 #define NLI "(not logged in)"
13 // Maximum number of floors on the system.
14 // WARNING! *Never* change this value once your system is up; THINGS WILL DIE!
15 // Also, do not set it higher than 127.
18 // Standard buffer size for string datatypes. DO NOT CHANGE! Not only does
19 // there exist a minimum buffer size for certain protocols (such as IMAP), but
20 // fixed-length buffers are now stored in some of the data structures on disk,
21 // so if you change the buffer size you'll fux0r your database.
24 // If the body of a message is beyond this size, it will be stored in
28 // SMTP delivery timeouts (measured in seconds)
29 // If outbound SMTP deliveries cannot be completed due to transient errors
30 // within SMTP_DELIVER_WARN seconds, the sender will receive a warning message
31 // indicating that the message has not yet been delivered but Citadel will
32 // keep trying. After SMTP_DELIVER_FAIL seconds, Citadel will advise the
33 // sender that the deliveries have failed.
34 #define SMTP_DELIVER_WARN 14400 // warn after four hours
35 #define SMTP_DELIVER_FAIL 432000 // fail after five days
37 // Who bounced messages appear to be from
38 #define BOUNCESOURCE "Citadel Mail Delivery Subsystem"
40 // The names of rooms which are automatically created by the system
41 #define BASEROOM "Lobby"
42 #define MAILROOM "Mail"
43 #define SENTITEMS "Sent Items"
44 #define AIDEROOM "Aide"
45 #define USERCONFIGROOM "My Citadel Config"
46 #define USERCALENDARROOM "Calendar"
47 #define USERTASKSROOM "Tasks"
48 #define USERCONTACTSROOM "Contacts"
49 #define USERNOTESROOM "Notes"
50 #define USERDRAFTROOM "Drafts"
51 #define USERTRASHROOM "Trash"
52 #define PAGELOGROOM "Sent/Received Pages"
53 #define SYSCONFIGROOM "Local System Configuration"
54 #define SMTP_SPOOLOUT_ROOM "__CitadelSMTPspoolout__"
55 #define ADDRESS_BOOK_ROOM "Global Address Book"
57 // How long (in seconds) to retain message entries in the use table
58 #define USETABLE_RETAIN 864000L // 10 days
60 // The size of per-thread stacks. If set too low, citserver will randomly crash.
61 #define THREADSTACKSIZE 0x100000
63 // How many messages may the full text indexer scan before flushing its
65 #define FT_MAX_CACHE 25