2 * Tuning of various parameters of the system.
3 * Normally you don't want to mess with any of this.
5 * Copyright (c) 1987-2017 by the citadel.org team
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.
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.
17 * If you want to keep a transcript of all multiuser chats that go across
18 * your system, define CHATLOG to the filename to be saved to. Otherwise,
19 * set CHATLOG to "/dev/null".
21 #define CHATLOG "/dev/null"
24 * Logging level to use if none is specified on the command line.
25 * Note that this will suppress messages before they even get to syslog().
27 #define DEFAULT_VERBOSITY 7
30 * NLI is the string that shows up in a <W>ho's online listing for sessions
31 * that are active, but for which no user has yet authenticated.
33 #define NLI "(not logged in)"
36 * Maximum number of floors on the system.
37 * WARNING! *Never* change this value once your system is up; THINGS WILL DIE!
38 * Also, do not set it higher than 127.
43 * Standard buffer size for string datatypes. DO NOT CHANGE! Not only does
44 * there exist a minimum buffer size for certain protocols (such as IMAP), but
45 * fixed-length buffers are now stored in some of the data structures on disk,
46 * so if you change the buffer size you'll fux0r your database.
51 * If the body of a message is beyond this size, it will be stored in
57 * SMTP delivery retry rules (all values are in seconds)
59 * If delivery of a message via SMTP is unsuccessful, Citadel will try again
60 * after SMTP_RETRY_INTERVAL seconds. This interval will double after each
61 * unsuccessful delivery, up to a maximum of SMTP_RETRY_MAX seconds. If no
62 * successful delivery has been accomplished after SMTP_GIVE_UP seconds, the
63 * message will be returned to its sender.
65 #define SMTP_RETRY_INTERVAL 300 /* 5 minutes */
66 #define SMTP_RETRY_MAX 43200 /* 12 hours */
67 #define SMTP_GIVE_UP 432000 /* 5 days */
70 * Who bounced messages appear to be from
72 #define BOUNCESOURCE "Citadel Mail Delivery Subsystem"
75 * This variable defines the amount of network spool data that may be carried
76 * in one server transfer command. For some reason, some networks get hung
77 * up on larger packet sizes. We don't know why. In any case, never set the
78 * packet size higher than 4096 or your server sessions will crash.
80 #define IGNET_PACKET_SIZE 4000
83 * The names of rooms which are automatically created by the system
85 #define BASEROOM "Lobby"
86 #define MAILROOM "Mail"
87 #define SENTITEMS "Sent Items"
88 #define AIDEROOM "Aide"
89 #define USERCONFIGROOM "My Citadel Config"
90 #define USERCALENDARROOM "Calendar"
91 #define USERTASKSROOM "Tasks"
92 #define USERCONTACTSROOM "Contacts"
93 #define USERNOTESROOM "Notes"
94 #define USERDRAFTROOM "Drafts"
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__"
101 * Where we keep messages containing the vCards that source our directory. It
102 * makes no sense to change this, because you'd have to change it on every
103 * system on the network. That would be stupid.
105 #define ADDRESS_BOOK_ROOM "Global Address Book"
108 * How long (in seconds) to retain message entries in the use table
110 #define USETABLE_RETAIN 864000L /* 10 days */
113 * The size of per-thread stacks. If set too low, citserver will randomly crash.
115 #define THREADSTACKSIZE 0x100000
118 * How many messages may the full text indexer scan before flushing its
121 #define FT_MAX_CACHE 2500