merge #685 - tweak postfix mail queue/warn/bounce times

This commit is contained in:
Joshua Tauberer 2016-02-15 18:42:03 -05:00
commit 87d3f2641d
2 changed files with 9 additions and 0 deletions

View file

@ -5,6 +5,7 @@ In Development
--------------
* Roundcube updated to version 1.1.4.
* When there's a problem deliverying an outgoing message, a new 'warning' bounce will come after 3 hours and the box will stop trying after 2 days (instead of 5).
* On multi-homed machines, Postfix now binds to the right network interface when sending outbound mail so that SPF checks on the receiving end will pass.
* TLS certificate provisioning would crash if DNS propagation was in progress and a challenge failed.
* Backup times were displayed with the wrong time zone.

View file

@ -69,6 +69,14 @@ tools/editconf.py /etc/postfix/main.cf \
smtpd_banner="\$myhostname ESMTP Hi, I'm a Mail-in-a-Box (Ubuntu/Postfix; see https://mailinabox.email/)" \
mydestination=localhost
# Tweak some queue settings:
# * Inform users when their e-mail delivery is delayed more than 3 hours (default is not to warn).
# * Stop trying to send an undeliverable e-mail after 2 days (instead of 5), and for bounce messages just try for 1 day.
tools/editconf.py /etc/postfix/main.cf \
delay_warning_time=3h \
maximal_queue_lifetime=2d \
bounce_queue_lifetime=1d
# ### Outgoing Mail
# Enable the 'submission' port 587 smtpd server and tweak its settings.