[Mimedefang] Debugging message modification
Philip Prindeville
philipp_subx at redfish-solutions.com
Thu Mar 14 13:58:59 EDT 2024
> On Mar 14, 2024, at 7:43 AM, Dianne Skoll <dianne at skoll.ca> wrote:
>
> 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.
Thanks for that. So is there an easy way to snapshot the message in-the-raw as the final version before it gets sent out?
Also, action_add_header() doesn't say if, in the case of a multiline value, should the lines be split with \n or \r\n?
More information about the MIMEDefang
mailing list