]> code.citadel.org Git - citadel.git/blobdiff - citadel/sysconfig.h
* Properly handle all aliases specified in network/mail.aliases for incoming
[citadel.git] / citadel / sysconfig.h
index 6726a7fd0635082e68db3760d87ad4b4c11fd8f2..9f9d6626f5a3bf7099191701b20922a47a505117 100644 (file)
@@ -7,6 +7,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 +21,7 @@
  * your system, define CHATLOG to the filename to be saved to.  Otherwise,
  * set CHATLOG to "/dev/null".
  */
-#define CHATLOG                "/dev/null"
+#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 ***/
 
-/* You may NOT change this value once you set up your system.      */
-#define MAXFLOORS      16              /* Do not set higher than 127       */
+/*
+ * 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)"
 
-/*** END OF STRUCTURE SIZE VARIABLES ***/
+/*
+ * 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
+
+
+/* 
+ * These define what port to listen on for various services.
+ * FIXME ... put this in a programmable config somewhere
+ */
+#define POP3_PORT              1110
+#define SMTP_PORT              2525
+
+/*
+ * 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 */
+
+
+/*
+ * 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 SYSCONFIGROOM          "Local System Configuration"
+#define SMTP_SPOOLOUT_ROOM     "__CitadelSMTPspoolout__"