]> code.citadel.org Git - citadel.git/blobdiff - citadel/sysconfig.h
* When sending mail, copy to the sender's "Sent Items>" room instead of to
[citadel.git] / citadel / sysconfig.h
index cc87725bcc68dd3be47c47603b04c1ce8e158c41..f2d79b21d69ef15930daeb3556aad28421b54bdb 100644 (file)
@@ -70,7 +70,6 @@
  */
 #define MAXFLOORS      16
 
-
 /*
  * 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
 #define SIZ            4096
 
 /*
- * SMTP delivery retry and give-up times
+ * SMTP delivery retry rules (all values are in seconds)
+ *
+ * If delivery of a message via SMTP is unsuccessful, Citadel will try again
+ * after SMTP_RETRY_INTERVAL seconds.  This interval will double after each
+ * unsuccessful delivery, up to a maximum of SMTP_RETRY_MAX seconds.  If no
+ * successful delivery has been accomplished after SMTP_GIVE_UP seconds, the
+ * message will be returned to its sender.
+ */
+#define        SMTP_RETRY_INTERVAL     900     /* 15 minutes */
+#define SMTP_RETRY_MAX         43200   /* 12 hours */
+#define SMTP_GIVE_UP           432000  /* 5 days */
+
+/*
+ * Who bounced messages appear to be from
  */
-#define        SMTP_RETRY_INTERVAL     900     /* retry sends every 15 minutes */
-#define SMTP_GIVE_UP           432000  /* give up after 5 days */
+#define BOUNCESOURCE           "Citadel Mail Delivery Subsystem"
 
+/*
+ * This variable defines the amount of network spool data that may be carried
+ * in one server transfer command.  For some reason, some networks get hung
+ * up on larger packet sizes.  We don't know why.  In any case, never set the
+ * packet size higher than 4096 or your server sessions will crash.
+ */
+#define IGNET_PACKET_SIZE      4000
 
 /*
  * The names of rooms which are automatically created by the system
  */
 #define BASEROOM               "Lobby"
 #define MAILROOM               "Mail"
+#define SENTITEMS              "Sent Items"
 #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__"
+
+/*
+ * How long (in seconds) to retain message entries in the use table
+ */
+#define USETABLE_RETAIN                604800L         /* 7 days */