On 24.11.26 18:14, Stephen J. Turnbull wrote:
Gerald Vogt writes:
Currently, mails from our own domain have the From header rewritten with the list address because we have a dmarc policy published.
Is there a simple way to [avoid] this?
Not really. The point of the include list is that at least one large provider (GMail) has policy p=none but in fact does DMARC From alignment checking on mail with itself as source and destination. This fails safe. Since they lie, you have to configure it by hand (except GMail, since we know about them, they're in the include list by default).
O.K.
An exclude list is a potential vulnerability unless you're carefully configured. Suppose somebody spoofs your domain in From. If this gets to Mailman, it will go back out and bounce all over the Internet when the DKIM validation fails, and it's April 2014 all over again for you.
I don't quite understand the issue here. Until recently, I did have no DMARC mitigations enabled. It worked fine and I did not see any vulnerability I could think of. Of course, some mail from external senders to a list with external recipients where rejected or quarantined if the sender's domain has a dmarc policy in place. But that's what it was until last week.
Now with DMARC mitigation, external senders with dmarc policies on the from domains are rewritten.
The potential spoofing of our domain exists either way. And it doesn't bother me because we reject any incoming mail using our domain as sender.
So basically, I want it the way it was (no dmarc mitigation) if it is one of our own senders and with dmarc mitigation if the sender is external.
If a list with no dmarc mitigation would be such a great risk shouldn't dmarc mitigation be the default then?
I think if your MTA does all of the following
- Disallow incoming mail From: your domain that fails DMARC
- Strip incoming DKIM signatures for your domain (multiple signatures from the same domain are not always properly implemented -- any signature passing should be a pass but some implementations get this wrong)
- DKIM sign all outgoing mail From: your domain you're probably OK, but do not quote me on that, I haven't thought about it carefully.
Isn't that what we have to do anyway with DMARC mitigation? Or does mitigation remove DKIM signatures? We cannot keep the original DKIM signature because we change the From address with mitigation.
What are those "Regexp" in the list? Do they support negative lookbehinds?
Thanks,
Gerald