home · contact · privacy
WIP.
authorChristian Heller <c.heller@plomlompom.de>
Wed, 28 Nov 2018 01:14:59 +0000 (02:14 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Wed, 28 Nov 2018 01:14:59 +0000 (02:14 +0100)
all_new_2018/setup_mail.sh

index d65f0a75295e4a334f8456fd702477f9c16a0e80..a2b4f987335e0cc4d7377017e233c3c2bda89c4e 100755 (executable)
@@ -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