diff --git a/README.md b/README.md index 306fc35..02074ec 100644 --- a/README.md +++ b/README.md @@ -129,7 +129,7 @@ this script or documentation has saved you some frustration, donate here: ## Sites for Troubleshooting -Can send or receive mail? Getting marked as spam? There are tools to double-check your DNS records and more: +Can't send or receive mail? Getting marked as spam? There are tools to double-check your DNS records and more: - Always check `journalctl -xe` first for specific errors. - [Check your DNS](https://intodns.com/) diff --git a/emailwiz.sh b/emailwiz.sh index 01257a6..6681dc9 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'