View Single Post

  #1 (permalink)  
Old 07-21-2004
Dave Harman
 
Posts: n/a
Default Sendmail can't send mail when Iptables is on

Hi,

I run Sendmail 8.12 on a RH 9 box

When IPtables is on, Sendmail can receive mail OK
no problem. But I can't send any mail unless I turn Iptables
off. I have coding in the firewall script that allows SMTP in and out.

When I try to send something out, I do a iptables -L -n -v and save
the output. I can see a small number od packets sent out to port 25
of mail recipient, but nothing comes back. As soon as I turn off Iptables
the mail goes right out.

Would appreciate any thoughts

Thanks !

Dave Harman
Reply With Quote