[EMAIL PROTECTED] 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>
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to