Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Aug 2024 16:52:45 +0000 (UTC)
From:      doug <doug@safeport.com>
To:        Sysadmin Lists <sysadmin.lists@mailfence.com>
Cc:        Questions <questions@freebsd.org>
Subject:   Re: rc.conf defaults and sendmail - dma
Message-ID:  <8d3d26a8-6fd-e077-e2c-24dbb2b71452@safeport.com>
In-Reply-To: <1536403762.116315.1722970322630@fidget.co-bxl>
References:  <1536403762.116315.1722970322630@fidget.co-bxl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 6 Aug 2024, Sysadmin Lists wrote:

> 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: "")
>

in rc.conf: sendmail_enable="YES"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8d3d26a8-6fd-e077-e2c-24dbb2b71452>