Skip to content

Commit 49c072d

Browse files
committed
update postfix compatibility_level
1 parent 199f4a5 commit 49c072d

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

app/run.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -139,18 +139,19 @@ if [ "${AUTHORIZED_KEYS}" != "**None**" ]; then
139139
done
140140
fi
141141

142-
# Postfix uses remote testing mail server which holds email(s) from being released into the REAL Internet
143-
postconf -e "myhostname = dev-build.htmlgraphic.com"
142+
# Postfix uses a DEV test mail server which holds email(s) from being released into the REAL Internet
143+
postconf -e "compatibility_level=2"
144+
postconf -e "myhostname=dev-build.htmlgraphic.com"
144145
postconf -e 'mail_spool_directory="/var/spool/mail/"'
145146
postconf -e 'mydestination="localhost.localdomain localhost"'
146147
postconf -e "mydomain=htmlgraphic.com"
147-
postconf -e "relayhost = [${SMTP_HOST}]:587"
148+
postconf -e "relayhost=[${SMTP_HOST}]:587"
148149
postconf -e "smtp_sasl_auth_enable=yes"
149-
postconf -e "smtp_sasl_password_maps = static:${SASL_USER}:${SASL_PASS}"
150+
postconf -e "smtp_sasl_password_maps=static:${SASL_USER}:${SASL_PASS}"
150151
postconf -e "smtp_sasl_security_options=noanonymous"
151152
postconf -e "smtp_tls_security_level=encrypt"
152153
postconf -e "header_size_limit=4096000"
153-
postconf -e "inet_protocols = ipv4"
154+
postconf -e "inet_protocols=ipv4"
154155

155156
# Postfix is not using /etc/resolv.conf is because it is running inside a chroot jail, needs its own copy.
156157
cp /etc/resolv.conf /var/spool/postfix/etc/resolv.conf

0 commit comments

Comments
 (0)