[Mimedefang] Bug in filter_end() handling?

David F. Skoll dfs at roaringpenguin.com
Tue Dec 11 13:57:59 EST 2012


On Tue, 11 Dec 2012 11:43:39 -0700
Philip Prindeville <philipp_subx at redfish-solutions.com> wrote:

> I'm looking at do_scan() and in particular:
[...]

> and noticing that there's no matching check for $TerminateAndDiscard
> after calling filter_end():

As per the man page, the only functions that should set $TerminateAndDiscard
(stream_by_xxx) should only be called in filter_begin.

> It might not be optimal to wait until filter_end() to call
> stream_by_recipients(), but I'm not sure there's a technical reason
> why it can't be done other than lost efficiency.

It's a policy decision, not a technical one.

Regards,

David.



More information about the MIMEDefang mailing list