> Hi everyone.
> 
> I've got a strange one. For some reason sendmail will not accept 
> connections on port 25. The firewall is turned off. I can send and 
> receive mail locally, but I can't receive mail coming through 
> eth0. If 
> I telnet port 25, I get a the sendmail login. I even ported Apache to 
> port 25 and it worked. I even recompiled sendmail with no 
> change. I've 
> done all the updates to 7.1. Anyone have any ideas what could cause 
> this?
> 
> Thanks
> 
> Matt 

By default, sendmail will only listen to localhost.  Did you change the
sendmail.mc and/or sendmail.cf file(s)?

If not, edit /etc/mail/sendmail.mc and change this line:
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')

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

Then regenerate the sendmail.cf file:
m4 sendmail.mc > sendmail.cf
cp sendmail.cf /etc/sendmail.cf  
## make a backup of this latter file if you are paranoid

Then restart sendmail
/sbin/service sendmail restart

Forrest



_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to