From nobody Tue Nov 08 19:14:07 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4N6Hp84WSmz4XGV1 for ; Tue, 8 Nov 2022 19:14:08 +0000 (UTC) (envelope-from matteo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N6Hp83y96z4TfT; Tue, 8 Nov 2022 19:14:08 +0000 (UTC) (envelope-from matteo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667934848; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=37hRyASBPJ1/raM4sEOTTju6Il7YjOkspGMWHFEZ9Ps=; b=Bpmb5x3PwmJ3JgwbX1g/0q/gkA6kCo3gAlwS8njEF8Y2TYH3JYu3dZKu5g5fRgGK+KuLVY bOKl0ACYajb+B6iiDZwZkD/YdmH43v+7MFxYCmIFK6MkaFJtKAKFiRpo8UuoPkkDsPLJrS h8gAxZd+WYaR0JoQw13aJBVqCy6c5n3J7VbO0IH7EAQ21feDss5ilgIOSgxMLvJsolh/FX uKpH9sHRqcPXbp+wN5TH0TNskgeOz7D2EBItlLM7J3Cu8Sudu3+NxxZceRF2KxcL8g9eWK VgyMR2JPmVZkkRIlw4OZDNznO6YT5k6X8Ov1IwT7CCpv23rfaa8+SxLlmHmKtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667934848; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=37hRyASBPJ1/raM4sEOTTju6Il7YjOkspGMWHFEZ9Ps=; b=T68QQ5HqTMyp0vVHje2KIyrIhCkJb4GGsedBUJ1sUrz2YNwnuyDYNuvz+2rD8INFZCK3xa Wdx7qe0AJC2z4byorjw5dx835ty3qdvUh0Jj+d9f4Ruw9McVDHftORq8MiO4LdLIHVbmK4 lQWSWNay4IOH4bEplh9YXETh85BgooB6FQi0aqX70pDoXHznP3VSrncUrJ3AjBiCFVTWE5 AI5uTDrWCEuGrLh5XSBGc7th3IdJP10ywg9htgfIOwWPfg0fVLW67XNEH5Td/Sv9dLyEdS JnPKwIuf7FDGtRFFh4SKGmp7XH5vg/fNT5ElAClLjKV8HvBqjGRROGgXIRz87w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1667934848; a=rsa-sha256; cv=none; b=khZY+Tm25ynSgOaBLAfUcRd9DxLskYEXU9RaUgr64xL1+xEzFVB7jO5jKw1XsZWd0fgnsK EhvigSq5rFd0fXhFVM0tuGegszH/la6Tdc4yG3uk9Gq706uQVyjfxUEhTx765tvNJ59Ohq diCOMohrxjVRE889BIE4WmtA9wIEZ/jHiNoeQiEDkLfUyZwGMU0+dqQPq7+ODiCcWB3oZG GuZLh5BZksPmyXMsR8nZZPdfGjzGzqo2hcAK4f0HUecA341UaHdNISKaDmRzoXfhZV1QCs yrFxdwNqUVkip8qj3v+NlEWM6USzXIoFitEFTW3iJmhc3ITPfQlUqqYDdj7ZqQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from ubertino.local (unknown [IPv6:2601:19b:4400:1779::1042]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: matteo/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4N6Hp821GDz14YR; Tue, 8 Nov 2022 19:14:08 +0000 (UTC) (envelope-from matteo@freebsd.org) Date: Tue, 8 Nov 2022 14:14:07 -0500 From: Matteo Riondato To: Mark Millard Cc: Baptiste Daroussin , 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> X-PGP-Key: http://rionda.to/files/matteogpg.asc References: <0BC32C72-6996-49BB-AF50-CB3044D79687.ref@yahoo.com> <0BC32C72-6996-49BB-AF50-CB3044D79687@yahoo.com> List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="yq6nz5rhn3bpuw2z" Content-Disposition: inline In-Reply-To: <0BC32C72-6996-49BB-AF50-CB3044D79687@yahoo.com> X-ThisMailContainsUnwantedMimeParts: N --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 wrote: >Baptiste Daroussin 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 =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--