]> code.citadel.org Git - citadel.git/blobdiff - citadel/sysconfig.h
* Completed migrating the "netpoll" utility into the serv_network module.
[citadel.git] / citadel / sysconfig.h
index 745f9ca7ef8e9e4214edc0cf649104fbb5d85276..611877f1f1bf815baea16f4946a2abddeeee8ac9 100644 (file)
 #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     /* retry sends every 15 minutes */
-#define SMTP_GIVE_UP           432000  /* give up after 5 days */
+#define        SMTP_RETRY_INTERVAL     900     /* 15 minutes */
+#define SMTP_RETRY_MAX         43200   /* 12 hours */
+#define SMTP_GIVE_UP           432000  /* 5 days */
 
 /*
  * How often to run the networker
  */
 #define NETWORK_QUEUE_FREQUENCY 3600   /* Once per hour */
 
+/*
+ * 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
  */