Skip to content

Commit

Permalink
Drop exit check
Browse files Browse the repository at this point in the history
  • Loading branch information
djjudas21 committed Nov 11, 2024
1 parent 04a27c0 commit 768d068
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smtp-relay.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ SMTP_TLS_SECURITY_LEVEL=${SMTP_TLS_SECURITY_LEVEL?Missing env var SMTP_TLS_SECUR


# handle sasl
[ -w /etc/postfix/sasl_passwd ] && echo "${SMTP_RELAY_HOST} ${SMTP_RELAY_USERNAME}:${SMTP_RELAY_PASSWORD}" > /etc/postfix/sasl_passwd || exit 1
[ -w /etc/postfix/sasl_passwd ] && echo "${SMTP_RELAY_HOST} ${SMTP_RELAY_USERNAME}:${SMTP_RELAY_PASSWORD}" > /etc/postfix/sasl_passwd
postmap /etc/postfix/sasl_passwd || exit 1

postconf 'smtp_sasl_auth_enable = yes' || exit 1
Expand Down

0 comments on commit 768d068

Please sign in to comment.