diff options
author | Luke Smith <luke@lukesmith.xyz> | 2022-07-01 18:32:31 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-01 18:32:31 -0400 |
commit | e40c0c418f71f8eb5218f2ec247eabb456194eab (patch) | |
tree | 3553fa4bc64920d828ac4be6511a35eb2ef38065 /emailwiz.sh | |
parent | c00894c12638932200bab0630df9045ad3bf0d76 (diff) | |
parent | d449a17de88dd31ba7738ba4af7fce4a905a7494 (diff) |
Merge pull request #215 from simo981/patch-1
Typo in my last merge
Diffstat (limited to 'emailwiz.sh')
-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" |