Hello,
I'm having problems sending mail from my server. I can overcome the problem
if I set the policy on my INPUT table to ACCEPT, but for several reasons I
prefer to have the policy set to DROP. My IPTABLES policy statements are as
follows:
IPTABLES -P INPUT DROP
IPTABLES -P FORWARD ACCEPT
IPTABLES -P OUTPUT ACCEPT
When I change the policy to ACCEPT on the input chain I can send mail fine
but when I set to policy to DROP the mail gets hung up in the mail queue. I
added the following rules:
IPTABLES -A INPUT -p tcp --dport 25 -j ACCEPT
IPTABLES -A -i lo -m state --state NEW -j ACCEPT
but still can't send mail which originates locally when I set the policy on
the INPUT chain to DROP. I'm sure this is something simple but I've been
unable to find any FAQ's that address this issue.
Help!
Thanks,
Patrick