View Single Post

  #2 (permalink)  
Old 07-21-2004
Tim Haynes
 
Posts: n/a
Default Re: Sendmail can't send mail when Iptables is on

dharman@lin-nett.com (Dave Harman) writes:

> 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


How about a log from iptables showing what packets you're dropping?

~Tim
--
12:54:04 up 12:04, 7 users, load average: 0.14, 0.09, 0.02
piglet@stirfried.vegetable.org.uk |There's peat smoke rising
http://spodzone.org.uk/cesspit/ |From the village chimneys
Reply With Quote