Fix issue #45: Update alpine image to v3.13, had to remove cyrus-sasl-plain
package as is not present on that version and switch sasl map from hash to lmdb.
This commit is contained in:
parent
b4293f81be
commit
1976cf8400
2 changed files with 3 additions and 3 deletions
|
@ -1,9 +1,9 @@
|
||||||
#Dockerfile for a Postfix email relay service
|
#Dockerfile for a Postfix email relay service
|
||||||
FROM alpine:3.12
|
FROM alpine:3.13
|
||||||
MAINTAINER Juan Luis Baptiste juan.baptiste@gmail.com
|
MAINTAINER Juan Luis Baptiste juan.baptiste@gmail.com
|
||||||
|
|
||||||
RUN apk update && \
|
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 && \
|
perl supervisor postfix rsyslog && \
|
||||||
rm -rf /var/cache/apk/* && \
|
rm -rf /var/cache/apk/* && \
|
||||||
mkdir -p /var/log/supervisor/ /var/run/supervisor/ && \
|
mkdir -p /var/log/supervisor/ /var/run/supervisor/ && \
|
||||||
|
|
2
run.sh
2
run.sh
|
@ -34,7 +34,7 @@ add_config_value "myorigin" '$mydomain'
|
||||||
add_config_value "relayhost" "[${SMTP_SERVER}]:${SMTP_PORT}"
|
add_config_value "relayhost" "[${SMTP_SERVER}]:${SMTP_PORT}"
|
||||||
add_config_value "smtp_use_tls" "yes"
|
add_config_value "smtp_use_tls" "yes"
|
||||||
add_config_value "smtp_sasl_auth_enable" "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 "smtp_sasl_security_options" "noanonymous"
|
||||||
add_config_value "always_add_missing_headers" "${ALWAYS_ADD_MISSING_HEADERS:-no}"
|
add_config_value "always_add_missing_headers" "${ALWAYS_ADD_MISSING_HEADERS:-no}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue