]> code.citadel.org Git - citadel.git/blobdiff - citadel/sysconfig.h
* Removed the idle timer from the client. Dialup is dead.
[citadel.git] / citadel / sysconfig.h
index 7b749753a1766ce57762eca91ebe12d05b89a647..cc87725bcc68dd3be47c47603b04c1ce8e158c41 100644 (file)
@@ -1,3 +1,8 @@
+/*
+ * $Id$
+ *
+ */
+
 /****************************************************************************/
 /*                  YOUR SYSTEM CONFIGURATION                               */
 /* Set all the values in this file appropriately BEFORE compiling any of the*/
  */
 #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
-
 /* 
- * 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.
 #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
-
 
 /*
  * NLI is the string that shows up in a <W>ho's online listing for sessions
 #define MAXFLOORS      16
 
 
-/* 
- * These define what port to listen on for various services.
- * FIXME ... put this in a programmable config somewhere
+/*
+ * 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 POP3_PORT              110
-#define SMTP_PORT              25
+#define SIZ            4096
 
 /*
  * SMTP delivery retry and give-up times
- * FIXME ... put this in a programmable config somewhere
  */
 #define        SMTP_RETRY_INTERVAL     900     /* retry sends every 15 minutes */
-#define SMTP_GIVE_UP           259200  /* give up after 3 days */
+#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__"