git: 7cadc5263887 - main - sendmail: do not use NONE
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 09 Nov 2022 14:25:39 UTC
The branch main has been updated by bapt:
URL: https://cgit.FreeBSD.org/src/commit/?id=7cadc5263887374c50c3e3f500ef6fb7b7c3dd98
commit 7cadc5263887374c50c3e3f500ef6fb7b7c3dd98
Author: Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2022-11-09 14:20:30 +0000
Commit: Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2022-11-09 14:20:30 +0000
sendmail: do not use NONE
NONE is deprecated, instead of using NONE, switch to "NO" all
the sendmail_*_enable which sendmail_enable=NONE would have done
---
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 605df04a95e3..aebcee9dde2f 100644
--- a/libexec/rc/rc.conf
+++ b/libexec/rc/rc.conf
@@ -596,18 +596,18 @@ allscreens_kbdflags="" # Set this kbdcontrol mode for all virtual screens
mta_start_script="/etc/rc.sendmail"
# Script to start your chosen MTA, called by /etc/rc.
# Settings for /etc/rc.sendmail and /etc/rc.d/sendmail:
-sendmail_enable="NONE" # Run the sendmail inbound daemon (YES/NO/NONE).
+sendmail_enable="NO" # Run the sendmail inbound daemon (YES/NO/NONE).
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="YES" # Start a localhost-only MTA for mail submission
+sendmail_submit_enable="NO" # 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="YES" # Dequeue stuck mail (YES/NO).
+sendmail_outbound_enable="NO" # Dequeue stuck mail (YES/NO).
sendmail_outbound_flags="-L sm-queue -q30m" # Flags to sendmail (outbound only)
-sendmail_msp_queue_enable="YES" # Dequeue stuck clientmqueue mail (YES/NO).
+sendmail_msp_queue_enable="NO" # 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).