From 347af34f30a8af0c71287ec95c01f08563f04a2d Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Fri, 1 Jul 2022 19:15:26 -0400 Subject: [PATCH] fix #205 --- emailwiz.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/emailwiz.sh b/emailwiz.sh index f9613c7..5b45f03 100755 --- a/emailwiz.sh +++ b/emailwiz.sh @@ -319,6 +319,10 @@ spfentry="$domain TXT v=spf1 mx a:$maildomain -all" useradd -m -G mail dmarc +grep -q "^deploy-hook = postfix reload" /etc/letsencrypt/cli.ini || + echo " +deploy-hook = service postfix reload && service dovecot reload" >> /etc/letsencrypt/cli.ini + echo "$dkimentry $dmarcentry $spfentry" > "$HOME/dns_emailwizard"