Re: [Exim] using the fail command in user filters

Top Page
Delete this message
Reply to this message
Author: David S. Madole
Date:  
To: Anand Buddhdev, exim-users
Subject: Re: [Exim] using the fail command in user filters
> I've got a redirect router, which has allow_filter and allow_fail set.
> However, if I test my filter file, I get the error:
>
> Filter error: filtering command "fail" is disabled: near line 2 of
> filter file



You don't say how you are testing the filter file, my guess is that you are
using the -bf command line option.

You need to use the -bF option to enable the extra commands. When using exim
in the filter test mode, the message is not routed normally and so your
transport settings are not used. In fact, I'm not sure if the config file is
read at all.

David