summaryrefslogtreecommitdiff
path: root/emailwiz.sh
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2022-10-09 15:28:43 -0400
committerLuke Smith <luke@lukesmith.xyz>2022-10-09 15:28:43 -0400
commite8f52cebf81d7f1e4202111efd95f74d4b4c088d (patch)
treef9c65ea548de4704e91651c07ce4f8aed304fd88 /emailwiz.sh
parent0d8e3cc32ce0f96a2d1470dce859a0eb17986b1d (diff)
dkim location fixed, close #240
Diffstat (limited to 'emailwiz.sh')
-rwxr-xr-xemailwiz.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/emailwiz.sh b/emailwiz.sh
index e9fb562..afb5c24 100755
--- a/emailwiz.sh
+++ b/emailwiz.sh
@@ -266,7 +266,7 @@ chmod -R g+r /etc/postfix/dkim/*
# Generate the OpenDKIM info:
echo 'Configuring OpenDKIM...'
grep -q "$domain" /etc/postfix/dkim/keytable 2>/dev/null ||
-echo "$subdom._domainkey.$domain $domain:$subdom:/etc/postfix/dkim/$subdom.private" >> /etc/postfix/dkim/keytable
+echo "$subdom._domainkey.$domain $domain:$subdom:/etc/postfix/dkim/$domain/$subdom.private" >> /etc/postfix/dkim/keytable
grep -q "$domain" /etc/postfix/dkim/signingtable 2>/dev/null ||
echo "*@$domain $subdom._domainkey.$domain" >> /etc/postfix/dkim/signingtable