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"