Re: Switching from sendmail to Dragonfly Mail Agent by default

From: Baptiste Daroussin <>
Date: Sat, 15 Oct 2022 16:44:36 UTC

Le 15 octobre 2022 17:51:31 GMT+02:00, Cy Schubert <> a écrit :
>In message <>, Baptiste 
> writes:
>> Hello everyone,
>> As of today, on a default FreeBSD setup, a mailer agent is configured in orde
>> r
>> to be able to distribute locally emails (from crontab for example) and/or for
>> relaying those emails. This role has been served by a stripped down version o
>> f
>> sendmail up to now. 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.
>> Long time ago we have imported Dragonfly Mail Agent, a minimalistic MTA born
>> within the Dragonfly Project, covering exactly those needs and only those.
>> It has matured slowly over the time and we believe we have addressed all the
>> major issues reported preventing it from being the default.
>> For FreeBSD 14 we would like to activate it by default.
>> It means:
>> - install by default mailer.conf from dma (and install the one from sendmail
>>   in /usr/share/example/sendmail)
>> - activate sendmail_enable=NONE by default in /etc/default/rc.conf
>> - make mailwrappe fallback on dma.
>> 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 should 
>install one of the packages.
>A little background:
>My site here at home is primarily postfix with a single machine (sandbox) 
>running sendmail. I had switched the sandbox machine's MTA from sendmail to 
>dma. The sandbox machine's aliases(5) forwards root's email to an alias on 
>my gateway which in turn sends it to me (stored in an MH folder using 
>procmail for later viewing). This broke because dma doesn't honour aliases; 
>root's mailbox on the sandbox machine contained all root's email that 
>should have been forwarded.

dma do support alias (not .forward)

>As dma is a local-only delivery agent we should explain this to avoid POLA 
>following new installs, giving the user the option to install postfix, exim 
>or sendmail from packages. A local delivery agent is all that's needed to 
>support a fresh new install until the sysadmin can install any needed 
>packages to support their application.

dma is not a local-only delivery agent, it does also support relaying as stated in my initial email