Back to index

citadel  8.12
sysconfig.h
Go to the documentation of this file.
00001 /*
00002  * NOTE: this file is for client software tuning, not customization.  For
00003  * making changes to the behavior of the client, you want to edit citadel.rc,
00004  * not this file.
00005  */
00006 
00007 /*
00008  * If you want to keep a transcript of all multiuser chats that go across
00009  * your system, define CHATLOG to the filename to be saved to.  Otherwise,
00010  * set CHATLOG to "/dev/null".
00011  */
00012 #define CHATLOG             "/dev/null"
00013 
00014 /* 
00015  * S_KEEPALIVE is a watchdog timer.  It is used to send "keep
00016  * alive" messages to the server to prevent the server from assuming the
00017  * client is dead and terminating the session.  30 seconds is the recommended
00018  * value; I can't think of any good reason to change it.
00019  */
00020 #define S_KEEPALIVE  30
00021 
00022 /*
00023  * Logging level to use if none is specified on the command line.
00024  * Note that this will suppress messages before they even get to syslog().
00025  */
00026 #define DEFAULT_VERBOSITY   7
00027 
00028 /*
00029  * NLI is the string that shows up in a <W>ho's online listing for sessions
00030  * that are active, but for which no user has yet authenticated.
00031  */
00032 #define NLI   "(not logged in)"
00033 
00034 /*
00035  * Maximum number of floors on the system.
00036  * WARNING!  *Never* change this value once your system is up; THINGS WILL DIE!
00037  * Also, do not set it higher than 127.
00038  */
00039 #define MAXFLOORS    16
00040 
00041 /*
00042  * Standard buffer size for string datatypes.  DO NOT CHANGE!  Not only does
00043  * there exist a minimum buffer size for certain protocols (such as IMAP), but
00044  * fixed-length buffers are now stored in some of the data structures on disk,
00045  * so if you change the buffer size you'll fux0r your database.
00046  */
00047 #define SIZ          4096
00048 
00049 /*
00050  * If the body of a message is beyond this size, it will be stored in
00051  * a separate table.
00052  */
00053 #define BIGMSG              1024
00054 
00055 /*
00056  * SMTP delivery retry rules (all values are in seconds)
00057  *
00058  * If delivery of a message via SMTP is unsuccessful, Citadel will try again
00059  * after SMTP_RETRY_INTERVAL seconds.  This interval will double after each
00060  * unsuccessful delivery, up to a maximum of SMTP_RETRY_MAX seconds.  If no
00061  * successful delivery has been accomplished after SMTP_GIVE_UP seconds, the
00062  * message will be returned to its sender.
00063  */
00064 #define       SMTP_RETRY_INTERVAL  300    /* 5 minutes */
00065 #define SMTP_RETRY_MAX             43200  /* 12 hours */
00066 #define SMTP_GIVE_UP        432000 /* 5 days */
00067 
00068 /*
00069  * Who bounced messages appear to be from
00070  */
00071 #define BOUNCESOURCE        "Citadel Mail Delivery Subsystem"
00072 
00073 /*
00074  * This variable defines the amount of network spool data that may be carried
00075  * in one server transfer command.  For some reason, some networks get hung
00076  * up on larger packet sizes.  We don't know why.  In any case, never set the
00077  * packet size higher than 4096 or your server sessions will crash.
00078  */
00079 #define IGNET_PACKET_SIZE   4000
00080 
00081 /*
00082  * The names of rooms which are automatically created by the system
00083  */
00084 #define BASEROOM            "Lobby"
00085 #define MAILROOM            "Mail"
00086 #define SENTITEMS           "Sent Items"
00087 #define AIDEROOM            "Aide"
00088 #define USERCONFIGROOM             "My Citadel Config"
00089 #define USERCALENDARROOM    "Calendar"
00090 #define USERTASKSROOM              "Tasks"
00091 #define USERCONTACTSROOM    "Contacts"
00092 #define USERNOTESROOM              "Notes"
00093 #define USERDRAFTROOM              "Drafts"
00094 #define USERTRASHROOM              "Trash"
00095 #define PAGELOGROOM         "Sent/Received Pages"
00096 #define SYSCONFIGROOM              "Local System Configuration"
00097 #define SMTP_SPOOLOUT_ROOM  "__CitadelSMTPspoolout__"
00098 #define FNBL_QUEUE_ROOM            "__CitadelFNBLqueue__"
00099 #define PAGER_QUEUE_ROOM    "__CitadelPagerQueue__"
00100 /*
00101  * Where we keep messages containing the vCards that source our directory.  It
00102  * makes no sense to change this, because you'd have to change it on every
00103  * system on the network.  That would be stupid.
00104  */
00105 #define ADDRESS_BOOK_ROOM   "Global Address Book"
00106 
00107 /*
00108  * How long (in seconds) to retain message entries in the use table
00109  */
00110 #define USETABLE_RETAIN            604800L              /* 7 days */
00111 
00112 /*
00113  * The size of per-thread stacks.  If set too low, citserver will randomly crash.
00114  */
00115 #define THREADSTACKSIZE            0x100000
00116 
00117 /*
00118  * How many messages may the full text indexer scan before flushing its
00119  * tables to disk?
00120  */
00121 #define FT_MAX_CACHE        2500