[Mimedefang] conditionally add boilerplate in message with more than one recipient

Vieri Di Paola vieridipaola at gmx.com
Thu Sep 22 12:54:49 EDT 2016

> From: "Richard Laager" <rlaager at wiktel.com>
>> It's a typo, I presume? In my example, user at domain.com wants the boilerplate and user at domain.org doesn't. So I guess you meant "resend to user at domain.com, 
>> delete_recipient(user at domain.org) and add boilerplate", right?
> No, I don't think so? If ORG does NOT WANT boilerplate, then you resend
> to ORG and delete ORG, as resending sends the original, unmodified, no
> boilerplate message. Then you add boilerplate for the remaining
> recipient, which is COM, who WANTS the boilerplate.

OK, got it. However, I want all the filtering stuff in the filter*() functions to be applied to the "resent" message to ORG, except the boilerplate. I guess it's not possible because resend_message resends the ORIGINAL message and won't be processed.

More information about the MIMEDefang mailing list