From 8f164de44fcaf883fddeb5d12e5b6fed065eb0e3 Mon Sep 17 00:00:00 2001 From: Dominic Ricottone Date: Thu, 29 Jun 2023 16:59:14 -0500 Subject: [PATCH] Addendum to re-fixing encryption --- postfix/entrypoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/postfix/entrypoint.sh b/postfix/entrypoint.sh index 30fe1d0..5f03951 100644 --- a/postfix/entrypoint.sh +++ b/postfix/entrypoint.sh @@ -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 "$@" -- 2.45.2