Please correct me if I am wrong here but the way I see it that: Linux Server is trying to send email to a windows MS Exchange server. IPtables on the Linux Server blocking port 25 (smtp) and that is why your error logs shows that localhost 127.0.0.1 port 25 is not reachable.
I think you should replace the IP in your rule with your linux IP address. [EMAIL PROTECTED] ----- Original Message ----- From: "Drozd, Mark" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 08, 2003 22:09 Subject: RE: Sendmail problem > I tried what you suggested. But I changed the IP address to the IP address > of my Exchange server? > > The email doesn't work when I do this. > > Here are the rules as of now. > /sbin/iptables -A INPUT -p tcp --syn -s 10.2.2.120/32 --destination-port 22 > -j ACCEPT > /sbin/iptables -A INPUT -p tcp --syn -s 10.2.2.120/32 --destination-port > 1241 -j ACCEPT > /sbin/iptables -A INPUT -p tcp --syn -s 10.2.2.6/32 --destination-port 25 -j > ACCEPT > /sbin/iptables -A INPUT -p tcp --syn -j DROP > Mark > > > -----Original Message----- > From: aljuhani [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 08, 2003 2:56 PM > To: [EMAIL PROTECTED] > Subject: Re: Sendmail problem > > > Ok then add this RULE to the top before the DROP rule > and restart your firewall. > > /sbin/iptables -A INPUT -p tcp --syn -s 10.2.2.120/32 --destination-port 25 > -j ACCEPT > > [EMAIL PROTECTED] > -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list