diff options
author | Luke Smith <luke@lukesmith.xyz> | 2024-03-29 13:07:20 -0400 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2024-03-29 13:07:20 -0400 |
commit | 58fe9ae27648a2aab315deef25078c54e48525b8 (patch) | |
tree | e13c2747fc7d0c662328806ede76b0ea41b896cf | |
parent | 30898eabd9fd49dddc888e11e85b37de15ec390b (diff) |
dmarc to postmaster
-rw-r--r-- | emailwiz.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emailwiz.sh b/emailwiz.sh index f3005ae..ddfbc13 100644 --- a/emailwiz.sh +++ b/emailwiz.sh @@ -359,7 +359,7 @@ done pval="$(tr -d '\n' <"/etc/postfix/dkim/$domain/$subdom.txt" | sed "s/k=rsa.* \"p=/k=rsa; p=/;s/\"\s*\"//;s/\"\s*).*//" | grep -o 'p=.*')" dkimentry="$subdom._domainkey.$domain TXT v=DKIM1; k=rsa; $pval" -dmarcentry="_dmarc.$domain TXT v=DMARC1; p=reject; rua=mailto:dmarc@$domain; fo=1" +dmarcentry="_dmarc.$domain TXT v=DMARC1; p=reject; rua=mailto:postmaster@$domain; fo=1" spfentry="$domain TXT v=spf1 mx a:$maildomain ip4:$ipv4 ip6:$ipv6 -all" mxentry="$domain MX 10 $maildomain 300" |