X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=all_new_2018%2Fsetup_mail.sh;h=a2b4f987335e0cc4d7377017e233c3c2bda89c4e;hb=06196e55c1d465d38ab97cdca1ad896e686b682b;hp=d65f0a75295e4a334f8456fd702477f9c16a0e80;hpb=2279599a597e4dac6e5892670847ef977513b110;p=config 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