diff --git a/emailwiz.sh b/emailwiz.sh index ef8d283..c9cf574 100644 --- a/emailwiz.sh +++ b/emailwiz.sh @@ -286,7 +286,7 @@ sed -i '/^SOCKET/d' /etc/default/opendkim && echo "SOCKET=\"inet:12301@localhost echo 'Configuring Postfix with OpenDKIM settings...' postconf -e 'smtpd_sasl_security_options = noanonymous, noplaintext' postconf -e 'smtpd_sasl_tls_security_options = noanonymous' -postconf -e "myhostname = $domain" +postconf -e "myhostname = $maildomain" postconf -e 'milter_default_action = accept' postconf -e 'milter_protocol = 6' postconf -e 'smtpd_milters = inet:localhost:12301'