diff options
author | Luke Smith <luke@lukesmith.xyz> | 2022-03-29 13:45:33 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-29 13:45:33 +0000 |
commit | 3716deadb2add40a2a6eb62e0b35f7164ebb34c8 (patch) | |
tree | 902556f21428c9221a650303abe9075d2cd84ae3 /emailwiz.sh | |
parent | 6cd64f5c2ee756956e5c3ab57edb68d9fd86e59c (diff) | |
parent | 8d63310c5fc93b2876b2d10d5a7a5056daf2e58a (diff) |
Merge pull request #158 from fabian-thomas/dev
use domain instead of @
Diffstat (limited to 'emailwiz.sh')
-rwxr-xr-x | emailwiz.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emailwiz.sh b/emailwiz.sh index 92c8c2e..e84289b 100755 --- a/emailwiz.sh +++ b/emailwiz.sh @@ -315,7 +315,7 @@ pgrep ufw >/dev/null && { ufw allow 993; ufw allow 465 ; ufw allow 587; ufw allo 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 |