From 9eb502a3376163bc1b1c0650f08ab58785cf5fb5 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Mon, 5 Dec 2022 17:20:22 +0100 Subject: [PATCH] sendmail: revert to use use NONE The NONE parameter has been deprecated for more than 20 years but was never removed, its useful to simplify the sendmail management. This reverts commit 7cadc5263887374c50c3e3f500ef6fb7b7c3dd98. --- libexec/rc/rc.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libexec/rc/rc.conf b/libexec/rc/rc.conf index 5ead8a6fd9de..0495e003b9c5 100644 --- a/libexec/rc/rc.conf +++ b/libexec/rc/rc.conf @@ -597,19 +597,19 @@ allscreens_kbdflags="" # Set this kbdcontrol mode for all virtual screens ############################################################## # Settings for /etc/rc.d/sendmail: -sendmail_enable="NO" # Run the sendmail inbound daemon (YES/NO/NONE). +sendmail_enable="NONE" # Run the sendmail inbound daemon (YES/NO/NONE). # If NONE, don't start any sendmail processes. sendmail_pidfile="/var/run/sendmail.pid" # sendmail pid file sendmail_procname="/usr/sbin/sendmail" # sendmail process name sendmail_flags="-L sm-mta -bd -q30m" # Flags to sendmail (as a server) sendmail_cert_create="YES" # Create a server certificate if none (YES/NO) #sendmail_cert_cn="CN" # CN of the generate certificate -sendmail_submit_enable="NO" # Start a localhost-only MTA for mail submission +sendmail_submit_enable="YES" # Start a localhost-only MTA for mail submission sendmail_submit_flags="-L sm-mta -bd -q30m -ODaemonPortOptions=Addr=localhost" # Flags for localhost-only MTA -sendmail_outbound_enable="NO" # Dequeue stuck mail (YES/NO). +sendmail_outbound_enable="YES" # Dequeue stuck mail (YES/NO). sendmail_outbound_flags="-L sm-queue -q30m" # Flags to sendmail (outbound only) -sendmail_msp_queue_enable="NO" # Dequeue stuck clientmqueue mail (YES/NO). +sendmail_msp_queue_enable="YES" # Dequeue stuck clientmqueue mail (YES/NO). sendmail_msp_queue_flags="-L sm-msp-queue -Ac -q30m" # Flags for sendmail_msp_queue daemon. sendmail_rebuild_aliases="NO" # Run newaliases if necessary (YES/NO).