LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Enterprise (http://www.linuxquestions.org/questions/linux-enterprise-47/)
-   -   Sendmail will not listen on 25 (http://www.linuxquestions.org/questions/linux-enterprise-47/sendmail-will-not-listen-on-25-a-410611/)

bionicmaximu 02-01-2006 07:57 PM

Sendmail will not listen on 25
 
Hi all,

Im running RedHat EL4, 2.6.9-22

I have already commented in sendmail.mc the-
dnl # DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl

and restarted sendmail.

Yet nestat -an | grep :25 still only gives me-
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN

Of course, only listening on localhost, I cant receive SMTP.

Iptables are off. Does anybody have a guess as to why I'm not listening on all interfaces.

Thanks!!!

born4linux 02-03-2006 05:18 AM

you need to regenerate the file sendmail.cf if you edited sendmail.mc. try:

(if sendmaial.mc is in /etc/mail):

make -C /etc/mail


All times are GMT -5. The time now is 09:49 PM.