[Mimedefang] action_external_filter

Dianne Skoll dfs at roaringpenguin.com
Sat May 20 09:29:57 EDT 2017


On Sat, 20 May 2017 12:23:26 +0100
richards <rs4457082 at gmail.com> wrote:

> The effect is that the body of the first attachment is replaced with
> the last attachment processed.  I believe this is due to using
> copy_or_link to copy the body to FILTERINPUT.  The first attachment
> creates a hard link to FILTERINPUT, subsequent attachments do a copy
> as the link exists.  The result being that when mimedefang finally
> rebuilds the message the last FILTERINPUT content is used for the body
> of the first attachment.

Oh, that's a WTF. :(

We should copy the path to FILTERINPUT, not use copy_or_link.

It's a long weekend here; I'll look at this on Tuesday.

Regards,

Dianne.



More information about the MIMEDefang mailing list