From nobody Tue Nov 8 19:17:54 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 4N6HtZ6cx3z4XHMQ for ; Tue, 8 Nov 2022 19:17:58 +0000 (UTC) (envelope-from bapt@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 4N6HtZ69tNz4Vl7; Tue, 8 Nov 2022 19:17:58 +0000 (UTC) (envelope-from bapt@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667935078; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fsbUUs4ARIWvN1FWve8mglfZJ9fPFZ8rVZizhGVB1+I=; b=px5P6HXx270KjX4LB2IahIrhxahzon6mW4xQhPu5H412r82e+WASQJqDEhtVfIHm2do/iY cZK+3GHiMKbV3X0IdKH/mQZpvm08kEOk26xPlnk7av1hgDotByx/LFiObz1WwXsHc9jfRT 81AzcwOR9MnJPBkqb41DGIBgfQyjlIaqheGb+YwgK8wGE7w5WRjaT/KylC3U1FD7FiRLd/ j94JsYj+/Vm7Uting2sRVmShZR2DnRc4g+3NrmEGAkeTqon4EVijnMd4BIKaYhq1AWD2gS 0V/stq5qvyknIOZ/HQg1v6Hi49TQAeOm8hQ8d04a5nELrSwIpFN/CtWtf2+Ymw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667935078; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fsbUUs4ARIWvN1FWve8mglfZJ9fPFZ8rVZizhGVB1+I=; b=BPBvkaOW9uh8UARJDe/Q4U/XDZxrK8CmYN1ROtb47NijnZUBgpk8rM8c1oLjH6m0VEyhcg Q/qavzgRws3lYb6kp45E3kovQgNSz98wPsBJF86OlsSBvIK3E7oKuE2Ou4Pt8KyEYg7ELa msrTRGD2+XnqSvZ4CP0GEnmiCpxg9Umjzh9vaLShvMpZTkDfAj15AJ8SB6nR6WACEz4hWQ rXxTxEBbsYL7jHkA8eW1Vi1mG7fzPuJKR/Ns15aFGMjhmBQcwfjeNJLnuNx3emI7wvWIj9 d5fjv6hPA9cfHcc0Eb4TXdLHJrXHXfXNJ922bla+svarvDr/t51usT4wkozzeQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1667935078; a=rsa-sha256; cv=none; b=U5tMPsQVJ59imzbNqSEOsjYSsVxgN0fzGj0FF/alzdGeIQiLqdedbzGiQDcF6vOBl0XbPo R/XyyE5pfkMfCmbLecW3gSuUK9dJANFQ8XEhNBHjDZtcahhDOuLohXl4bnu9JrS5f3VZ9y IKSU8dchnQxYDUBKm/qqoCVM6Bo//3IiivPi4DZhkfyJLx4WMnrCb0oFXwNS0pco0toCOb v+5Dl6Fxy1RSqDVdAyszQSUMixwfYJcC+Xmtqkj17s1nXd1ji3Eg36dCs8MA06FdABHmPs ASECioA6kAWQlSLQE1/6B6kRGDVdzUxrbZTo+hPD0Hc6tKjnZsP9s4KQ4USPag== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from aniel.nours.eu (nours.eu [176.31.115.77]) (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: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id 4N6HtZ4Y6zz14YS; Tue, 8 Nov 2022 19:17:58 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from [127.0.0.1] (191.44.201.77.rev.sfr.net [77.201.44.191]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aniel.nours.eu (Postfix) with ESMTPSA id 1826E1B5895; Tue, 8 Nov 2022 20:17:56 +0100 (CET) Date: Tue, 08 Nov 2022 20:17:54 +0100 From: Baptiste Daroussin To: Matteo Riondato , Mark Millard CC: dev-commits-src-main@freebsd.org Subject: =?US-ASCII?Q?Re=3A_git=3A_b7104f19147f_-_main_-_sendmail=3A_doc?= =?US-ASCII?Q?ument_that_sendmail=5Fenable_can_be_set_to_NONE?= User-Agent: K-9 Mail for Android In-Reply-To: <20221108191406.c7er3d6koulh5vom@ubertino.local> References: <0BC32C72-6996-49BB-AF50-CB3044D79687.ref@yahoo.com> <0BC32C72-6996-49BB-AF50-CB3044D79687@yahoo.com> <20221108191406.c7er3d6koulh5vom@ubertino.local> Message-ID: <7EE0DEE9-D72E-4F5E-9B71-A3FF1C62756D@FreeBSD.org> 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: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ThisMailContainsUnwantedMimeParts: N Le 8 novembre 2022 20:14:07 GMT+01:00, Matteo Riondato a =C3=A9crit=C2=A0: >On 2022-11-08 at 12:11 EST, Mark Millard wrote: >> Baptiste Daroussin wrote on Date: Tue, 08 Nov 2= 022 13:41:29 UTC : >>=20 >>> On Tue, Nov 08, 2022 at 08:07:46AM -0500, Matteo Riondato wrote: >>> > On 2022-11-07 at 06:50 EST, Baptiste Daroussin = > wrote: >>> > > diff --git a/libexec/rc/rc=2Econf b/libexec/rc/rc=2Econf >>> > > index a71a3fa4063d=2E=2E91b99780eae6 100644 >>> > > --- a/libexec/rc/rc=2Econf >>> > > +++ b/libexec/rc/rc=2Econf >>> > > @@ -596,7 +596,7 @@ allscreens_kbdflags=3D"" # Set this kbdcontrol= > > mode for all virtual screens >>> > > mta_start_script=3D"/etc/rc=2Esendmail" >>> > > # Script to start your chosen MTA, called by /etc/rc=2E >>> > > # Settings for /etc/rc=2Esendmail and /etc/rc=2Ed/sendmail: >>> > > -sendmail_enable=3D"NO" # Run the sendmail inbound daemon (YES/NO)= =2E >>> > > +sendmail_enable=3D"NONE" # Run the sendmail inbound daemon > > (Y= ES/NO)=2E >>> > >>> > The comment on the above line should probably be updated: > inexperi= enced >>> > users may not know that there is a difference between "NO" and > "NO= NE"=2E >>> > >>> > > sendmail_pidfile=3D"/var/run/sendmail=2Epid" # 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 >= > server) >>>=20 >>> You are not the first to report that, I have updated rc=2Econf a to ad= d "the NONE" value=2E >>=20 >> Also, from the commit: >>=20 >> QUOTE >> -sendmail_enable=3D"NONE" # Run the sendmail inbound daemon (YES/NO)=2E >> +sendmail_enable=3D"NONE" # Run the sendmail inbound daemon (YES/NO/NON= E)=2E >> END QUOTE >>=20 >> My guess is Matteo was after something more like the following text fro= m your commit notes: >>=20 >> QUOTE >> setting sendmail_enable to NONE (which is now the default) turns all th= e sendmail_*_enable variables to NO >> END QUOTE >>=20 >> In other words, documenting what is different about NONE vs=2E NO beyon= d the spelling distinction=2E > >Indeed the issue that I intended to raise was that, AFAIK, there is no do= cumentation, for NONE, except if one reads and understands /etc/rc=2Ed/send= mail=2E It is something that is known by people "in the know", and probably= mentioned by a some online tutorials, but I don't think there is anything = "official"=2E > >Even the handbook, in the section about changing MTA >(https://docs=2Efreebsd=2Eorg/en/books/handbook/mail/#mail-changingmta) d= oes not mention NONE, but explicitly sets the four variables to NO=2E > >(Side note: it seems that when this change will be integrated in some -ST= ABLE branch, or when 14 becomes -STABLE, a large update to the relevant sec= tions of the Handbook will be needed) > >Thanks, >Matteo It is documented as deprecated in rc=2Esendmail(8) Besr regards, Bapt