Browse Source

use real tabs

pull/29/head
Luke Smith 4 years ago
parent
commit
145a5e95d1
No known key found for this signature in database GPG Key ID: 4C50B54A911F6252
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      emailwiz.sh

+ 3
- 3
emailwiz.sh View File

@@ -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



Loading…
Cancel
Save