Closed tazboyz16 closed 6 years ago
Look into having installer Scripts open ports at the end of install to prevent unwanted ports open
Iptables has issues if theres an empty line space at the end of file rather then seeing COMMIT Just have to find a solution to remove the line on install
#Added the iptable list and removes COMMIT and readds it for IPTables has issues if theres a whitespace with/after COMMIT line
cat /opt/install/Iredmail/iptables.rules > /etc/default/iptables
sudo sed -i "$d" /etc/default/iptables
echo "COMMIT" >> /etc/default/iptables
/etc/init.d/iptables restart
issue resolved
Iptables adding to default config with iredamil ends with fail https://hostingwikipedia.com/install-iredmail-ubuntu-14-04/