Do I need to completely disable sendmail?

Rob Gabaree lists at rawb.net
Sun Sep 24 14:18:31 PDT 2006


Hi,

I have a remote server that I don't plan on using for email as I have  
another server to handle that.  My question is.. is it a bad idea to  
_completely_ disable sendmail on that machine?  Right now /etc/ 
rc.conf has:

sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"

But I checked /var/log/maillog and saw about 5 archives of messages  
that looked like this:

Sep 24 03:01:09 ny sendmail[63140]: k8I719YD078452: k8O71858063140:  
return to sender: Cannot send message for 5 days
Sep 24 03:01:09 ny sendmail[63140]: k8O71858063140: to=postmaster,  
delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=49386, relay= 
[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]

So what should I do?  Should I just have "sendmail_enable="NO"" in / 
etc/rc.conf, so only the incoming mail service is disabled?  That way  
messages could be sent without the above errors?  Or what?

Thanks for any help.


More information about the freebsd-questions mailing list