Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

can't telnet smtp port 25 sendmail 8.11 redhat 7.3

Status
Not open for further replies.

dmguild

Technical User
Sep 3, 2002
2
US
Can anyone give me a clue where to check next. I've got the DAEMON_OPTIONS part of the sendmail.cf remmed out. I've got IPCHAINS shut off.
I can send mail out to other people.
I'm sitting behind a linksys cable router with ip forwarding set for port 25.
I can telnet in from the outside world and ftp in, but I cannot http or smtp in
 
to add on I can telnet to both the loopback and ip address on port 25 from anywhere within my network. But I can only telnet to 21 or 23 from outside. The ip forwarding on my linksys box is correct for all the protocols. Does sendmail and http utilyze other ports after the initial connection? Because I only have the specific ports forwarded. It's not DMZed to the linux box.
 
You have to redo the sendmail.cf file by modifying the file and putting in your requirements and using m4 to regenerate the sendmail.cf file. Include the option FEATURE(relay_local_from) into your sendmail.mc file. This will create a relay_domains file in your /etc/mail directory. Put in the entry below in that file :
your.domain.name RELAY

Also check your hosts.allow and hosts.deny files to see if there is anything enabled. Put in the option sendmail:ALL to enable sendmail to communicate outside in to your hosts.allow file. Typically the hosts.deny file should have the entry ALL:ALL. This entry will not allow any hosts to use the services that are running on xinetd. Disable this if you have problems and want to debug. It is not recommended you disable this other than for debugging purposes.

This is because xinetd on RH7.3 comes with libwrap enabled.
Make sure your ipchains are all removed. Type in ipchains -L as root to see if there are any entries left in the table.

Cheers,
Saran
 
If you open the /etc/mail/sendmail.cf file and search for the line containing 127.0.0.1 ... delete the line run m4 to regenerate the file (instructions are at the top of /etc/mail/sendmail.cf ... restart sendmail, and away ya go
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top