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 to port 25 of the adapter address

Status
Not open for further replies.

swampdogphoto

Technical User
May 10, 2002
8
US
Hi all...

I'm almost bald now from pulling my hair out over this and figured it was time to post a question out here to preserve what is left of my sanity.. :)

I'm having problems connecting to sendmail via telnet to port 25 of the network adapter. If I am on the server, I am able to successfully telnet into port 25 of 127.0.0.1 but not of the actual IP address of the machine. So I know sendmail is up and running. I'm running a Red Hat 7.2 server and I have disabled all of the firewall software which ships with it. I can get to the web pages and normal telnet through the IP address of the NIC as well, so I know the external IP is working.

Any suggestions?

Thanks
Shawn
 
shawn,

hi check and see if you have sendmail-cf installed on your machine rpm -qv sendmail-cf-*

if you have then go and edit the file redhat.mc

it's under /usr/share/sendmail-cf/cf/redhat.mc

put a commend on

DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')

make it

dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')

then recompile the configuration file

.Build redhat.cf

then, cp the redhat.cf file on /etc/sendmail.cf

then restart sendmail

that should do the trick! coz the sendmail configurations on Redhat 7.X are set for internal purpose only.. sendmail is not bind to an ip address just the local loopback.

okie,
darwin lopez
c0decruncher@yifan.net
 
Thanks Darwin,

I found the line shortly after I posted the message. I also found a couple of other things (which I can't remember now) that was still causing some problems after that one.

Laters!
Shawn
 
That was quite helpful! Rninja

smlogo.gif

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top