]> code.citadel.org Git - citadel.git/blobdiff - citadel/sysconfig.h
* Added support for protocols over Unix domain sockets.
[citadel.git] / citadel / sysconfig.h
index 3ce4597f87e514ffb5fca948d6931d33a2f09ebd..70e2162d8b3339f4beee2d76e480ac6c694abc45 100644 (file)
 #define HOUSEKEEPING_WAKEUP    60
 
 
+/*
+ * 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
 
-/*** STRUCTURE SIZE VARIABLES ***/
 
-/* You may NOT change this value once you set up your system.      */
-#define MAXFLOORS      16              /* Do not set higher than 127       */
+/* 
+ * These define what port to listen on for various services.
+ * FIXME ... put this in a programmable config somewhere
+ */
+#define POP3_PORT              110
+#define SMTP_PORT              25
 
-/*** END OF STRUCTURE SIZE VARIABLES ***/
+/*
+ * 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 */
 
 
 /* 
- * These define what port to listen on for various services.
- * FIX ... put this in a programmable config somewhere
+ * Pathname template to use for Unix domain sockets
  */
-#define POP3_PORT              1110
-#define SMTP_PORT              2525
+#define USOCKPATH              "/tmp/citadel%04x"
 
 
 /*