Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Sep 2006 22:17:07 -0400
From:      Jerry McAllister <jerrymc@msu.edu>
To:        Rob Gabaree <lists@rawb.net>
Cc:        questions@freebsd.org
Subject:   Re: Do I need to completely disable sendmail?
Message-ID:  <20060925021706.GA74471@gizmo.acns.msu.edu>
In-Reply-To: <E6429B1C-2FD8-4B84-95D5-04A3D492C970@rawb.net>
References:  <E6429B1C-2FD8-4B84-95D5-04A3D492C970@rawb.net>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Sun, Sep 24, 2006 at 05:18:27PM -0400, Rob Gabaree wrote:

> 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"
> 

What you have disables incoming Email, but sstill lets the system
send out Email.   That is good, because the system sends notices
about various things and you might want to send something from it
sometimes - such as sending a file to yourself or whatever but without 
receiving anything.

So, unless there is a very compelling reason, leave it the way it is.

////jerry

> 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.
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20060925021706.GA74471>