~dricottone/container-images

8f164de44fcaf883fddeb5d12e5b6fed065eb0e3 — Dominic Ricottone 1 year, 4 months ago e75d58b
Addendum to re-fixing encryption
1 files changed, 1 insertions(+), 0 deletions(-)

M postfix/entrypoint.sh
M postfix/entrypoint.sh => postfix/entrypoint.sh +1 -0
@@ 8,6 8,7 @@ postmap /etc/postfix/sasl/sasl_passwd
sed -i /etc/postfix/main.cf -e "s/^mydomain.*/mydomain = ${DOMAIN}/"
sed -i /etc/postfix/main.cf -e "s/^myhostname.*/myhostname = ${HOSTNAME}.${DOMAIN}/"
sed -i /etc/postfix/main.cf -e "s/^mydestination.*/mydestination = \$mydomain, \$myhostname, ${DESTINATION}, localhost, localhost.localdomain/"
sed -i /etc/postfix/main.cf -e "s/^relay_domains.*/relay_domains = \$mydomain, \$myhostname, ${DESTINATION}/"

exec "$@"