From nobody Sat Oct 15 16:44:36 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 4MqTcp2VRpz4fFC5 for ; Sat, 15 Oct 2022 16:44:42 +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 4MqTcp20j6z3whp; Sat, 15 Oct 2022 16:44:42 +0000 (UTC) (envelope-from bapt@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665852282; 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=6KTQV6xmRs6dtq2jjjlN+b3hBpRhzlVJrTgFOVrxxuQ=; b=ALWQ4CATJlZgSz9GxttsCBQ8s8fY7dMHBInvz73zGkv9lyczXt7m20Nl71iz0UOTqyj1Zb XknN8YrCrWq1dCD1eyLV4ab7GtICrP8RHYc8g4/hSwHKmrYGirzoHYadvWxDae1Onlqyuh prvyvnam804TGmWFrFyedT+eUVYjSQOg61Piskjeh3SWILEjiQuWgKQ9rQTU3QaGQZL9bC x5dfUXX1jfm92vBWIp8R5IZSwe5keNLy/OhFB610Ehskmz+vtwrdOQnWPkrCAZpgJc0YHO jrpc05EbTGxy7cbqvZSK76C9qgSPJxmmDzNuWP2C4X2sRu/JydHkXF394y7kfg== Received: from aniel.nours.eu (nours.eu [IPv6:2001:41d0:8:3a4d::1]) (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 4MqTcp0Fn5z1KRd; Sat, 15 Oct 2022 16:44:42 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from [IPv6:::1] (2a02-8428-078f-2201-9776-90a3-bcb0-86f1.rev.sfr.net [IPv6:2a02:8428:78f:2201:9776:90a3:bcb0:86f1]) (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 1B43D185DB9; Sat, 15 Oct 2022 18:44:38 +0200 (CEST) Date: Sat, 15 Oct 2022 18:44:36 +0200 From: Baptiste Daroussin To: Cy Schubert CC: arch@freeBSD.org Subject: Re: Switching from sendmail to Dragonfly Mail Agent by default User-Agent: K-9 Mail for Android In-Reply-To: <20221015155131.7E9137C@slippy.cwsent.com> References: <20221013130533.n33j6fziwkqnjppc@aniel.nours.eu> <20221015155131.7E9137C@slippy.cwsent.com> Message-ID: 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=utf-8 Content-Transfer-Encoding: quoted-printable ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665852282; 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=6KTQV6xmRs6dtq2jjjlN+b3hBpRhzlVJrTgFOVrxxuQ=; b=B1iTA/vZWcwVYTtSLG4fvAtxgx/xf3OO7slOH8l9mjHf3KJJjfcmElH7IWuHvmOa3vbW+J MV7rOJpcrVFkqujK/nOv/zdFEfROJUJ9ejj4yTtAzIqo8BNN531N8TqqSuAELhCibqc8Vd C8kpzXRh1dK2ThtsRh+Adwjc7HyD0XMkP293CsZuY8uxKO9FTB5nnHnV/Z6F8rAuPpZV7S +Q0VAwGVs9Vb1ZEQyjjK2+nk+jKw/Kyhjjov81Y1Gt3OgP0H6jw4SFKjSW420NxRPGBUPt WVcRce66VQ0pw2zW3Dj9s30QnA7J/Iwi7uK5hxccgs/AaGbXkzJDyRChFQgREw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665852282; a=rsa-sha256; cv=none; b=rSMSOdODT5s7SjesQQ8q2Aj038rTS2jnjg9plzHlU3j0I9Iy2IOkhubEQERCwukqqsFyjV rUEA8rjkr5RiigiKus8WOWsgNuHTwH4fJWzcP5bYCWpFWtLqFForqPDEb0084Iqa5yVO5T IWWUxRORi0V4VrmZ42hF0j3u7UbTyV6p+NiwstWrK63QQKu2al/HN2ntn7WkdXAzSaFPaL FBbtbi5A5sw5A/MYG1QH/3KuOV+Xgkog1t7AR6XHu5nQEXKgowFFd+j4T2yQYbVgPwe9UR 3dsCItmlt0drPow7jBWLFvIRGAwvImXHv+jDqp/bSoEtYt2L5eoDGMWIIChkGw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N Le 15 octobre 2022 17:51:31 GMT+02:00, Cy Schubert 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 =2Eforward) >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