I see the problem.

If you are using stream_by_recipient(), you cannot [*] do
recipient-specific filtering in filter_recipient(); as you see,
returning ACCEPT_AND_NO_MORE_FILTERING affects everyone.

Instead, defer your filtering decisions to filter_begin/filter/filter_end
and check $Recipients[0] to see who the recipient is.

Regards,

David.

[*] If you are clever, you can notice that the relay host is 127.0.0.1
for remailed messages and take decisions in filter_recipient(), but
it's easier and safer to defer all filtering until
filter_begin/filter/filter_end if you are doing streaming.
_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to