[Mimedefang] Debugging message modification

Dianne Skoll dianne at skoll.ca
Thu Mar 14 09:43:06 EDT 2024


On Wed, 13 Mar 2024 19:01:18 -0600
Philip Prindeville via MIMEDefang <mimedefang at lists.mimedefang.org>
wrote:

> I added DKIM signatures via filter_wrapup() but I'm seeing weirdness
> when mailing mailing lists and autoresponders where the DKIM
> signature seems to appear to be part of the message.

action_add_header does not modify the MIME::Entity.  It simply makes a note
to ask the milter to add the header after the Perl filter finishes.

For what it's worth, this is fixed in Mailmunge (https://www.mailmunge.org)
where action_add_header also adds the header to the MIME::Entity object.
This is needed to ensure a correct DKIM signature if headers that are part
of the DKIM signature are modified in earlier stages of the filter.

Regards,

Dianne.



More information about the MIMEDefang mailing list