summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Smith <Luke Smith>2022-07-01 18:43:54 -0400
committerLuke Smith <Luke Smith>2022-07-01 18:43:54 -0400
commitab62f850027a345894de15350c726d1cbbc49be1 (patch)
tree0cd57ca3226916f2552fa959a25c7ebd42072b02
parentaa6271b438a7c010cff3b0187d260aaa6927c4ec (diff)
parente40c0c418f71f8eb5218f2ec247eabb456194eab (diff)
Merge branch 'master' of github.com:LukeSmithxyz/emailwiz
-rwxr-xr-xemailwiz.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/emailwiz.sh b/emailwiz.sh
index 0fdd8a4..0141219 100755
--- a/emailwiz.sh
+++ b/emailwiz.sh
@@ -312,7 +312,7 @@ done
# If ufw is used, enable the mail ports.
pgrep ufw >/dev/null && { ufw allow 993; ufw allow 465 ; ufw allow 587; ufw allow 25 ;}
-pval="$(tr -d '\n' </etc/postfix/dkim/"$subdom".txt | sed 's/k=rsa.* \"p=/k=rsa; p=/;s/\"\s*\"//;s/\"\s*).*//' | grep -o 'p=.*')"
+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="$domain TXT v=spf1 mx a:$maildomain -all"