Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Aug 2024 20:52:02 +0200 (CEST)
From:      Sysadmin Lists <sysadmin.lists@mailfence.com>
To:        Questions <questions@freebsd.org>
Subject:   rc.conf defaults and sendmail - dma
Message-ID:  <1536403762.116315.1722970322630@fidget.co-bxl>

next in thread | raw e-mail | index | archive | help
One of my servers stopped receiving mail from systems on the local network, and
while troubleshooting I found a variable inside /etc/defaults/rc.conf had
changed in 14.0-RELEASE:

< # Settings for /etc/rc.d/sendmail:
< sendmail_enable="NONE"        # Run the sendmail inbound daemon (YES/NO/NONE).
<                       # If NONE, don't start any sendmail processes.
---
> 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="NO"  # Run the sendmail inbound daemon (YES/NO).

The change from "NO" to "NONE" caused the system to not start sendmail as a
localhost-only MTA. The release notes document a transition from sendmail to
dma, but don't say anything about disabling the previously default settings.
Where are those changes documented? I looked for /etc/defaults/rc.conf in the
src git repo, but was surprised not to find it. Is that file generated during
system installation, or where is it located in the tree?

The /etc/rc.sendmail script has also been nuked, so how is sendmail started for
localhost-only mail service? `service sendmail start' fails to start any
services, even with sendmail="YES" in rc.conf.

$ service sendmail rcvar
# sendmail : Electronic mail transport agent
#
sendmail_enable="YES"
#   (default: "")

# sendmail_msp_queue : Electronic mail transport agent
#
sendmail_enable="YES"
#   (default: "")
sendmail_msp_queue_enable="YES"
#   (default: "")


-- 
Sent with https://mailfence.com  
Secure and private email



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1536403762.116315.1722970322630>