split hostname from domain
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
7cabde4abd
commit
a5a37fd89b
1 changed files with 3 additions and 3 deletions
|
@ -8,10 +8,10 @@ case $1 in
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Reconfigure postfix according to environment
|
# Reconfigure postfix according to environment
|
||||||
postconf -e myhostname="${SUTTY}"
|
postconf -e myhostname="${DOMAIN}"
|
||||||
postconf -e mydomain="${SUTTY}"
|
postconf -e mydomain="${SUTTY}"
|
||||||
postconf -e smtpd_tls_key_file="/etc/letsencrypt/live/${SUTTY}/privkey.pem"
|
postconf -e smtpd_tls_key_file="/etc/letsencrypt/live/${DOMAIN}/privkey.pem"
|
||||||
postconf -e smtpd_tls_cert_file="/etc/letsencrypt/live/${SUTTY}/fullchain.pem"
|
postconf -e smtpd_tls_cert_file="/etc/letsencrypt/live/${DOMAIN}/fullchain.pem"
|
||||||
postconf -e smtpd_milters="inet:${RSPAMD}:11332,inet:opendkim:8891"
|
postconf -e smtpd_milters="inet:${RSPAMD}:11332,inet:opendkim:8891"
|
||||||
test -n "${NETWORKS}" && postconf -e mynetworks="${NETWORKS}"
|
test -n "${NETWORKS}" && postconf -e mynetworks="${NETWORKS}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue