Browse Source

dkim location fixed, close #240

pull/255/head
Luke Smith 2 years ago
parent
commit
e8f52cebf8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      emailwiz.sh

+ 1
- 1
emailwiz.sh View File

@@ -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


Loading…
Cancel
Save