[Mimedefang] Debugging message modification

Dianne Skoll dianne at skoll.ca
Thu Mar 14 14:57:42 EDT 2024


On Thu, 14 Mar 2024 11:58:59 -0600
Philip Prindeville <philipp_subx at redfish-solutions.com> wrote:

> 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?

MIMEDefang, no.  Mailmunge, yes, with:

            $ctx->mime_entity->stringify()

as the last thing in filter_wrapup.

> 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?

\n.  There's another bug that was fixed in Mailmunge; don't know if it
was fixed in MIMEDefang.

https://git.skoll.ca/Skollsoft-Public/mailmunge/commit/fc9d099a863725eac9ac6285416bc5cfd9c90471

Regards,

Dianne.



More information about the MIMEDefang mailing list