emailwiz

Script for setting up an email server automatically
Log | Files | Refs | README

commit adc6641c2e1750d6ffbdff64517ab5b8864c9991
parent 6338dbf592cafd75317fe854672ab3f61f464d1b
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Sat, 20 Jun 2020 18:01:12 -0400

fix

Diffstat:
Memailwiz.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/emailwiz.sh b/emailwiz.sh @@ -275,7 +275,7 @@ done pval="$(tr -d "\n" </etc/postfix/dkim/mail.txt | sed "s/k=rsa.* \"p=/k=rsa; p=/;s/\"\s*\"//;s/\"\s*).*//" | grep -o "p=.*")" dkimentry="$subdom._domainkey.$domain\\tTXT\\tv=DKIM1; k=rsa; $pval" dmarcentry="_dmarc.$domain\\tTXT\\tv=DMARC1; p=none; rua=mailto:dmarc@$domain; fo=1" -spfentry="@\\tTXT\\ttv=spf1 mx a:$maildomain -all" +spfentry="@\\tTXT\\tv=spf1 mx a:$maildomain -all" useradd -m -G mail dmarc