From nobody Sat Oct 15 16:58:03 2022 X-Original-To: arch@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 4MqTwG4fdWz4fGjb for ; Sat, 15 Oct 2022 16:58:06 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from omta001.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MqTwF6XP9z3x88; Sat, 15 Oct 2022 16:58:05 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from shw-obgw-4002a.ext.cloudfilter.net ([10.228.9.250]) by cmsmtp with ESMTP id jdOIoDyoPS8WrjkU9oyjQn; Sat, 15 Oct 2022 16:58:05 +0000 Received: from spqr.komquats.com ([70.66.148.124]) by cmsmtp with ESMTPA id jkU7ouN90zeTTjkU8ofjLY; Sat, 15 Oct 2022 16:58:05 +0000 X-Authority-Analysis: v=2.4 cv=EY/b/dqC c=1 sm=1 tr=0 ts=634ae69d a=Cwc3rblV8FOMdVN/wOAqyQ==:117 a=Cwc3rblV8FOMdVN/wOAqyQ==:17 a=kj9zAlcOel0A:10 a=Qawa6l4ZSaYA:10 a=6I5d2MoRAAAA:8 a=YxBL1-UpAAAA:8 a=EkcXrb_YAAAA:8 a=4PlNfG6tGf47BuXimjgA:9 a=CjuIK1q_8ugA:10 a=UJ0tAi3fqDAA:10 a=IjZwj45LgO3ly-622nXo:22 a=Ia-lj3WSrqcvXOmTRaiG:22 a=LK5xJRSDVpKd5WXXoEvA:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTP id 479B1232; Sat, 15 Oct 2022 09:58:03 -0700 (PDT) Received: by slippy.cwsent.com (Postfix, from userid 1000) id 281901A1; Sat, 15 Oct 2022 09:58:03 -0700 (PDT) X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7+dev Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Baptiste Daroussin cc: Cy Schubert , arch@freeBSD.org Subject: Re: Switching from sendmail to Dragonfly Mail Agent by default In-reply-to: References: <20221013130533.n33j6fziwkqnjppc@aniel.nours.eu> <20221015155131.7E9137C@slippy.cwsent.com> Comments: In-reply-to Baptiste Daroussin message dated "Sat, 15 Oct 2022 18:44:36 +0200." List-Id: Discussion related to FreeBSD architecture List-Archive: https://lists.freebsd.org/archives/freebsd-arch List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arch@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 15 Oct 2022 09:58:03 -0700 Message-Id: <20221015165803.281901A1@slippy.cwsent.com> X-CMAE-Envelope: MS4xfJhC2mGs9UJA4V01bugmN80nKVA2pDzBkYT1IY4r6gMKuNo5Hf7rlduVizYhxDnkJ5+a0D1bQrg8gAM1anT4McH/ZOXtOdGlGH9o/YGAPggqDdIoUZmp w6FahA563cNlFq+EHSMTDR0INkprddmPODFs2WGZfP1olY0IEU7zgtvDDRol3+/E51ieTLhLX+7JuPe9H2tQXIJ2XQVwgw1kHPcCyFAP+Ktz1kINSM4hBvSi X-Rspamd-Queue-Id: 4MqTwF6XP9z3x88 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of cy.schubert@cschubert.com has no SPF policy when checking 3.97.99.32) smtp.mailfrom=cy.schubert@cschubert.com X-Spamd-Result: default: False [-1.69 / 15.00]; AUTH_NA(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_HAM_LONG(-0.99)[-0.989]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[3.97.99.32:from]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:16509, ipnet:3.96.0.0/15, country:US]; R_SPF_NA(0.00)[no SPF record]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[arch@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_LAST(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[cschubert.com: no valid DMARC record]; HAS_REPLYTO(0.00)[Cy.Schubert@cschubert.com] X-ThisMailContainsUnwantedMimeParts: N In message , Baptiste Darouss in writes: > > > > Le 15 octobre 2022 17:51:31 GMT+02:00, Cy Schubert t=2Ecom> a =C3=A9crit=C2=A0: > >In message <20221013130533=2En33j6fziwkqnjppc@aniel=2Enours=2Eeu>, Baptis= > te=20 > >Daroussin > > writes: > >> Hello everyone, > >> > >> As of today, on a default FreeBSD setup, a mailer agent is configured i= > n orde > >> r > >> to be able to distribute locally emails (from crontab for example) and/= > or for > >> relaying those emails=2E This role has been served by a stripped down v= > ersion o > >> f > >> sendmail up to now=2E By stripped down, I mean it is built without the = > support > >> for feature that would make it a full featured MTA, like no support for= > ldap=2E > >> > >> Long time ago we have imported Dragonfly Mail Agent, a minimalistic MTA= > born > >> within the Dragonfly Project, covering exactly those needs and only tho= > se=2E > >> > >> It has matured slowly over the time and we believe we have addressed al= > l the > >> major issues reported preventing it from being the default=2E > >> > >> For FreeBSD 14 we would like to activate it by default=2E > >> > >> It means: > >> - install by default mailer=2Econf from dma (and install the one from s= > endmail > >> in /usr/share/example/sendmail) > >> - activate sendmail_enable=3DNONE by default in /etc/default/rc=2Econf > >> - make mailwrappe fallback on dma=2E > >> > >> If noone brings an obvious blocker, this change will happen in the next= > coupl > >> e > >> of weeks! > > > >We should add a comment suggesting that if people forward email they shou= > ld=20 > >install one of the packages=2E > > > >A little background: > > > >My site here at home is primarily postfix with a single machine (sandbox)= > =20 > >running sendmail=2E I had switched the sandbox machine's MTA from sendmai= > l to=20 > >dma=2E The sandbox machine's aliases(5) forwards root's email to an alias= > on=20 > >my gateway which in turn sends it to me (stored in an MH folder using=20 > >procmail for later viewing)=2E This broke because dma doesn't honour alia= > ses;=20 > >root's mailbox on the sandbox machine contained all root's email that=20 > >should have been forwarded=2E > > > > dma do support alias (not .forward) That's what happened. I couldn't recall exactly. The .forward on that machine is on an NFS share. > > >As dma is a local-only delivery agent we should explain this to avoid POL= > A=20 > >following new installs, giving the user the option to install postfix, ex= > im=20 > >or sendmail from packages=2E A local delivery agent is all that's needed = > to=20 > >support a fresh new install until the sysadmin can install any needed=20 > >packages to support their application=2E > > > > dma is not a local-only delivery agent, it does also support relaying as s= > tated in my initial email. > > Bapt -- Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org e^(i*pi)+1=0