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