freebsd-skq/share
gshapiro cdfdb8738b 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
..
colldef Add ro_RO 2002-01-08 15:20:13 +00:00
dict Add a dictionary of technical terms. 2002-03-26 11:21:58 +00:00
doc Modernize my email address. 2002-03-25 14:12:49 +00:00
examples Update i4b documentation. 2002-03-26 15:14:58 +00:00
info
isdn FILES support for bsd.prog.mk. See bsd.README for details. 2001-12-17 13:59:35 +00:00
man Provide a way for users to completely prevent sendmail from trying to start 2002-03-28 03:29:22 +00:00
me Install manpage for old -me macro package. 2002-03-20 16:26:35 +00:00
misc Regen. 2002-03-22 09:08:54 +00:00
mk Install static and profiled libraries with -C. 2002-03-22 20:28:16 +00:00
mklocale Fix 0x8b and 0x9b upper/lower mapping 2002-03-28 01:13:04 +00:00
monetdef Switch national currencies to Euro 2002-02-19 18:38:04 +00:00
msgdef Unbreak nl_BE locales 2002-02-12 18:40:57 +00:00
numericdef Unbreak nl_BE locales 2002-02-12 18:40:57 +00:00
sendmail Unbreak installworld. Revision 1.41 of src/usr.bin/xinstall/xinstall.c 2001-05-29 17:55:49 +00:00
skel Automatically exec bash at startup if it exists^U Turn on the display of 2001-06-25 20:40:02 +00:00
syscons The idea of mapping non-existen characters to space (0x20) was nice alone, 2002-01-21 21:52:02 +00:00
tabset FILES support for bsd.prog.mk. See bsd.README for details. 2001-12-17 13:59:35 +00:00
termcap We don't use two-letters terminal names, so strip them out from vt520* entries 2002-01-18 17:41:54 +00:00
timedef Add ro_RO 2002-01-08 15:20:13 +00:00
zoneinfo Except for a comment in zone.tab (about the location of the ISO 3166 table), 2001-11-16 17:23:23 +00:00
Makefile Add NO_I4B to avoid building/installing isdn4bsd package. 2001-05-23 13:32:32 +00:00
Makefile.inc