On 10. 05. 23 5:58, Geraldo Nascimento wrote:
On Wed, May 10, 2023 at 11:05:59AM +0900, Mark Brown wrote:
AFAICT the only other option is munging the From without enclosing the message in a wrapper? That's potentially marginally less harmful but it's still going to break things badly enough that I'm not sure it's a worthwhile improvement.
The readymade mitigations for DMARC in mailman 3 are "munge_from" and "wrap_message". The fact "wrap_message" messes around with signatures in mutt is definitely not a good sign, and "munge_from" will change the author's email and name from the perspective of git-am.
The middle way could be to patch mailman 3 to "munge_from" while adding the correct "From:" as the first thing in the body of the message if it doesn't contain one already. This will make git-am pickup the correct author's details and it should be some simple logic.
Unfortunately, changing the message body will break the DKIM message integrity (body hash)...
Jaroslav