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

next in thread | previous in thread | raw e-mail | index | archive | help


> ----------------------------------------
> 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



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