set append_dot_domain
This commit is contained in:
parent
eeb6be696b
commit
183167d33e
1 changed files with 1 additions and 3 deletions
4
run.sh
4
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
|
||||
|
|
Loading…
Reference in a new issue