From owner-freebsd-hackers@freebsd.org Thu Apr 6 00:30:18 2017 Return-Path: Delivered-To: freebsd-hackers@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 87A2BD30D5A for ; Thu, 6 Apr 2017 00:30:18 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from mx1.scaleengine.net (mx1.scaleengine.net [209.51.186.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CF6461 for ; Thu, 6 Apr 2017 00:30:17 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from [10.1.1.2] (unknown [10.1.1.2]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id CC561D009 for ; Thu, 6 Apr 2017 00:30:10 +0000 (UTC) Subject: Re: Sendmail conf files To: freebsd-hackers@freebsd.org References: <481fef207e2e457cb4f8a689d0ce4373@SERVER.ad.usd-group.com> From: Allan Jude Message-ID: <24d5d278-0e95-15bb-f6a1-7132c861ce4e@freebsd.org> Date: Wed, 5 Apr 2017 20:29:54 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <481fef207e2e457cb4f8a689d0ce4373@SERVER.ad.usd-group.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fRlBBNMXXmXJ4128MKn32pwcmchE2BHiX" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Apr 2017 00:30:18 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --fRlBBNMXXmXJ4128MKn32pwcmchE2BHiX Content-Type: multipart/mixed; boundary="ncqiBbPimLdILGhuueXVELNBgnN8iWcX1"; protected-headers="v1" From: Allan Jude To: freebsd-hackers@freebsd.org Message-ID: <24d5d278-0e95-15bb-f6a1-7132c861ce4e@freebsd.org> Subject: Re: Sendmail conf files References: <481fef207e2e457cb4f8a689d0ce4373@SERVER.ad.usd-group.com> In-Reply-To: <481fef207e2e457cb4f8a689d0ce4373@SERVER.ad.usd-group.com> --ncqiBbPimLdILGhuueXVELNBgnN8iWcX1 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2017-03-30 15:19, Matt Churchyard via freebsd-hackers wrote: > Hello, >=20 >=20 > Not sure if this is the right list for this.. >=20 >=20 > For me the most awkward part of updating a system using freebsd-update = is when it comes to merging files. The most common files that pop up seem= to be /etc/mail/sendmail.cf & /etc/mail/submit.cf, because these are inc= luded in the base distribution and almost certainly change if you actuall= y use Sendmail. >=20 >=20 > In most cases this sort of issue has been solved by providing "default = files" such as /etc/defaults/rc.conf, and letting the user override this = with files they create themselves. Obviously there is a concerted effort = to make sure users don't have to edit base files where possible so that t= hey don't get these sort of issues. >=20 >=20 > For Sendmail, would it not make sense to remove these 2 .cf files from = base and update the sendmail rc.d script to run 'make install' in /etc/ma= il if they don't exist? It may also be nice if the freebsd.* files were s= tored somewhere else such as /usr/share/sendmail, as these just causes co= nfusion about which files are actually used if you're new to it. >=20 >=20 > Personally I'm on the side that would rather have Sendmail removed enti= rely and replaced with a simple smtp submission daemon/lda but I think th= at discussion has already been had. >=20 >=20 > - >=20 > Matt Churchyard > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.o= rg" >=20 I have a background project going on to replace as many config files as I can with new ones written in a common syntax called UCL (Universal Config Language, what pkg uses). The idea will be to have a defaults file, then override it with your own file, and/or a directory of fragments (/etc/foo.d/*.conf). Sendmail is not on the list to get fixed, but most other tools are. --=20 Allan Jude --ncqiBbPimLdILGhuueXVELNBgnN8iWcX1-- --fRlBBNMXXmXJ4128MKn32pwcmchE2BHiX Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJY5YwHAAoJEBmVNT4SmAt+Y/sP/3O+KX3u+w0XPTW7khnW3BeE WWAh90VIJuTZlLgfekR7zvo+f0GyX7++gNJ+JOz/A17bF7+qHZaheVpXL1dCkxpf zX/nUGZRdxqo7Ag1XagwJR/nSTgyMGAVf8AITut1XKRtgVoB+qt5w0aGMcAub6Yc d367WKywHYsnPxuqvMZxAiAIHpZffwj0GTWT5sQZF/4j9HkFUrZZFckf84kuPJwH m2nWS6e2P//QlEcU7j2OdAGW4qhp6r8b2hQi0oIRGyKDb2oxnqvf5nzKyVmmfbLt OZbdpm2Oc++rLQIMjrQurVvuInBPotvgf5nCIkMlZ9clkN9BaMG+AD5umXOBplJW e9nbs1+8/PTx4Sd3T+Y+iy3JAu+lRGGlfN8WUyzH5vQ5EHCdmAAf/fJ3xCUhBjAd 4Qsy7d5AelQBIQaHcr0uIV1bkqUb+4Dy4FLZTuutLA6NI58nM4ln6OTFB985Qc/7 fQTGAUjIKEGWdwOalFVlogHLk1fxC/XxIkGnCRQa3vMS1QQT5cGPOVOLHtgeBpQP XF37Fn2rqNk3lNuakJ7heC+gzvdbj3L406MGW/VIzGwR28xrXA/bMIfH5ELixRUl Sf29e77sFmHVgo1xNZPk7+6Se+ZB3q2cHUPFTVn7DzaaOnYk0WJ4nl6OFyoCTzMX SFZ+gRoYmOot39Atdmbi =pNVp -----END PGP SIGNATURE----- --fRlBBNMXXmXJ4128MKn32pwcmchE2BHiX--