Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Nov 2022 14:14:07 -0500
From:      Matteo Riondato <matteo@freebsd.org>
To:        Mark Millard <marklmi@yahoo.com>
Cc:        Baptiste Daroussin <bapt@freebsd.org>, dev-commits-src-main@freebsd.org
Subject:   Re: git: b7104f19147f - main - sendmail: document that sendmail_enable can be set to NONE
Message-ID:  <20221108191406.c7er3d6koulh5vom@ubertino.local>
In-Reply-To: <0BC32C72-6996-49BB-AF50-CB3044D79687@yahoo.com>
References:  <0BC32C72-6996-49BB-AF50-CB3044D79687.ref@yahoo.com> <0BC32C72-6996-49BB-AF50-CB3044D79687@yahoo.com>

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

--yq6nz5rhn3bpuw2z
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2022-11-08 at 12:11 EST, Mark Millard <marklmi@yahoo.com> wrote:
>Baptiste Daroussin <bapt_at_freebsd.org> wrote on Date: Tue, 08 Nov=20
>2022 13:41:29 UTC :
>
>> On Tue, Nov 08, 2022 at 08:07:46AM -0500, Matteo Riondato wrote:
>> > On 2022-11-07 at 06:50 EST, Baptiste Daroussin <bapt@FreeBSD.org>=20
>> > wrote:
>> > > diff --git a/libexec/rc/rc.conf b/libexec/rc/rc.conf
>> > > index a71a3fa4063d..91b99780eae6 100644
>> > > --- a/libexec/rc/rc.conf
>> > > +++ b/libexec/rc/rc.conf
>> > > @@ -596,7 +596,7 @@ allscreens_kbdflags=3D"" # Set this kbdcontrol=
=20
>> > > mode for all virtual screens
>> > > mta_start_script=3D"/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=3D"NO" # Run the sendmail inbound daemon (YES/NO).
>> > > +sendmail_enable=3D"NONE" # Run the sendmail inbound daemon=20
>> > > (YES/NO).
>> >
>> > The comment on the above line should probably be updated:=20
>> > inexperienced
>> > users may not know that there is a difference between "NO" and=20
>> > "NONE".
>> >
>> > > sendmail_pidfile=3D"/var/run/sendmail.pid" # sendmail pid file
>> > > sendmail_procname=3D"/usr/sbin/sendmail" # sendmail process name
>> > > sendmail_flags=3D"-L sm-mta -bd -q30m" # Flags to sendmail (as a=20
>> > > server)
>>
>> You are not the first to report that, I have updated rc.conf a to add=20
>> "the NONE" value.
>
>Also, from the commit:
>
>QUOTE
>-sendmail_enable=3D"NONE" # Run the sendmail inbound daemon (YES/NO).
>+sendmail_enable=3D"NONE" # Run the sendmail inbound daemon=20
>(YES/NO/NONE).
>END QUOTE
>
>My guess is Matteo was after something more like the following text=20
>from your commit notes:
>
>QUOTE
>setting sendmail_enable to NONE (which is now the default) turns all=20
>the sendmail_*_enable variables to NO
>END QUOTE
>
>In other words, documenting what is different about NONE vs. NO=20
>beyond the spelling distinction.

Indeed the issue that I intended to raise was that, AFAIK, there is no=20
documentation, for NONE, except if one reads and understands=20
/etc/rc.d/sendmail. It is something that is known by people "in the=20
know", and probably mentioned by a some online tutorials, but I don't=20
think there is anything "official".

Even the handbook, in the section about changing MTA
(https://docs.freebsd.org/en/books/handbook/mail/#mail-changingmta) does=20
not mention NONE, but explicitly sets the four variables to NO.

(Side note: it seems that when this change will be integrated in some=20
-STABLE branch, or when 14 becomes -STABLE, a large update to the=20
relevant sections of the Handbook will be needed)

Thanks,
Matteo

--yq6nz5rhn3bpuw2z
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQJHBAABCgAxFiEEa9uKZL0hP4E8Nl5vGwL9SVQlVQEFAmNqqn4TGGhrcHM6Ly9w
Z3AubWl0LmVkdQAKCRAbAv1JVCVVAb7HD/9oVeWnT4ISOrNw8EETgc3f4yS/mSXj
SHA0nXOcTXF5k+GeiFvSVSEEqfzjg2gBdloYLgueljdYhr1oSyQ8SV3hKyG9CVwF
uirxf02i2lKNaAELbA94KhSdy2RraF1hoULyEPAT7Diswq2mdCjLSVoUltNPBhg3
qLlHHmbJE9EhWcJ9+65L9f9qEw6BQi9xbB67kwvjHgXnY5dC543yjT5QoNdjy2cE
PMxgbXZr1L3gNgNRC8kaGGawtWtXKItJ1i2zx1i8+IL29fauOWgy4Mmewoy7urm/
6m3Q6xxQPFPCaHVjRmCe6USt/axlyq+HOkNqS6MFjM5UTEiyIvFo+3kCHr+eZA7I
MuMM4vbWApcVqFcPgJGkGzuuJ1Im0re8Gle0HlqK94WelLS5z4oll+dncv+5gDqn
2uOEPtRLnB+cgR9z8SmyhUROfbBfXjMKBaalB8AhN2vBRCauDGb7FToQYMHDa4cb
9yr+MUo+vrHcQ5dEeSRTQKssSz/XJrDI5Tn0nf5+5YYrC9US2o7f/dPT5Xe+FK4T
MklT6qT19Dtz+Skj2P7GFjt/2PGpx/FlB4p+1G+BxWn78zGazZRhu/b6HqBDKFX3
KCdu6fPTDBeXnKaXs5Y5THyN/zmxUNO3Y3m49yXek/e+03ljJ/Mb3+KBodVbB6nK
mGlngwNgZte27w==
=r4A1
-----END PGP SIGNATURE-----

--yq6nz5rhn3bpuw2z--



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