From e3e66b7208b3564b90148619ae12d97cc71b5c79 Mon Sep 17 00:00:00 2001 From: Christoph Date: Thu, 29 Apr 2021 17:03:30 +0200 Subject: [PATCH] install_opendmarc.sh: forgit restarting postfix service if changed. --- install_opendmarc.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install_opendmarc.sh b/install_opendmarc.sh index 97ff2ac..e1843bb 100755 --- a/install_opendmarc.sh +++ b/install_opendmarc.sh @@ -379,6 +379,7 @@ if $(grep -q -E "^\s*non_smtpd_milters\s*=\s*.*opendkim.sock" /etc/postfix/main. /etc/postfix/main.cf > $log_file 2>&1 if [[ $? -eq 0 ]] ; then echo_ok + postfix_needs_restart=true else echo_failed error "$(cat $log_file)" @@ -423,6 +424,7 @@ if $(grep -q -E "^\s*-o\s+smtpd_milters\s*=\s*.*opendkim.sock" /etc/postfix/mast /etc/postfix/master.cf > $log_file 2>&1 if [[ $? -eq 0 ]] ; then echo_ok + postfix_needs_restart=true else echo_failed error "$(cat $log_file)"