install_postfix_advanced.sh, install_postfwd.sh: minor changes.

This commit is contained in:
Christoph 2022-09-17 01:09:40 +02:00
parent e786c78a8b
commit 352b59c997
2 changed files with 8 additions and 8 deletions

View File

@ -1139,7 +1139,7 @@ else
fi
echononl " Create configuration file '/etc/postfix/postfwd.cf'.."
#if [[ ! -f "/etc/postfix/postfwd.cf" ]]; then
if [[ ! -f "/etc/postfix/postfwd.cf" ]]; then
cat << EOF > /etc/postfix/postfwd.cf
#======= Definitions ============
@ -1283,9 +1283,9 @@ EOF
else
echo_failed
fi
#else
# echo_skipped
#fi
else
echo_skipped
fi
echononl " Enable Postfix firewall daemon at boot time .."
if $systemd_exists ; then

View File

@ -326,7 +326,7 @@ else
fi
echononl " Create configuration file '/etc/postfix/postfwd.cf'.."
if [[ ! -f "/etc/postfix/postfwd.cf" ]]; then
#if [[ ! -f "/etc/postfix/postfwd.cf" ]]; then
cat << EOF > /etc/postfix/postfwd.cf
#======= Definitions ============
@ -470,9 +470,9 @@ EOF
else
echo_failed
fi
else
echo_skipped
fi
#else
# echo_skipped
#fi
echononl " Restart Postfix firewall daemon 'postfwd'.."
if $systemd_exists ; then