sendmail disabled, but 'service -e' lists it as enabled
Greg Larkin
glarkin at FreeBSD.org
Wed Apr 25 18:56:31 UTC 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk+YSNUACgkQ0sRouByUApAWVQCgtKdAVtJ6Cv/TMEbpEafZRmEA
6ZkAoKyxKQGuyj73w4Hrb/hIF7xwJurg
=bb7F
-----END PGP SIGNATURE-----
More information about the freebsd-hackers
mailing list