diff options
author | Luke Smith <Luke Smith> | 2022-07-01 19:15:26 -0400 |
---|---|---|
committer | Luke Smith <Luke Smith> | 2022-07-01 19:15:26 -0400 |
commit | 347af34f30a8af0c71287ec95c01f08563f04a2d (patch) | |
tree | 54d97d94eeae64139ac79cc19261a18238f5143f | |
parent | f2d10c4af65089623da01a0985623cdfd22d6ae3 (diff) |
fix #205
-rwxr-xr-x | emailwiz.sh | 4 |
1 files changed, 4 insertions, 0 deletions
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" |