freebsd-dev/etc/defaults
gshapiro fb2cc6b03d Provide a way for users to completely prevent sendmail from trying to start
at boot time.

Instead of rc.conf's sendmail_enable only accepting YES or NO, it can now
also accept NONE.  If set to NONE, none of the other sendmail related
startup items will be done.

Remove an extra queue running daemon might be started that wasn't necessary
(it didn't hurt anything but it wasn't needed).

The new logic is:

# MTA
if ${sendmail_enable} == NONE
        # Do nothing
else if ${sendmail_enable} == YES
        start sendmail with ${sendmail_flags}
else if ${sendmail_submit_enable} == YES
        start sendmail with ${sendmail_submit_flags}
else if ${sendmail_outbound_enable} == YES
        start sendmail with ${sendmail_outbound_flags}
endif
# MSP Queue Runner
if ${sendmail_enable} != NONE &&
   [ -r /etc/mail/submit.cf] && ${sendmail_msp_queue_enable} == YES
        start sendmail with ${sendmail_msp_queue_flags}
endif

Discussed with: Thomas Quinot <Thomas.Quinot@Cuivre.FR.EU.ORG>,
		Christopher Schulte <schulte+freebsd@nospam.schulte.org>
MFC after:	1 week
2002-03-28 03:29:22 +00:00
..
Makefile Added this makefile. This is not attached to the build yet. I often 2002-01-30 09:27:03 +00:00
pccard.conf Home Wireless Network Airway wireless card 2002-03-18 04:51:01 +00:00
periodic.conf Long ago, there was just /etc/daily. Then /etc/security was split out 2001-12-07 23:57:39 +00:00
rc.conf Provide a way for users to completely prevent sendmail from trying to start 2002-03-28 03:29:22 +00:00