> -----Original Message----- > From: Justin M. Lokitz > Sent: Thursday, December 12, 2002 3:12 PM > Subject: RE: Redhat Advanced Server 2.1 and Sendmail configuration? > > > I am not getting a server error, rather, I am not able > to Telnet to port 25. I did restart Sendmail and got > the following output from "netstat -pant|grep :25": > > [[EMAIL PROTECTED]]#tcp 0 0 127.0.0.1:25 > 0.0.0.0:* LISTEN 911/sendmail: > accep >
Based on the above output, sendmail is still configured to ONLY listen on localhost. Although you should be able to telnet to port 25 at localhost though. Are you sure you... 1) Edited your sendmail.mc file and commented the following line by placing "dnl" at the beginning of the line. Ex: dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA') 2) rebuilt your sendmail.cf file by typing: m4 sendmail.mc >/tmp/sendmail.cf 3) Replace your original sendmail.cf file with the new one created above. Ex: If your original sendmail.cf file exists in /etc/mail... cd /etc/mail cp sendmail.cf sendmail.cf.orig cp /tmp/sedmail.cf sendmail.cf Note: Based on how RH Advanced Server compiled sendmail (I have no idea), sendmail could actually be referencing /etc/sendmail.cf, not /etc/mail/sendmail.cf. Also, as Ben Russo pointed out in his reply, sendmail could have been compiled with tcp_wrapper support. To check, type: sendmail -bt -d0.21 </dev/null The output of the above command will tell you everything you want to know about how sendmail was compiled (and then some!). 4) Finally, restart sendmail service sendmail restart Thats my 2 bits, good luck Steve Cowles -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list