From owner-freebsd-arch@freebsd.org Wed Dec 13 07:04:48 2017 Return-Path: Delivered-To: freebsd-arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3527EE93752 for ; Wed, 13 Dec 2017 07:04:48 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id CFEC564F98 for ; Wed, 13 Dec 2017 07:04:47 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (unknown [IPv6:2001:8b0:151:1:5806:dae1:c481:686c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id D6E67DDCC for ; Wed, 13 Dec 2017 07:04:44 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org Subject: Re: RFC: Sendmail deprecation ? To: freebsd-arch@freebsd.org References: <201712111451.vBBEpjIW081611@pdx.rh.CN85.dnsmgr.net> <20171211195938.dxfji2pf2sq63my7@chittenden.org> <87882E8D-4A55-4F72-A897-7FD0FCD28DDB@freebsd.org> <4C07192B-7B02-4A39-BEE5-CF60C6B2A335@freebsd.org> From: Matthew Seaman Message-ID: <28aa78af-bab6-b989-ade5-323a107b5842@FreeBSD.org> Date: Wed, 13 Dec 2017 07:04:43 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="okIeaOWbxw9n9ONFIGdSf1r8u3aLHJMJ8" X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Dec 2017 07:04:48 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --okIeaOWbxw9n9ONFIGdSf1r8u3aLHJMJ8 Content-Type: multipart/mixed; boundary="duQaC9HqsM6cswk8MMscJ2Kl3f1VctWNj"; protected-headers="v1" From: Matthew Seaman To: freebsd-arch@freebsd.org Message-ID: <28aa78af-bab6-b989-ade5-323a107b5842@FreeBSD.org> Subject: Re: RFC: Sendmail deprecation ? References: <201712111451.vBBEpjIW081611@pdx.rh.CN85.dnsmgr.net> <20171211195938.dxfji2pf2sq63my7@chittenden.org> <87882E8D-4A55-4F72-A897-7FD0FCD28DDB@freebsd.org> <4C07192B-7B02-4A39-BEE5-CF60C6B2A335@freebsd.org> In-Reply-To: --duQaC9HqsM6cswk8MMscJ2Kl3f1VctWNj Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable On 13/12/2017 00:42, Don Lewis wrote: > On 12 Dec, Daniel Eischen wrote: >> >>> On Dec 11, 2017, at 7:11 PM, Conrad Meyer wrote: >=20 >>> mail/sendmail has been available as a port since 2000. >> >> But that port reportedly doesn't have the FreeBSD configuration files >> that we have in base. You'd be pushing the burden of maintaining them= >> onto the ports maintainer, making sure they work on all supported >> branches; they may not want that responsibility. >=20 > I haven't played with the port, but it may well be looking for the > existing config files in /etc and not look in ${LOCALBASE}/etc at all. > If that is the case, then if you modify the port to look in > ${LOCALBASE}/etc, you'll break things for everybody who currently uses > the port. If you try to limit that problem by having the port look at > ${LOCALBASE}/etc only for FreeBSD versions where sendmail is removed > from base, it complicates the port and the transition will still be > messy for anyone who is using the binary packages that we distribute. I don't use sendmail for my principle MTA any more, but I used to run the ports version of sendmail with the standard FreeBSD sendmail config bits in /etc/mail and the rc scripts from /etc/rc.d, since those aren't in the ports version yet. As I recall, it took about two variables in /etc/rc.conf to make that setup use the .mc library files installed by the port to build the sendmail config. To run everything out of ${LOCALBASE}/etc/mail, the port basically needs to take four files from the base system: /etc/rc.d/sendmail, /etc/mail/freebsd.mc, /etc/mail/freebsd.submit.mc and /etc/mail/Makefile. These can be copied into the port with minor changes, plus possibly with the addition one or two sample database files. All that can be installed conditionally on FreeBSD versions where the base sendmail has been removed, something that's quite common in the ports, and will not add much in the way of complexity to what is already a very complex port. All in all, not really an impediment to removing sendmail from base. Cheers, Matthew --duQaC9HqsM6cswk8MMscJ2Kl3f1VctWNj-- --okIeaOWbxw9n9ONFIGdSf1r8u3aLHJMJ8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQKoBAEBCgCSFiEEGfFU7L8RLlBUTj8wAFE/EOCp5OcFAlow0QxfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDE5 RjE1NEVDQkYxMTJFNTA1NDRFM0YzMDAwNTEzRjEwRTBBOUU0RTcUHG1hdHRoZXdA ZnJlZWJzZC5vcmcACgkQAFE/EOCp5OfAwRAAjE8vgw5E+8Jmh6b17aqb7Z6setVK 2x5MtAG/0q8ql12POtkjC9PVABZEzX4ZhxqaEvvzp5zgH35KIyqIGR6+yAQIsAVX sZ80IKc0Z8EytK2hCiXzM5BIXJB42h7FejULGrndAKFHYombkJ4AT7htWwr1vHv+ j77ADpt2ZL5DYrWew6ZFI+BAQNEc0delbbxNUO7W/b1vGkO+1UE/5CNlhLCC90Zy R99z4IQEHluXsAzJywIf3A4V5ac94JfEC0T7X+ywJemapwQ9gBovYxfH272BzZLy ZjKfki8k6w7Nj63L8Kg7BpjuY5xQhGuWASh2lt+qHTs5LrepJFpgO9j16AuFtRbt MvaEu2z6W9Loc6+EpKOZdFfksswHOT6wMWj0RZwNNh/NBjHTZsK5O/dLNZTyr4uK 2eMqIjRWIdrFltUOP9Q1ApZxfSHXQEUIeex9JaL4iMaJZheuhaFZ65OOBEhOnoGj fPcV8Y2S+/x3PRclWC+JvlB1Y6pH6cHduc3v3WvNDkJZkLK35c8T2UfhJ7i8gfLY 13VoZYc5Yxaa6QEmDMcQFbXUetc24TDjcb7msd4PHgATRvGtrcEyjFnyY76IOXS4 y+RNe6wa4V94YTJbJS5qpYV2q09EGsrvw6ooJ/Dq91T2OyobyJdCiKe5IUKP5aix FLHMDEqU8hFZ8Ts= =9mV8 -----END PGP SIGNATURE----- --okIeaOWbxw9n9ONFIGdSf1r8u3aLHJMJ8--