* Replaced all "Citadel/UX" references with "Citadel"
[citadel.git] / citadel / sysconfig.h
index 611877f1f1bf815baea16f4946a2abddeeee8ac9..76f2855dc8e56a9fceaddc40243c7fcdcbc9584c 100644 (file)
@@ -6,7 +6,7 @@
 /****************************************************************************/
 /*                  YOUR SYSTEM CONFIGURATION                               */
 /* Set all the values in this file appropriately BEFORE compiling any of the*/
-/* C programs. If you are upgrading from an older version of Citadel/UX, it */
+/* C programs. If you are upgrading from an older version of Citadel, it */
 /* is vitally important that the #defines which are labelled "structure size*/
 /* variables" are EXACTLY the same as they were in your old system,         */
 /* 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.
- * You can now run setup whenever you want, and change lots of parameters
- * without having to recompile the whole system!
+/*
+ * NOTE: this file is for client software tuning, not customization.  For
+ * making changes to the behavior of the client, you want to edit citadel.rc,
+ * not this file.
  */
 
 /*
@@ -26,7 +25,7 @@
  * your system, define CHATLOG to the filename to be saved to.  Otherwise,
  * set CHATLOG to "/dev/null".
  */
-#define CHATLOG                "chat.log"
+#define CHATLOG                "/dev/null"
 
 /* 
  * S_KEEPALIVE is a watchdog timer.  It is used to send "keep
  */
 #define S_KEEPALIVE    30
 
-/*
- * This is the command that gets executed when a user hits <E>nter message:
- * presses the <E>nter message key.  The possible values are:
- *   46 - .<E>nter message with <E>ditor
- *   4  - .<E>nter <M>essage
- *   36 - .<E>nter message with <A>scii
- * Normally, this value will be set to 4, to cause the <E>nter message
- * command to run Citadel's built-in editor.  However, if you have an external
- * 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
-
-
 /*
  * Logging level to use if none is specified on the command line.
+ * Note that this will suppress messages before they even get to syslog().
  */
-#define DEFAULT_VERBOSITY      9
+#define DEFAULT_VERBOSITY      7
 
 
 
  */
 #define SIZ            4096
 
+/*
+ * If the body of a message is beyond this size, it will be stored in
+ * a separate table.
+ */
+#define BIGMSG         1024
+
 /*
  * SMTP delivery retry rules (all values are in seconds)
  *
@@ -92,9 +84,9 @@
 #define SMTP_GIVE_UP           432000  /* 5 days */
 
 /*
- * How often to run the networker
+ * Who bounced messages appear to be from
  */
-#define NETWORK_QUEUE_FREQUENCY 3600   /* Once per hour */
+#define BOUNCESOURCE           "Citadel Mail Delivery Subsystem"
 
 /*
  * This variable defines the amount of network spool data that may be carried
  */
 #define BASEROOM               "Lobby"
 #define MAILROOM               "Mail"
+#define SENTITEMS              "Sent Items"
 #define AIDEROOM               "Aide"
 #define USERCONFIGROOM         "My Citadel Config"
-#define USERCALENDARROOM       "My Calendar"
+#define USERCALENDARROOM       "Calendar"
+#define USERTASKSROOM          "Tasks"
+#define USERCONTACTSROOM       "Contacts"
+#define USERNOTESROOM          "Notes"
 #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 */
+
+/*
+ * Pathnames for cryptographic goodness
+ */
+#define        CTDL_CRYPTO_DIR         BBSDIR "/keys"
+#define CTDL_KEY_PATH          CTDL_CRYPTO_DIR "/citadel.key"
+#define CTDL_CSR_PATH          CTDL_CRYPTO_DIR "/citadel.csr"
+#define CTDL_CER_PATH          CTDL_CRYPTO_DIR "/citadel.cer"