]> code.citadel.org Git - citadel.git/blobdiff - citadel/sysconfig.h
* Shuffled around some of the housekeeping loop code
[citadel.git] / citadel / sysconfig.h
index 198f7e557144b00ffd2536dd8a8d17742de1fcee..4bbf9faa7881c1ca3258f7a56252cd099ab2d826 100644 (file)
@@ -1,3 +1,8 @@
+/*
+ * $Id$
+ *
+ */
+
 /****************************************************************************/
 /*                  YOUR SYSTEM CONFIGURATION                               */
 /* Set all the values in this file appropriately BEFORE compiling any of the*/
 #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.
+ * 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 HOUSEKEEPING_WAKEUP    60
-
-
 #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
 
-/*** STRUCTURE SIZE VARIABLES ***/
-
-/* You may NOT change this value once you set up your system.      */
-#define MAXFLOORS      16              /* Do not set higher than 127       */
-
-/*** 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
 
-/* 
- * These define what port to listen on for various services.
- * FIX ... put this in a programmable config somewhere
+/*
+ * SMTP delivery retry and give-up times
  */
-#define POP3_PORT              110
-#define SMTP_PORT              25
+#define        SMTP_RETRY_INTERVAL     900     /* retry sends every 15 minutes */
+#define SMTP_GIVE_UP           432000  /* give up after 5 days */
 
 
 /*
 #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__"