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

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: David S. Madole
Ημερομηνία:  
Προς: Anand Buddhdev, exim-users
Αντικείμενο: 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