From: Christian Heller Date: Wed, 28 Nov 2018 01:14:59 +0000 (+0100) Subject: WIP. X-Git-Url: https://plomlompom.com/repos/?p=config;a=commitdiff_plain;h=06196e55c1d465d38ab97cdca1ad896e686b682b WIP. --- diff --git a/all_new_2018/setup_mail.sh b/all_new_2018/setup_mail.sh index d65f0a7..a2b4f98 100755 --- a/all_new_2018/setup_mail.sh +++ b/all_new_2018/setup_mail.sh @@ -39,6 +39,8 @@ if [ "${domainwide}" = "domainwide" ]; then else sed -i 's/REPLACE_mydomain_if_domainwide_ECALPER//g' /etc/postfix/main.cf fi +# Since we re-set the iptables rules, we need to reload them. +iptables-restore /etc/iptables/rules.v4 # Some useful debconf selections. echo "postfix postfix/main_mailer_type string 'Internet Site'" | debconf-set-selections