diff --git a/Dockerfile b/Dockerfile index e27d457..cc9e1d4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ #Dockerfile for a Postfix email relay service -FROM alpine:3.12 +FROM alpine:3.13 MAINTAINER Juan Luis Baptiste juan.baptiste@gmail.com RUN apk update && \ - apk add bash gawk cyrus-sasl cyrus-sasl-plain cyrus-sasl-login cyrus-sasl-crammd5 mailx \ + apk add bash gawk cyrus-sasl cyrus-sasl-login cyrus-sasl-crammd5 mailx \ perl supervisor postfix rsyslog && \ rm -rf /var/cache/apk/* && \ mkdir -p /var/log/supervisor/ /var/run/supervisor/ && \ diff --git a/run.sh b/run.sh index fa4e8b9..659cb27 100644 --- a/run.sh +++ b/run.sh @@ -34,7 +34,7 @@ add_config_value "myorigin" '$mydomain' add_config_value "relayhost" "[${SMTP_SERVER}]:${SMTP_PORT}" add_config_value "smtp_use_tls" "yes" add_config_value "smtp_sasl_auth_enable" "yes" -add_config_value "smtp_sasl_password_maps" "hash:/etc/postfix/sasl_passwd" +add_config_value "smtp_sasl_password_maps" "lmdb:/etc/postfix/sasl_passwd" add_config_value "smtp_sasl_security_options" "noanonymous" add_config_value "always_add_missing_headers" "${ALWAYS_ADD_MISSING_HEADERS:-no}"