[Mimedefang] Re: A place to skip tests (Questions on filter_recipient with multiple recip's)

David F. Skoll dfs at roaringpenguin.com
Wed Apr 9 10:53:01 EDT 2003


On Mon, 7 Apr 2003, Kelson Vibber wrote:

> The only problem is, the man page for mimedefang-filter isn't clear on what
> filter_recipient does if there are multiple recipients and each generates a
> different return code.

The first time you return ACCEPT_AND_NO_MORE_FILTERING, no more filtering
is done.  If you want different behavior for different recipients, you have
no choice but to stream_by_recipient.

> * Am I correct in assuming that stream_by_recipient can't be used until
> filter_begin, but that it can be used selectively (i.e. checking the
> relaying IP first to only stream incoming mail and not outgoing)?

Yes, that's right.

Regards,

David.



More information about the MIMEDefang mailing list