mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
postfix
Signed-off-by: Jess Frazelle <acidburn@google.com>
This commit is contained in:
parent
dbf5c31724
commit
c40d4241a1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user