> On Mar 14, 2024, at 7:43 AM, Dianne Skoll <[email protected]> wrote:
> 
> On Wed, 13 Mar 2024 19:01:18 -0600
> Philip Prindeville via MIMEDefang <[email protected]>
> 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?



_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

MIMEDefang mailing list [email protected]
https://lists.mimedefang.org/mailman/listinfo/mimedefang_lists.mimedefang.org

Reply via email to