diff options
author | Fabian Thomas <fabithomi@web.de> | 2021-08-06 13:19:51 +0200 |
---|---|---|
committer | Fabian Thomas <fabithomi@web.de> | 2021-08-06 13:19:51 +0200 |
commit | 8d63310c5fc93b2876b2d10d5a7a5056daf2e58a (patch) | |
tree | c3b2d86be392081074e85f947f5e1a7e529c3a61 | |
parent | 1835ea2eb68ba46493e7bbd3c66fa518f993e375 (diff) |
use domain instead of @
-rwxr-xr-x | emailwiz.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emailwiz.sh b/emailwiz.sh index 86861c1..f3dcf3f 100755 --- a/emailwiz.sh +++ b/emailwiz.sh @@ -293,7 +293,7 @@ service ufw stop pval="$(tr -d "\n" </etc/postfix/dkim/$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" -spfentry="@ TXT v=spf1 mx a:$maildomain -all" +spfentry="$domain TXT v=spf1 mx a:$maildomain -all" useradd -m -G mail dmarc |