summaryrefslogtreecommitdiffstats
path: root/roles/IMAP/templates
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2014-07-04 23:06:41 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:52:30 +0200
commit85e90fece41e0dadb19087a44c4eec8b76c9d5dd (patch)
treee769ad22ac00949d64163b8c8e55683e0338f01f /roles/IMAP/templates
parent379a4b157c50645bdc7bb134b245bdd6e4938061 (diff)
Increase the timeout in the smtpd waiting for the reinjection from amavis.
SMTP client connection caching was introduced in 2.6.0: the SMTP session is held for the next task (in adaptative mode, only when there was a delay of only 5s between the two previous mails), but Postfix will terminate it if the next mail doesn't come soon enough, or if amavis does't terminate it itself (usually after 15s).
Diffstat (limited to 'roles/IMAP/templates')
-rw-r--r--roles/IMAP/templates/etc/postfix/main.cf.j22
1 files changed, 0 insertions, 2 deletions
diff --git a/roles/IMAP/templates/etc/postfix/main.cf.j2 b/roles/IMAP/templates/etc/postfix/main.cf.j2
index 1f1f990..5758146 100644
--- a/roles/IMAP/templates/etc/postfix/main.cf.j2
+++ b/roles/IMAP/templates/etc/postfix/main.cf.j2
@@ -59,8 +59,6 @@ recipient_canonical_maps = pcre:$config_directory/recipient_canonical.pcre
# Don't rewrite remote headers
local_header_rewrite_clients =
-# Tolerate occasional high latency
-smtpd_timeout = 1200s
relay_clientcerts = cdb:$config_directory/relay_clientcerts