[Mimedefang] outside of filter context?

David F. Skoll dfs at roaringpenguin.com
Wed Aug 13 09:19:01 EDT 2003

On Wed, 13 Aug 2003, Michael Faurot wrote:

> I've just upgraded from v2.35 to v2.36 and now I'm seeing a bunch of
> these messages in syslog:

> 	Aug 13 08:33:02 hostname mimedefang.pl[15708]: action_accept called
> 	outside of filter context

action_accept only makes sense from within the filter() routine, because
it means to accept a particular MIME part.

> Things still appear to be functioning as they should, but now with more
> junk in syslog.

Right; they're just warnings.

> o)	What should I do to either shut this up, or correct my
> 	code in mimedefang-filter?

Just take out the action_accept() from filter begin.  You can just return
from filter_begin, because the default is to do nothing.



More information about the MIMEDefang mailing list