]> git.ipfire.org Git - people/ms/dma.git/commitdiff
increase remote connection timeout to match RFC5321
authorSimon Schubert <2@0x2c.org>
Wed, 30 Jun 2010 22:31:50 +0000 (00:31 +0200)
committerSimon Schubert <2@0x2c.org>
Wed, 30 Jun 2010 22:39:25 +0000 (00:39 +0200)
dma.h

diff --git a/dma.h b/dma.h
index 2b5cd259aa22d0be47465203e4c5baf10b54b4f3..8422b89d4b18f02b3531941eb63fdb03092b80cd 100644 (file)
--- a/dma.h
+++ b/dma.h
@@ -54,7 +54,7 @@
 #define PATH_MAX       1024            /* Max path len */
 #endif
 #define        SMTP_PORT       25              /* Default SMTP port */
-#define CON_TIMEOUT    120             /* Connection timeout */
+#define CON_TIMEOUT    (5*60)          /* Connection timeout per RFC5321 */
 
 #define STARTTLS       0x002           /* StartTLS support */
 #define SECURETRANS    0x004           /* SSL/TLS in general */