mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-12-10 06:52:40 +01:00
@@ -30,7 +30,7 @@ fi
|
|||||||
|
|
||||||
if [ "$SASL_AUTH" ]; then
|
if [ "$SASL_AUTH" ]; then
|
||||||
# setup tls
|
# 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
|
# generate the SASL password map
|
||||||
cat > /etc/postfix/sasl_passwd <<- EOF
|
cat > /etc/postfix/sasl_passwd <<- EOF
|
||||||
$RELAY $SASL_AUTH
|
$RELAY $SASL_AUTH
|
||||||
|
|||||||
Reference in New Issue
Block a user