Re: email sent via dma is received in plain text without attachments

From: <fatty.merchandise677_at_aceecat.org>
Date: Fri, 22 Aug 2025 20:44:52 UTC
On Fri, Aug 22, 2025 at 12:26:04PM -0600, Dale Scott wrote:

> webERP uses PHPMailer which in the absence of a config flat
> specifiying an SMTP server (aka smarthost), the php mail() function
> will be used, passing the mail to the local MTA, which in my case is
> dma.

This can mean one of two different things:

- run a SMTP dialog on 127.0.0.1:25 , OR

- fork & exec off the MTA (maybe directly as dma, maybe as /usr/sbin/sendmail)
  and pipe the contents of the message to it.

I suspect this *could* make a difference, because there are grotty
details to get right regarding how to mark the end of the message, and
even LF vs CRLF line endings. You can blame this on "be liberal in
accepting".

Also various anti-spam techs come into mind; the header you quote
shows the message has failed DMARC, I suppose this could cause
a paranoid mainstream provider to drop all attachments.

-- 
Ian