From c40d4241a146ee9ad8b177bf14eb570c2f302735 Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Tue, 10 Jan 2017 16:38:05 -0800 Subject: [PATCH] postfix Signed-off-by: Jess Frazelle --- postfix/service/postfix/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postfix/service/postfix/run b/postfix/service/postfix/run index 15bde07..2cbc239 100755 --- a/postfix/service/postfix/run +++ b/postfix/service/postfix/run @@ -30,7 +30,7 @@ fi if [ "$SASL_AUTH" ]; then # setup tls - echo -e "smtp_tls_security_level = encrypt\nsmtp_sasl_auth_enable = yes\nsmtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd\nsmtp_sasl_security_options = noanonymous" >> /etc/postfix/main.cf + echo -e "smtp_sasl_auth_enable = yes\nsmtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd\nsmtp_sasl_security_options = noanonymous\nsmtp_use_tls = yes" >> /etc/postfix/main.cf # generate the SASL password map cat > /etc/postfix/sasl_passwd <<- EOF $RELAY $SASL_AUTH