25 Apr 2012 20:56
Re: sendmail disabled, but 'service -e' lists it as enabled
Greg Larkin <glarkin <at> FreeBSD.org>
2012-04-25 18:56:22 GMT
2012-04-25 18:56:22 GMT
On 4/25/12 2:09 PM, rank1seeker <at> gmail.com wrote: > # grep sendmail /etc/rc.conf sendmail_enable="NONE" # service -e | > grep sendmail /etc/rc.d/sendmail # ps -U root | grep sendmail > > > Domagoj Smolčić Hi Domagoj, /etc/rc.d/sendmail explicitly sets some variables to "NO" when sendmail_enable is "NONE". Unfortunately, the service script does not take that into account, so if you want it to report correctly, place these lines in /etc/rc.conf: sendmail_enable="NONE" sendmail_submit_enable="NO" sendmail_outbound_enable="NO" sendmail_msp_queue_enable="NO" That will cover all bases, in case some other tool depends on the value of sendmail_enable. Hope that helps, Greg -- -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me
RSS Feed