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