Re: Switching from sendmail to Dragonfly Mail Agent by default

From: Cy Schubert <Cy.Schubert_at_cschubert.com>
Date: Sat, 15 Oct 2022 16:58:03 UTC
In message <FCB020E2-3E12-4720-B6D5-615459306B0D@FreeBSD.org>, Baptiste 
Darouss
in writes:
> 
>
>
> Le 15 octobre 2022 17:51:31 GMT+02:00, Cy Schubert <Cy=2ESchubert@cschuber=
> 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 <Cy.Schubert@cschubert.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  https://FreeBSD.org
NTP:           <cy@nwtime.org>    Web:  https://nwtime.org

			e^(i*pi)+1=0