summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorgshapiro <gshapiro@FreeBSD.org>2002-02-17 22:19:14 +0000
committergshapiro <gshapiro@FreeBSD.org>2002-02-17 22:19:14 +0000
commitf9b416a6c3a812faf3766993dfac38090a9b2376 (patch)
treee1035d9e7c83b22ffb393c2b81c85d750a93a6a2 /etc/rc
parent0db14425f9c73f67ad0f23d0bd0bade3c0728e1b (diff)
downloadFreeBSD-src-f9b416a6c3a812faf3766993dfac38090a9b2376.zip
FreeBSD-src-f9b416a6c3a812faf3766993dfac38090a9b2376.tar.gz
Add infrastructure for sendmail 8.12. If users are not starting a daemon
at boot (sendmail_enable=NO), a localhost-only daemon may started (sendmail_submit_enable) as it is needed to accept mail from command line submissions. If this isn't desired, see etc/mail/README for more hints. Optionally (sendmail_msp_queue_enable) start a queue runner for the submission queue in case a daemon isn't available to accept command line submitted mail at submission time. Note that the syslog labels for all of these sendmail processes have been uniquified for easier log parsing.
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc17
1 files changed, 16 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index e2fa9960..345959b 100644
--- a/etc/rc
+++ b/etc/rc
@@ -695,13 +695,28 @@ case ${sendmail_enable} in
*)
case ${sendmail_outbound_enable} in
[Yy][Ee][Ss])
- echo -n ' sendmail'
+ echo -n ' sendmail-outbound'
/usr/sbin/sendmail ${sendmail_outbound_flags}
;;
esac
+ case ${sendmail_submit_enable} in
+ [Yy][Ee][Ss])
+ echo -n ' sendmail-submit'
+ /usr/sbin/sendmail ${sendmail_submit_flags}
+ ;;
+ esac
;;
esac
+if [ -r /etc/mail/submit.cf ]; then
+ case ${sendmail_msp_queue_enable} in
+ [Yy][Ee][Ss])
+ echo -n ' sendmail-clientmqueue'
+ /usr/sbin/sendmail ${sendmail_msp_queue_flags}
+ ;;
+ esac
+fi
+
echo '.'
# Recover vi editor files.
OpenPOWER on IntegriCloud