]> code.citadel.org Git - citadel.git/blobdiff - citadel/sysconfig.h
* When sending mail, copy to the sender's "Sent Items>" room instead of to
[citadel.git] / citadel / sysconfig.h
index 49eb103fcf32ecb1d85dd40cef32880df4ffdcb4..f2d79b21d69ef15930daeb3556aad28421b54bdb 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.
  * your system, define CHATLOG to the filename to be saved to.  Otherwise,
  * set CHATLOG to "/dev/null".
  */
-#define CHATLOG                "./chat.log"
-
-/*
- * SLEEPING refers to the watchdog timer.  If a user sits idle without typing
- * anything for this number of seconds, the session will automatically be
- * logged out.  Set it to zero to disable this feature.
- * Note: the watchdog timer only functions when the parent is 1 (init) - in
- * other words, only if Citadel is the login shell. 
- */
-#define SLEEPING       180
+#define CHATLOG                "chat.log"
 
 /* 
- * S_KEEPALIVE is also a watchdog timer, except it is used to send "keep
+ * S_KEEPALIVE is a watchdog timer.  It is used to send "keep
  * alive" messages to the server to prevent the server from assuming the
  * client is dead and terminating the session.  30 seconds is the recommended
  * value; I can't think of any good reason to change it.
  * 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
 
-/*** STRUCTURE SIZE VARIABLES ***/
 
-/* 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                              */
 
-/* These may be changed at any time. */
-#define MAXUCACHE      10              /* Entries in server user cache     */
+/*
+ * 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
 
-/*** END OF STRUCTURE SIZE VARIABLES ***/
+/*
+ * 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
+
+/*
+ * SMTP delivery retry rules (all values are in seconds)
+ *
+ * If delivery of a message via SMTP is unsuccessful, Citadel will try again
+ * after SMTP_RETRY_INTERVAL seconds.  This interval will double after each
+ * unsuccessful delivery, up to a maximum of SMTP_RETRY_MAX seconds.  If no
+ * successful delivery has been accomplished after SMTP_GIVE_UP seconds, the
+ * message will be returned to its sender.
+ */
+#define        SMTP_RETRY_INTERVAL     900     /* 15 minutes */
+#define SMTP_RETRY_MAX         43200   /* 12 hours */
+#define SMTP_GIVE_UP           432000  /* 5 days */
+
+/*
+ * Who bounced messages appear to be from
+ */
+#define BOUNCESOURCE           "Citadel Mail Delivery Subsystem"
+
+/*
+ * This variable defines the amount of network spool data that may be carried
+ * in one server transfer command.  For some reason, some networks get hung
+ * up on larger packet sizes.  We don't know why.  In any case, never set the
+ * packet size higher than 4096 or your server sessions will crash.
+ */
+#define IGNET_PACKET_SIZE      4000
+
+/*
+ * The names of rooms which are automatically created by the system
+ */
+#define BASEROOM               "Lobby"
+#define MAILROOM               "Mail"
+#define SENTITEMS              "Sent Items"
+#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__"
+
+/*
+ * How long (in seconds) to retain message entries in the use table
+ */
+#define USETABLE_RETAIN                604800L         /* 7 days */