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] ----- Original Message ----- From: "Drozd, Mark" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 08, 2003 21:43 Subject: RE: Sendmail problem > These are the only rules as this is a client workstation. > > Mark > > > -----Original Message----- > From: aljuhani [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 08, 2003 2:38 PM > To: [EMAIL PROTECTED] > Subject: Re: Sendmail problem > > > > Found the problem. > > > > IPTABLES was set for the following; > > /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 -j DROP > > > > Once I flushed IPTABLES it works fine. Yet, this is the same way I > > had IPTABLES set in RH 7.2. > > > > Thanks for your help, > > > > Mark > > your last rule: > /sbin/iptables -A INPUT -p tcp --syn -j DROP > > Prevent any TCP connection input to any port not allowed by a rule > above it. > > and it looks that port 25 is not given an ACCEPT Rule. > > If this is part of your Firewall please re-submit the full rules at > least the ones before the DROP rule. > > [EMAIL PROTECTED] > > > > > > > -----Original Message----- > > From: Rodolfo J. Paiz [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, July 08, 2003 1:50 PM > > To: [EMAIL PROTECTED] > > Subject: Re: Sendmail problem > > > > > > At 7/8/2003 13:19 -0400, you wrote: > > >I upgraded the machine to RH 9.0. Now the email doesn't work. I > > >keep receiving (Connection timed out) in the log file. I set up > > >the sendmail.cf file with a smart host(Dsmail.mydomain.com) and a > > >masquerade (Dmmydomain.com). This is how the previous version was > > >set up. > > > > It is best not to touch the sendmail.cf file directly, but to do > > your > setup > > via /etc/mail/sendmail.mc. Much easier, too. > > > > >It seems like 9.0 is not linking to the mail server as this log > > >entry shows. > > > Jul 8 12:59:29 localhost sm-msp-queue[8507]: h68GuCvv008507: > > >to=root, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31424, > > relay=[127.0.0.1], > > >dsn=4.0.0, stat=Deferred: Connection timed out with [127.0.0.1] > > > > It seems like you are sending mail to root on the Linux box... where > > does it say that this mail should go to another server? > > > > You should post more information... your sendmail.mc would be > > wonderful if you had one, but as you said you don't use it. Perhaps > > you can look at the sendmail.mc and figure out what you would > > change? Or better yet, recreate your configuration using the > > sendmail.mc file. I can read an mc, but not a cf. > > > > Also, what is generating these messages, to whom are they supposed > > to be sent? More detail! Impossible to guess cause from the data > > given. > > > > > > -- > > Rodolfo J. Paiz > > [EMAIL PROTECTED] -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list PRIVACY NOTICE This e-mail and any files transmitted with it are confidential and are solely for the use of the individual or entity to whom they are addressed. This communication represents the originator's personal views and opinions, which do not necessarily reflect those of Suffolk County National Bank. If you are not the original recipient or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. If you received this e-mail in error, please immediately notify the sender. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list