summaryrefslogtreecommitdiff
path: root/emailwiz.sh
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2023-03-01 12:27:05 +0000
committerGitHub <noreply@github.com>2023-03-01 12:27:05 +0000
commit2c925e2c2dd9de8f4b574a9e78f8de798036bd38 (patch)
tree1cc27f7074aa158db9e0cfd0c23d104dbb5f96a0 /emailwiz.sh
parentcaedebe4989233ffffeb2606d8ba581d44bf0e18 (diff)
parent11f47826c922b890bebc6bfe50607fd12df54f75 (diff)
Merge pull request #263 from aleksav013/patch-1
Reverse DNS does not match SMTP Banner
Diffstat (limited to 'emailwiz.sh')
-rw-r--r--emailwiz.sh2
1 files changed, 1 insertions, 1 deletions
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'