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

Vieri Di Paola vieridipaola at gmx.com
Wed Sep 21 08:16:19 EDT 2016


Suppose I have an email that's being sent To: user at domain.org, user at domain.com.

@Recipients will hold both addresses.
I'd like mimedefang to add a boilerplate only for the message being sent to user at domain.com.

Is that possible?
If so, how?

I can only add boilerplates in filter_end but not in filter_recipient. However, I can tell which is the "current" recipient being processed in filter_recipient but not in filter_end.

I guess it's not designed to do this unless I somehow duplicate the message itself and add a boilerplate to one of the two.



More information about the MIMEDefang mailing list