From 06196e55c1d465d38ab97cdca1ad896e686b682b Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Wed, 28 Nov 2018 02:14:59 +0100
Subject: [PATCH] WIP.

---
 all_new_2018/setup_mail.sh | 2 ++
 1 file changed, 2 insertions(+)

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
-- 
2.30.2