Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Apr 2012 14:56:22 -0400
From:      Greg Larkin <glarkin@FreeBSD.org>
To:        rank1seeker@gmail.com
Cc:        hackers@freebsd.org
Subject:   Re: sendmail disabled, but 'service -e' lists it as enabled
Message-ID:  <4F9848D6.5040703@FreeBSD.org>
In-Reply-To: <20120425.180906.586.4@DOMY-PC>
References:  <20120425.180906.586.4@DOMY-PC>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 4/25/12 2:09 PM, rank1seeker@gmail.com wrote:
> # grep sendmail /etc/rc.conf sendmail_enable=3D"NONE" # service -e |
> grep sendmail /etc/rc.d/sendmail # ps -U root | grep sendmail
>=20
>=20
> Domagoj Smol=E8i=E6

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=3D"NONE"
sendmail_submit_enable=3D"NO"
sendmail_outbound_enable=3D"NO"
sendmail_msp_queue_enable=3D"NO"

That will cover all bases, in case some other tool depends on the
value of sendmail_enable.

Hope that helps,
Greg
- --=20
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+YSNUACgkQ0sRouByUApAWVQCgtKdAVtJ6Cv/TMEbpEafZRmEA
6ZkAoKyxKQGuyj73w4Hrb/hIF7xwJurg
=3Dbb7F
-----END PGP SIGNATURE-----



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