Update run.sh

Formatting.
This commit is contained in:
turboaaa 2019-01-16 13:09:56 -05:00 committed by GitHub
parent 22f46669db
commit d3f3316ccf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
run.sh
View File

@ -15,8 +15,8 @@ DOMAIN=`echo ${SERVER_HOSTNAME} |awk -F. '{$1="";OFS="." ; print $0}' | sed 's/^
# Set needed config options
postconf -e "myhostname = ${SERVER_HOSTNAME}"
postconf -e "mydomain = ${DOMAIN}"
postconf -e "mydestination = $myhostname"
postconf -e "myorigin = \$mydomain"
postconf -e 'mydestination = $myhostname'
postconf -e 'myorigin = $mydomain'
postconf -e "relayhost = [${SMTP_SERVER}]:${SMTP_PORT}"
postconf -e "smtp_use_tls = yes"
postconf -e "smtp_sasl_auth_enable = yes"