Re: Dragonfly Mail Agent (dma) in the base system

From: Steffen Nurpmeso <steffen_at_sdaoden.eu>
Date: Fri, 28 Jan 2022 00:18:50 UTC
Ed Maste wrote in
 <CAPyFy2Cu-TJk5zkJ5qGgJa62b7BVE__Hv2huM-f-ALzxo9AiQw@mail.gmail.com>:
 |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)