|
@@ -266,7 +266,7 @@ chmod -R g+r /etc/postfix/dkim/* |
|
|
# Generate the OpenDKIM info: |
|
|
# Generate the OpenDKIM info: |
|
|
echo 'Configuring OpenDKIM...' |
|
|
echo 'Configuring OpenDKIM...' |
|
|
grep -q "$domain" /etc/postfix/dkim/keytable 2>/dev/null || |
|
|
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 || |
|
|
grep -q "$domain" /etc/postfix/dkim/signingtable 2>/dev/null || |
|
|
echo "*@$domain $subdom._domainkey.$domain" >> /etc/postfix/dkim/signingtable |
|
|
echo "*@$domain $subdom._domainkey.$domain" >> /etc/postfix/dkim/signingtable |
|
|