emailwiz

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

commit 145a5e95d17a01019f9f0615f2b7ace7faa7e18f
parent d2293ce92c2996a76faa3071112617ec6a48a72c
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Mon, 22 Jun 2020 11:12:50 -0400

use real tabs

Diffstat:
Memailwiz.sh | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/emailwiz.sh b/emailwiz.sh @@ -273,9 +273,9 @@ for x in dovecot postfix opendkim spamassassin; do 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\\tv=spf1 mx a:$maildomain -all" +dkimentry="$subdom._domainkey.$domain TXT v=DKIM1; k=rsa; $pval" +dmarcentry="_dmarc.$domain TXT v=DMARC1; p=none; rua=mailto:dmarc@$domain; fo=1" +spfentry="@ TXT v=spf1 mx a:$maildomain -all" useradd -m -G mail dmarc