diff --git a/abra.sh b/abra.sh index 8b65a43..ac50858 100644 --- a/abra.sh +++ b/abra.sh @@ -1,7 +1,7 @@ export PHP_UPLOADS_CONF_VERSION=v3 export ENTRYPOINT_CONF_VERSION=v2 export ENTRYPOINT_MAILRELAY_CONF_VERSION=v1 -export MSMTP_CONF_VERSION=v2 +export MSMTP_CONF_VERSION=v3 sub_wp() { CONTAINER=$(docker container ls -f "Name=${STACK_NAME}_app" --format '{{ .ID }}') diff --git a/msmtp.conf.tmpl b/msmtp.conf.tmpl index 5ea09ce..2c6fb33 100644 --- a/msmtp.conf.tmpl +++ b/msmtp.conf.tmpl @@ -1,6 +1,7 @@ account default host {{ env "SMTP_HOST" }} from {{ env "MAIL_FROM" }} +user {{ env "MAIL_FROM" }} port {{ env "SMTP_PORT" }} {{ if eq (env "SMTP_AUTH") "on" }}