Re: rc.conf defaults and sendmail - dma

From: Sysadmin Lists <sysadmin.lists_at_mailfence.com>
Date: Wed, 07 Aug 2024 20:32:28 UTC

> ----------------------------------------
> From: doug <doug@safeport.com>
> Date: Aug 7, 2024, 9:52:45 AM
> To: Sysadmin Lists <sysadmin.lists@mailfence.com>
> Cc: Questions <questions@freebsd.org>
> Subject: Re: rc.conf defaults and sendmail - dma
> 
> 
> 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"
> 

Thanks, but there's a type on my original message. sendmail_enable is already
set to "YES".

$ sysrc sendmail_enable
sendmail_enable: YES

1. Where are /etc/default/rc.conf change tracked like UPDATING for the ports
   tree?
2. Where is /etc/default/rc.conf in the src git repo?



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