From nobody Fri Jan 28 00:18:50 2022 X-Original-To: freebsd-current@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 68F2E1978712; Fri, 28 Jan 2022 00:19:00 +0000 (UTC) (envelope-from steffen@sdaoden.eu) Received: from sdaoden.eu (sdaoden.eu [217.144.132.164]) (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) by mx1.freebsd.org (Postfix) with ESMTPS id 4JlJ3R4Y8Pz54qS; Fri, 28 Jan 2022 00:18:59 +0000 (UTC) (envelope-from steffen@sdaoden.eu) Received: from kent.sdaoden.eu (kent.sdaoden.eu [10.5.0.2]) by sdaoden.eu (Postfix) with ESMTPS id BA7A016057; Fri, 28 Jan 2022 01:18:51 +0100 (CET) Received: by kent.sdaoden.eu (Postfix, from userid 1000) id 23B7039C1; Fri, 28 Jan 2022 01:18:50 +0100 (CET) Date: Fri, 28 Jan 2022 01:18:50 +0100 Author: Steffen Nurpmeso From: Steffen Nurpmeso To: Ed Maste Cc: FreeBSD Hackers , FreeBSD Current Subject: Re: Dragonfly Mail Agent (dma) in the base system Message-ID: <20220128001850.FBYGI%steffen@sdaoden.eu> In-Reply-To: References: Mail-Followup-To: Ed Maste , FreeBSD Hackers , FreeBSD Current User-Agent: s-nail v14.9.23-224-g6440afd04d OpenPGP: id=EE19E1C1F2F7054F8D3954D8308964B51883A0DD; url=https://ftp.sdaoden.eu/steffen.asc; preference=signencrypt BlahBlahBlah: Any stupid boy can crush a beetle. But all the professors in the world can make no bugs. X-Rspamd-Queue-Id: 4JlJ3R4Y8Pz54qS X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of steffen@sdaoden.eu designates 217.144.132.164 as permitted sender) smtp.mailfrom=steffen@sdaoden.eu X-Spamd-Result: default: False [-0.30 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[sdaoden.eu]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_SPAM_SHORT(1.00)[1.000]; TO_DN_ALL(0.00)[]; MID_CONTAINS_FROM(1.00)[]; MLMMJ_DEST(0.00)[freebsd-current,freebsd-hackers]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15987, ipnet:217.144.128.0/20, country:DE]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Ed Maste wrote in : |The Dragonfly Mail Agent (dma) is a small Mail Transport Agent (MTA) |which accepts mail from a local Mail User Agent (MUA) and delivers it |locally or to a smarthost for delivery. dma does not accept inbound |mail (i.e., it does not listen on port 25) and is not intended to |provide the same functionality as a full MTA like postfix or sendmail. |It is intended for use cases such as delivering cron(8) mail. | |Since 2014 we have a copy of dma in the base system available as an |optional component, enabled via the WITH_DMAGENT src.conf knob. | |I am interested in determining whether dma is a viable minimal base |system MTA, and if not what gaps remain. If you have enabled DMA on |your systems (or are willing to give it a try) and have any feedback |or are aware of issues please follow up or submit a PR as appropriate. I used it for years and even maintained a package for a Linux distribution (CRUX) until last October, and i think maybe even AlpineLinux before? I know for sure i maintained a package with Author: emaste Date: Fri Oct 27 20:21:09 2017 New Revision: 325047 URL: https://svnweb.freebsd.org/changeset/base/325047 patched on top of it for years. Very basic usage, only local delivery. But i plan to readd the package as part of the postfix-lmdb package i maintain, because, you know, postfix's sendmail(1) and local deliveries need read access to the postfix configuration, and as part of my effort to totally box (unshare + overlay mount) all my daemons which cross ingress/egress (and place their config under /root/hosts/$HOSTNAME), it's need to access /etc/postfix-lmdb is in the way. (The plan is thus to make dma "part of this package" and make it provide /usr/sbin/sendmail, configured to proxy to local SMTP, where postfix then regulary sits.) --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)