Gregory Neil Shapiro 619b80c4e6 Quoting Peter Wemm, "At great personal risk, touch the sendmail startup
again."

As an alternative to sendmail_enable=NONE, solve the boot time problem
for non-sendmail users completely by moving all of the sendmail startup
code from /etc/rc to /etc/rc.sendmail.  The source for that script will
be kept in src/etc/sendmail/rc.sendmail so make.conf's NO_SENDMAIL will
prevent it from being installed.  A new rc.conf variable,
mta_start_script specifies the script to run to start the user's
preferred MTA.  For backward compatibility, it will default to
/etc/rc.sendmail.  The specified script is called out of /etc/rc after
checking to make sure it exists.  A new rc.sendmail.8 man page has also
been added which now houses the sendmail_* variable descriptions
formerly in rc.conf.5.

Use /etc/rc.sendmail in /etc/mail/Makefile to reduce code duplication.

Reviewed by:	-current, -stable, obrien, peter, ru
MFC after:	1 week
2002-04-05 02:30:49 +00:00
..
2001-12-11 08:21:46 +00:00
2001-08-31 22:49:22 +00:00
2001-12-11 08:21:46 +00:00
2002-01-07 23:53:34 +00:00
2000-10-06 17:36:05 +00:00
2002-02-06 04:46:07 +00:00
1999-09-13 17:09:08 +00:00
1999-08-27 23:37:10 +00:00
1999-08-27 23:37:10 +00:00
2001-08-31 22:49:22 +00:00
1999-08-27 23:37:10 +00:00
1999-09-13 17:09:08 +00:00
1999-08-27 23:37:10 +00:00
1999-08-27 23:37:10 +00:00
2002-03-26 19:54:12 +00:00
1999-08-27 23:37:10 +00:00
1999-08-27 23:37:10 +00:00
2002-03-21 21:44:03 +00:00
2002-01-29 14:00:03 +00:00
1999-08-27 23:37:10 +00:00
2002-03-21 21:43:25 +00:00
2001-12-18 18:21:51 +00:00
2001-03-24 07:20:36 +00:00
1999-08-27 23:37:10 +00:00
2001-08-14 23:51:58 +00:00
1999-08-27 23:37:10 +00:00
2000-11-01 13:30:24 +00:00
2002-02-10 08:19:58 +00:00
2002-03-07 07:17:15 +00:00
2001-06-16 07:16:14 +00:00
2000-04-27 21:58:46 +00:00
2001-11-22 21:43:43 +00:00