Topic: iptables fails
i've tested this on a few boxes and always get the same thing when starting iptables.
Flushing firewall rules: [ OK ]
Setting chains to policy ACCEPT: mangle filter [ OK ]
Unloading iptables modules: [ OK ]
Applying iptables firewall rules: iptables-restore: line 44 failed [FAILED]
here is the iptables config that iredmail sets up..
#
# Sample iptables rules. It should be localted at:
# /etc/sysconfig/iptables
#
# Shipped within iRedMail project:
# * http://iRedMail.googlecode.com/
#
*filter
:INPUT DROP [0:0]
:FORWARD DROP [0:0]
:OUTPUT ACCEPT [0:0]
# Keep state.
-A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
# http/https, smtp/smtps, pop3/pop3s, imap/imaps, ssh
-A INPUT -p tcp -m multiport --dport 80,443,25,465,110,995,143,993,587,465,22 -j ACCEPT
# Loop device.
-A INPUT -i lo -j ACCEPT
# http/https
#-A INPUT -p tcp -m multiport --dport 80,443 -j ACCEPT
# smtp/smtps
#-A INPUT -p tcp -m multiport --dport 25,465 -j ACCEPT
# pop3/pop3s
#-A INPUT -p tcp -m multiport --dport 110,995 -j ACCEPT
# imap/imaps
#-A INPUT -p tcp -m multiport --dport 143,993 -j ACCEPT
# ldap/ldaps
#-A INPUT -p tcp -m multiport --dport 389,636 -j ACCEPT
# ftp.
#-A INPUT -p tcp -m multiport --dport 21,20 -j ACCEPT
# ssh
#-A INPUT -p tcp --dport 22 -j ACCEPT
COMMIT
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.