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 // SMTP delivery timeouts (measured in seconds)
25 // If outbound SMTP deliveries cannot be completed due to transient errors
26 // within SMTP_DELIVER_WARN seconds, the sender will receive a warning message
27 // indicating that the message has not yet been delivered but Citadel will
28 // keep trying. After SMTP_DELIVER_FAIL seconds, Citadel will advise the
29 // sender that the deliveries have failed.
30 #define SMTP_DELIVER_WARN 14400 // warn after four hours
31 #define SMTP_DELIVER_FAIL 432000 // fail after five days
33 // Who bounced messages appear to be from
34 #define BOUNCESOURCE "Citadel Mail Delivery Subsystem"
36 // The names of rooms which are automatically created by the system
37 #define BASEROOM "Lobby"
38 #define MAILROOM "Mail"
39 #define SENTITEMS "Sent Items"
40 #define AIDEROOM "Aide"
41 #define USERCONFIGROOM "My Citadel Config"
42 #define USERCALENDARROOM "Calendar"
43 #define USERTASKSROOM "Tasks"
44 #define USERCONTACTSROOM "Contacts"
45 #define USERNOTESROOM "Notes"
46 #define USERDRAFTROOM "Drafts"
47 #define USERTRASHROOM "Trash"
48 #define PAGELOGROOM "Sent/Received Pages"
49 #define SYSCONFIGROOM "Local System Configuration"
50 #define SMTP_SPOOLOUT_ROOM "__CitadelSMTPspoolout__"
51 #define ADDRESS_BOOK_ROOM "Global Address Book"
53 // How long (in seconds) to retain message entries in the use table
54 #define USETABLE_RETAIN 864000L // 10 days
56 // The size of per-thread stacks. If set too low, citserver will randomly crash.
57 #define THREADSTACKSIZE 0x100000
59 // How many messages may the full text indexer scan before flushing its
61 #define FT_MAX_CACHE 25