Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Apr 2012 20:17:45 +0200
From:      rank1seeker@gmail.com
To:        "Jonathan McKeown" <j.mckeown@ru.ac.za>, "Greg Larkin" <glarkin@FreeBSD.org>, hackers@freebsd.org
Subject:   Re: sendmail disabled, but 'service -e' lists it as enabled
Message-ID:  <20120426.181745.913.5@DOMY-PC>
In-Reply-To: <201204260852.25101.j.mckeown@ru.ac.za>
References:  <20120425.180906.586.4@DOMY-PC> <4F9848D6.5040703@FreeBSD.org> <201204260852.25101.j.mckeown@ru.ac.za>

next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message -----
From: Jonathan McKeown <j.mckeown@ru.ac.za>
To: freebsd-hackers@freebsd.org
Date: Thu, 26 Apr 2012 08:52:25 +0200
Subject: Re: sendmail disabled, but 'service -e' lists it as enabled

> On Wednesday 25 April 2012 20:56:22 Greg Larkin wrote:
> > On 4/25/12 2:09 PM, rank1seeker@gmail.com wrote:
> > > # grep sendmail /etc/rc.conf sendmail_enable="NONE" # service -e |
> > > grep sendmail /etc/rc.d/sendmail # ps -U root | grep sendmail
> >
> > /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"
> 
> And in fact man 8 rc.sendmail says (under sendmail_enable in the RC.CONF 
> VARIABLES section):
> 
> The ``NONE'' option is deprecated and should not be used.  It will be 
removed 
> in a future release.
> 
> and later in the manpage:
> 
> To completely prevent any sendmail(8) daemons from starting, you must set 
the 
> following variables in /etc/rc.conf:
> 
>            sendmail_enable="NO"
>            sendmail_submit_enable="NO"
>            sendmail_outbound_enable="NO"
>            sendmail_msp_queue_enable="NO"
> 
> Jonathan


I've thought NONE was a new, advanced form, which saves 4 lines of NO
It ended up being deprecated one.

Setting them all to NO, doesn't confuse 'service -e' anymore.
Thx!


Domagoj




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120426.181745.913.5>