[Mimedefang] remove_redundant_html > delete_header?
Michael Fox
news at mefox.org
Thu Sep 21 23:50:38 EDT 2017
Im new to the list so be gentle!
Im using Postfix with the following milters/filters in this order:
* pre-queue milters: opendkim, mimedefang (I plan to add opendmarc after
opendkim)
* post-queue content filter: amavisd-new (with spamassassin, clamd)
I have an old client that doesnt understand HTML. So, Im using
remove_redundant_html_parts(). And that works great. But by changing the
message, the DKIM-Signature is no longer going to match. Since OpenDKIM
runs before MIMEDefang, it is still able to validate the signature. So far,
so good.
But amavis/spamassassin runs after mimedefang. So Im wondering if I
should take further action so that spamassassin doesnt see a mismatched
signature.
Specifically:
If remove_redundant_html_parts() returns true (it removed HTML parts), then
should I also delete the DKIM-Signature header?
And, if I remove the DKIM-Signature header, should I also remove the
Authentication-Results: header?
In other words, whats the best method for keeping all of the players happy?
Any thoughts/wisdom would be helpful.
Thanks,
Michael
More information about the MIMEDefang
mailing list