[Mimedefang] Per-recipient customization
Kelson
kelson at speed.net
Wed Mar 29 11:50:33 EST 2006
Matthew.van.Eerde at hbinc.com wrote:
> DFS wrote:
>>> Another issue: how to handle one message with multiple envelope
>>> recipients, not all of whom have the same policy.
>> See stream_by_recipient in the mimedefang-filter(5) man page.
>
> This would change action_bounce into a real bounce, right? (Assuming
> more that one recipient for the message in question.)
You can minimize this by checking in filter_begin to see whether all
recipients have the same policy. (Or at least see if they all use the
default policy.) Then only call stream_by_recipient if their policies
differ.
Also, if you have any universal rejection policies that you can apply in
filter_begin, do those before the call to stream_by_recipient.
That way you can still issue SMTP rejections in most cases, and bounces
are limited to specific circumstances.
--
Kelson Vibber
SpeedGate Communications <www.speed.net>
More information about the MIMEDefang
mailing list