diff options
author | Luke Smith <Luke Smith> | 2022-07-01 18:43:54 -0400 |
---|---|---|
committer | Luke Smith <Luke Smith> | 2022-07-01 18:43:54 -0400 |
commit | ab62f850027a345894de15350c726d1cbbc49be1 (patch) | |
tree | 0cd57ca3226916f2552fa959a25c7ebd42072b02 | |
parent | aa6271b438a7c010cff3b0187d260aaa6927c4ec (diff) | |
parent | e40c0c418f71f8eb5218f2ec247eabb456194eab (diff) |
Merge branch 'master' of github.com:LukeSmithxyz/emailwiz
-rwxr-xr-x | emailwiz.sh | 2 |
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" |