freebsd : 10 : sendmail_enable="NO" : no effect?

Benjamin Lee ben at b1c1l1.com
Sun Mar 30 05:37:26 UTC 2014


On Sun, 30 Mar 2014 05:17:18 +0000, Mayuresh Kathe <mayuresh at kathe.in> wrote:
> hello,
> 
> i am very new to freebsd and hence to this list.
> 
> have an x86-64 machine running freebsd 10 since last night.
> 
> it's a personal workstation and hence don't need sendmail.
> added in the following line to /etc/rc.conf;
> sendmail_enable="NO"
> 
> sendmail still starts up on boot, have to manually stop it
[...]

Put the following in /etc/rc.conf:

sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"

You can find the defaults in /etc/defaults/rc.conf:

blee at eclipse ~ $ egrep 'sendmail.*enable' /etc/defaults/rc.conf 
sendmail_enable="NO"    # Run the sendmail inbound daemon (YES/NO).
sendmail_submit_enable="YES"    # Start a localhost-only MTA for mail submission
sendmail_outbound_enable="YES"  # Dequeue stuck mail (YES/NO).
sendmail_msp_queue_enable="YES" # Dequeue stuck clientmqueue mail (YES/NO).


-- 
Benjamin Lee
http://www.b1c1l1.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20140329/7f58ce59/attachment.sig>


More information about the freebsd-questions mailing list