only iptables problem left. anyone?
Hi, I notice the problem of mails in my mail queue exim not sending out is because of connection refused when I attempt to deliver them from my mail queue. I think it is my iptables that is stopping the connection. whenever i restart my server, the default iptables below will be loaded, and only when I run iptables --flush, then can the mails be sent out from my mail queue.can someone advise what to do to my iptables and how to saved the changes so that whenever reboot, my mails can be send out properly and not stuck in mail queue again? thank you! on a VPS.
"Chain INPUT (policy ACCEPT)
target prot opt source destination
acctboth all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere localhost tcp dpt

REJECT tcp -- anywhere anywhere tcp dpt

acctboth all -- anywhere anywhere
Chain acctboth (2 references)
target prot opt source destination
tcp -- webserver.apc.sg anywhere tcp dpt:http
tcp -- anywhere webserver.apc.sg tcp spt:http
tcp -- webserver.apc.sg anywhere tcp dpt

tcp -- anywhere webserver.apc.sg tcp spt

tcp -- webserver.apc.sg anywhere tcp dpt:pop3
tcp -- anywhere webserver.apc.sg tcp spt:pop3
icmp -- webserver.apc.sg anywhere
icmp -- anywhere webserver.apc.sg
tcp -- webserver.apc.sg anywhere
tcp -- anywhere webserver.apc.sg
udp -- webserver.apc.sg anywhere
udp -- anywhere webserver.apc.sg
all -- webserver.apc.sg anywhere
all -- anywhere webserver.apc.sg
tcp -- apc.sg anywhere tcp dpt:http
tcp -- anywhere apc.sg tcp spt:http
tcp -- apc.sg anywhere tcp dpt

tcp -- anywhere apc.sg tcp spt

tcp -- apc.sg anywhere tcp dpt:pop3
tcp -- anywhere apc.sg tcp spt:pop3
icmp -- apc.sg anywhere
icmp -- anywhere apc.sg
tcp -- apc.sg anywhere
tcp -- anywhere apc.sg
udp -- apc.sg anywhere
udp -- anywhere apc.sg
all -- apc.sg anywhere
all -- anywhere apc.sg
all -- anywhere anywhere"