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

2016-09-24 Thread Vieri Di Paola
> From: "Richard Laager" >> 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

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

2016-09-22 Thread Richard Laager
On 09/22/2016 11:54 AM, Vieri Di Paola wrote: >> From: "Richard Laager" >>> It's a typo, I presume? In my example, u...@domain.com wants the >>> boilerplate and u...@domain.org doesn't. So I guess you meant "resend to >>> u...@domain.com, >>>

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

2016-09-22 Thread Richard Laager
On 09/21/2016 05:13 PM, Vieri Di Paola wrote: >> From: "Richard Laager" >> So in your case, you would resent to u...@domain.org, >> delete_recipient(u...@domain.org), and then add the boilerplate. > > It's a typo, I presume? In my example, u...@domain.com wants the

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

2016-09-21 Thread Vieri Di Paola
> From: "Richard Laager" > So in your case, you would resent to u...@domain.org, > delete_recipient(u...@domain.org), and then add the boilerplate. It's a typo, I presume? In my example, u...@domain.com wants the boilerplate and u...@domain.org doesn't. So I guess you meant

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

2016-09-21 Thread Richard Laager
On 09/21/2016 09:09 AM, Vieri Di Paola wrote: >> You can stream_by_recipient() so MIMEDefang resends the message for each >> recipient. In this way, your filter code can handle recipients >> differently. Note the warnings in the mimedefang-filter man page, though. > > The man page isn't too

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

2016-09-21 Thread Richard Laager
On 09/21/2016 07:16 AM, Vieri Di Paola wrote: > Suppose I have an email that's being sent To: u...@domain.org, > u...@domain.com. > > @Recipients will hold both addresses. > I'd like mimedefang to add a boilerplate only for the message being sent to > u...@domain.com. > > Is that possible? >

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

2016-09-21 Thread Vieri Di Paola
Hi, Suppose I have an email that's being sent To: u...@domain.org, u...@domain.com. @Recipients will hold both addresses. I'd like mimedefang to add a boilerplate only for the message being sent to u...@domain.com. Is that possible? If so, how? I can only add boilerplates in filter_end but