Mailing list manager for a Dutch digital rights initiative here. We've
been dealing with DMARC for the last couple of years and are publishing
our own DMARC quarantine policy soon, after months of monitoring and
contacting other list managers to get DMARC to work with their lists.
Munging the From: header is one solution, but doing so makes it harder
to filter posts from a list member in a mail client (for example the
'Filter these messages' bar in Thunderbird doesn't work anymore).
We opted with not munging the From: header and instead trying to keep
the original DKIM signature valid. You see, you only need SPF *or* DKIM
alignment to achieve DMARC compliance, otherwise forwarding would break
(read the spec to know what 'alignment' means here). A forwarder should
of course use its own domain in the bounce (envelope FROM) domain so the
email passes SPF validation.
Keeping the DKIM signature valid means that you cannot modify the email
body (Mailman must not add a footer). The same goes for certain headers,
depending on the configuration of the DKIM signer. These headers are
often From:, To:, Date:, MIME-Version: and Message-ID:, but often the
Subject: header is included as well, so you cannot add '[listname]' in
front of the subject.
I hope this is useful to someone!
Imre PH0BOS
On 11/11/2018 09:23, Marius Petrescu wrote:
This is easily circumvented by mailer software like
this one.
It does NOT send mails as coming from the user. It just changes the name:
If I send a mail to this list, I send it from "Marius
<marius(a)yo2loj.ro>"
The mailing list SW will send it from "Marius via 44Net
<44net(a)mailman.ampr.org>"
Even if that "via 44Net" would not be there, it still is a mailer's
address.
The same applies if the sender would be "marius(a)yo2loj.ro
<44net(a)mailman.ampr.org>"
It would APPEAR it was sent from me, but the actual address is mailman's
address.
On the other hand, mail servers are right, one can not send mail to them
using their own domain, unless allowed by some trusted source (DNS SFP
reccord or similar in the mail host's record) authorizing the external
host to send mail in its name.
And it is not only yahoo doing this, most mail servers reject such
mails. They also reject unknown sender hosts (without RDNS entries),
invalid HELLO headers and others.
Google is the exception, classifying it as spam instead of just
rejecting it with a 554 error.
IMHO this whole thing is actually in place for years, and a non-issue.
As long as a mail server is correctly configured, everything works as
expected.
Marius, YO2LOJ