From nobody Thu Nov 10 16:11:30 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 4N7RfX2nDdz4dD7C; Thu, 10 Nov 2022 16:11:32 +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 4N7RfX2DWqz3Lvn; Thu, 10 Nov 2022 16:11:32 +0000 (UTC) (envelope-from matteo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668096692; 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=QR2McE0J1wT/PoN8heXyG2H2ZPRmrrX5aqrpeswgOcU=; b=FKk12pUtdcfsvpS8Oloe8zrF1kAvQTcOfsZxaogAYoc1DIkMX08uqWo7s5/GishJnSC+ES V2CiyXMCHAebo3YumbuFjnVWtfF6UG82zBZhAMaK6tdLEanq/uNPIbQBepsuvJR/e27JLx 827bwX0l9IpEeEnsKGUN51MfwK93g53ZM+GQKrSWq+cPbVKSTJE0n4EiJTnUuh74tJ/3MY /7xqvzcyf3vIBYYxqRjVUgzekvCvwJUtNYxMS3gnvQIVFM/J0Ty5dUmwJvpnP8r4DBpWqe jgLrv3maYqEePa120fsK34lvzJs4LLWCXaqmP+wgji35fNzpCxU3+vp7ekhcIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668096692; 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=QR2McE0J1wT/PoN8heXyG2H2ZPRmrrX5aqrpeswgOcU=; b=bqiJcALogeZPbgBDCjF47TGjap/qtGmY+hl6c39t43U+fXGbzzS38Acyshy+2wb3Fti8Kq ol25mgJrDgjBPTNNNjALG99d1Ut+x/1n1oSHPUPI+Acd4wdcc2KZ6PhnqtCAavoxb6S/Hy pwPfXJ/ZgS7TLaqtpE4xE8EJlYZm+g+K/kOLI6nomFr+ri9LewKysCB84kmnUcRXLOQsRP /fWGKrugzQk6/Rxv/RIiaDyS2Ynul2M83NyE9lRltT0D0vd0Pip0UGycTfZBAFYI9eWJUj bLjhJtJPhOmjU1ScdWd6AjWOSn6BPCRdhzsE1M7QOf/Fiug9v5sREcOOfFojzQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668096692; a=rsa-sha256; cv=none; b=I2bSeUOHZYeBiokcmOWCrcAVObStZgg+elawMRZLnMB4cvDD3BiM0iSg/k/tbFIpPMALTe jCagygKhPx5NvCU2015BJTJuJUqfoUAATQRlTa/faQxLPJmlwvDT4aHTy2uVm1coRBWmN6 6g23eB6XxEwdB3ha5XcFdqtk9MzPFsAOiak4MtynFeHFxTopMf5FTvVqdDPGGPHAmA6lUH qFPLRsf3p+VmmECMYMkN5H1h5QSer98Z96xBqC2TC0c6hKV1EZMkEFy9shceSfWWRJkeCS NQEducJeU8+xZaqGAvCy8ITTCSqoJXEE5+FdWSkhqXKtIATfy9cSYvjeUpFlIg== 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 4N7RfX0K63zcm3; Thu, 10 Nov 2022 16:11:32 +0000 (UTC) (envelope-from matteo@freebsd.org) Date: Thu, 10 Nov 2022 11:11:30 -0500 From: Matteo Riondato To: Baptiste Daroussin Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: 0b1adc42a15c - main - rc.sendmail: remove unused script Message-ID: <20221110161130.jtfpebtjyak22rtd@ubertino.local> X-PGP-Key: http://rionda.to/files/matteogpg.asc References: <202211091557.2A9FvdQ4072042@gitrepo.freebsd.org> <20221109174947.ykci234inrgiz7wi@ubertino.local> <4C690EC7-3D87-416B-934F-452801EE0EC8@FreeBSD.org> <20221110140106.rwup6yssxwaikp4d@ubertino.local> <20221110141850.pcbfdvzxeggn6zxm@aniel.nours.eu> 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="4f77qe6hqevbbrb4" Content-Disposition: inline In-Reply-To: <20221110141850.pcbfdvzxeggn6zxm@aniel.nours.eu> X-ThisMailContainsUnwantedMimeParts: N --4f77qe6hqevbbrb4 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2022-11-10 at 09:18 EST, Baptiste Daroussin wrote: >On Thu, Nov 10, 2022 at 09:01:06AM -0500, Matteo Riondato wrote: >> >> A few rough corners I still see: >> >> 1) sendmail_cert_create should perhaps be set to NO in rc.conf, or=20 >> the call to sendmail_cert_create() in rc.d/sendmail should also=20 >> depend on some form of sendmail being enabled. The former action=20 >> seems easier. > >Don't know, this has always been like this for a while. Yeah, I see pros and cons of changing it, so not touching it may be wise=20 =3D) >> 2) the role of rc.d/othermta is quite bizarre, especially now that it=20 >> checks for a non-existing script (/etc/rc.sendmail). I wonder whether=20 >> it should be retired, together with the rc.conf variable=20 >> mta_start_script (which now is set to a non-existing script). It=20 >> feels like a relic from a long gone past. > >https://lists.freebsd.org/archives/freebsd-arch/2022-November/000264.html > >It is a relic from the past (unused for 20 years) Glad we agree. I should probably start following arch@ again. =3D) >> >> 3) the comments on some of the sendmail_* variables in rc.conf=20 >> mention a generic "MTA", but perhaps they should say "sendmail", as=20 >> that's not the one-and-only MTA. >I am open to proposals/patches (Can't promise cut and paste will work correctly) diff --git a/libexec/rc/rc.conf b/libexec/rc/rc.conf index 50fed07df1..b5d908e38b 100644 --- a/libexec/rc/rc.conf +++ b/libexec/rc/rc.conf @@ -596,21 +596,21 @@ allscreens_kbdflags=3D"" # Set this kbdcontrol mod= e 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.d/sendmail: -sendmail_enable=3D"NO" # Run the sendmail inbound daemon (YES/NO/NONE). +sendmail_enable=3D"NO" # Start a inbound/outbound sendmail daemon (YES/N= O/NONE). # If NONE, don't start any sendmail processes. 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 server) +sendmail_flags=3D"-L sm-mta -bd -q30m" # Flags to sendmail (as inbound/out= bound server) sendmail_cert_create=3D"YES" # Create a server certificate if none (Y= ES/NO) -#sendmail_cert_cn=3D"CN" # CN of the generate certificate -sendmail_submit_enable=3D"NO" # Start a localhost-only MTA for mail sub= mission +#sendmail_cert_cn=3D"CN" # CN of the generated certificate +sendmail_submit_enable=3D"NO" # Start a localhost-only sendmail for mai= l submission sendmail_submit_flags=3D"-L sm-mta -bd -q30m -ODaemonPortOptions=3DAddr= =3Dlocalhost" - # Flags for localhost-only MTA -sendmail_outbound_enable=3D"NO" # Dequeue stuck mail (YES/NO). -sendmail_outbound_flags=3D"-L sm-queue -q30m" # Flags to sendmail (outboun= d only) -sendmail_msp_queue_enable=3D"NO" # Dequeue stuck clientmqueue mail (YES/NO= ). + # Flags for localhost-only sendmail +sendmail_outbound_enable=3D"NO" # Start an outbound-only sendmail (YES/NO= ). +sendmail_outbound_flags=3D"-L sm-queue -q30m" # Flags to outbund-only send= mail +sendmail_msp_queue_enable=3D"NO" # Start a clientmqueue runner sendmail (Y= ES/NO). sendmail_msp_queue_flags=3D"-L sm-msp-queue -Ac -q30m" - # Flags for sendmail_msp_queue daemon. + # Flags for clientmqueue runner sendmail sendmail_rebuild_aliases=3D"NO" # Run newaliases if necessary (YES/NO). Thanks, Matteo --4f77qe6hqevbbrb4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJHBAABCgAxFiEEa9uKZL0hP4E8Nl5vGwL9SVQlVQEFAmNtIrITGGhrcHM6Ly9w Z3AubWl0LmVkdQAKCRAbAv1JVCVVAS1IEAC5n/3ZSVTiq67htKViVgkUEpxON+C1 lIMe3QgqAvu1uSCU2LhkXvdZqHgpgjEKTcNE4KE/vgsWwR7ILygmOVVhW1cT//Ft LQLRY0uMvcBNVLgChxd+Qg8/gYD8VUfkLX/r2RS4KyMc5M/t50dlZab+QyfsE818 wphTsiObMCqWUJpcIgEDwmtDGdSeJHLZauzvjUBlSLJVDVBPIEV/Goxo034gpill Kl9g2M8/B9QagvdAWVDXrN85eMRR6OPs/Iq+iLRn8CnePD2LbUF14gwvbv27ETx7 0CqLmQB7m1YoQSSkETWbb7l8FTJtn3gp6UWjW137qo67FVxbSPZBUf0wFusv1j1k Mm9tw3LKsi/JrCLPzenaNI2JyZZchYFUdZlBGxgtOkMGIsZmyfwhSbw+z5/K34ma 2AC/DZf996aG3orch0If+d73nLlPczorsM1tSMZBqpKD6+yjRyqNMHddAfr7n3xn TSAFm1RqsGEsN8Evafcua29CujDeZfCQUueh8PnTjfh6kOkKzaHm3Pkq7xA126fF zooecj8WNdsNxkvk2oBO4hLunYybIgVb+bFES7XK+qzJplywVI/qL2+TriBeE+U0 CyybUh5uUPPRoVHZO4JV/GM621JwjONHhvd1woMXhaLl9/IQzCNgm3mTmvq1soMu iTTJc1oBriHY/w== =r6gs -----END PGP SIGNATURE----- --4f77qe6hqevbbrb4--