]> code.citadel.org Git - citadel.git/blobdiff - citadel/sysconfig.h
* Updated some of the docs. Bumped version number to 5.80 in anticipation
[citadel.git] / citadel / sysconfig.h
index 49eb103fcf32ecb1d85dd40cef32880df4ffdcb4..378a3b639e0962e1e8d92b8ea3c8e8871b9beb3a 100644 (file)
@@ -1,3 +1,8 @@
+/*
+ * $Id$
+ *
+ */
+
 /****************************************************************************/
 /*                  YOUR SYSTEM CONFIGURATION                               */
 /* Set all the values in this file appropriately BEFORE compiling any of the*/
@@ -7,6 +12,8 @@
 /* otherwise your files will be munged beyond repair.                       */
 /****************************************************************************/
 
+/* $Id$ */
+
 /* NOTE THAT THIS FILE IS MUCH, MUCH SMALLER THAN IT USED TO BE.
  * That's because the setup program now creates a citadel.config file with
  * all of the settings that don't really need to be in a header file.
@@ -19,7 +26,7 @@
  * your system, define CHATLOG to the filename to be saved to.  Otherwise,
  * set CHATLOG to "/dev/null".
  */
-#define CHATLOG                "./chat.log"
+#define CHATLOG                "chat.log"
 
 /*
  * SLEEPING refers to the watchdog timer.  If a user sits idle without typing
  * editor installed, and you want to make it the default, set this to 46
  * to make it use your editor by default.
  */
-#define DEFAULT_ENTRY  4
+#define DEFAULT_ENTRY          4
+
+
+/*
+ * Logging level to use if none is specified on the command line.
+ */
+#define DEFAULT_VERBOSITY      9
+
+
+/*
+ * HOUSEKEEPING_WAKEUP is the number of seconds which pass between each pass
+ * of the housekeeping thread.  This normally happens once per minute and there
+ * isn't any good reason to change it.
+ */
+#define HOUSEKEEPING_WAKEUP    60
 
 
-/*** STRUCTURE SIZE VARIABLES ***/
+/*
+ * NLI is the string that shows up in a <W>ho's online listing for sessions
+ * that are active, but for which no user has yet authenticated.
+ */
+#define NLI    "(not logged in)"
+
+/*
+ * Maximum number of floors on the system.
+ * WARNING!  *Never* change this value once your system is up; THINGS WILL DIE!
+ * Also, do not set it higher than 127.
+ */
+#define MAXFLOORS      16
+
 
-/* You may NOT change these values once you set up your system.            */
-#define MAXROOMS       128             /* Number of rooms in system        */
-#define MAXFLOORS      16              /* Do not set higher than 127       */
-#define MAILSLOTS      35              /* Number of mail slots per user    */
-#define MSGSPERRM      150             /* Messages per room                */
-#define CALLLOG                1000            /* Number of entries in call log    */
-/* Do not set MAILSLOTS higher than MSGSPERRM                              */
+/*
+ * Standard buffer size for string datatypes.  DO NOT CHANGE!  Not only does
+ * there exist a minimum buffer size for certain protocols (such as IMAP), but
+ * fixed-length buffers are now stored in some of the data structures on disk,
+ * so if you change the buffer size you'll fux0r your database.
+ */
+#define SIZ            4096
 
-/* These may be changed at any time. */
-#define MAXUCACHE      10              /* Entries in server user cache     */
+/*
+ * SMTP delivery retry and give-up times
+ */
+#define        SMTP_RETRY_INTERVAL     900     /* retry sends every 15 minutes */
+#define SMTP_GIVE_UP           432000  /* give up after 5 days */
 
 
-/*** END OF STRUCTURE SIZE VARIABLES ***/
+/*
+ * The names of rooms which are automatically created by the system
+ */
+#define BASEROOM               "Lobby"
+#define MAILROOM               "Mail"
+#define AIDEROOM               "Aide"
+#define USERCONFIGROOM         "My Citadel Config"
+#define USERCALENDARROOM       "My Calendar"
+#define PAGELOGROOM            "Sent/Received Pages"
+#define SYSCONFIGROOM          "Local System Configuration"
+#define SMTP_SPOOLOUT_ROOM     "__CitadelSMTPspoolout__"