From c6c75c5a1784035a978941f4cfb06f45ccb12ffb Mon Sep 17 00:00:00 2001 From: Joshua Tauberer Date: Mon, 15 Feb 2016 18:38:55 -0500 Subject: [PATCH] document the default values for delay_warning_time, maximal_queue_lifetime, bounce_queue_lifetime --- setup/mail-postfix.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/setup/mail-postfix.sh b/setup/mail-postfix.sh index f7f2e689..2dbf32a6 100755 --- a/setup/mail-postfix.sh +++ b/setup/mail-postfix.sh @@ -60,10 +60,8 @@ apt_install postfix postfix-pcre postgrey ca-certificates # * Set our name (the Debian default seems to be "localhost" but make it our hostname). # * Set the name of the local machine to localhost, which means xxx@localhost is delivered locally, although we don't use it. # * Set the SMTP banner (which must have the hostname first, then anything). -# * Set the delay_warning_time to 3 hours to inform users that their e-mail delivery is delayed. -# * The bounce_queue_lifetime refers to MAILER-DAEMON messages. Should be short and has no effect on regular mail. -# * Set maximal_queue_lifetime to 2 days. Server will try to send an undeliverable e-mail for the maximum of 2 days. - +# * 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 \ inet_interfaces=all \ myhostname=$PRIMARY_HOSTNAME \