From 183167d33e6fcc06d8a924646ea3d11ea3197302 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Tue, 31 Oct 2023 10:30:45 +0100 Subject: [PATCH] set append_dot_domain --- run.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/run.sh b/run.sh index 57743c3..ad839a6 100644 --- a/run.sh +++ b/run.sh @@ -32,6 +32,7 @@ add_config_value "myhostname" ${SERVER_HOSTNAME} add_config_value "mydomain" ${DOMAIN} add_config_value "mydestination" "${DESTINATION:-localhost}" add_config_value "myorigin" '$mydomain' +add_config_value "append_dot_mydomain" 'no' add_config_value "relayhost" "[${SMTP_SERVER}]:${SMTP_PORT}" add_config_value "smtp_use_tls" "yes" if [ ! -z "${SMTP_USERNAME}" ]; then @@ -49,9 +50,6 @@ if [ "${SMTP_PORT}" = "465" ]; then add_config_value "smtp_tls_security_level" "encrypt" fi -# Bind to both IPv4 and IPv4 -add_config_value "inet_protocols" "all" - # Create sasl_passwd file with auth credentials if [ ! -f /etc/postfix/sasl_passwd -a ! -z "${SMTP_USERNAME}" ]; then grep -q "${SMTP_SERVER}" /etc/postfix/sasl_passwd > /dev/null 2>&1