Re: [Exim] a quickie on filter command orders

Top Pagina
Delete this message
Reply to this message
Auteur: Greg Ward
Datum:  
Aan: exim-users
Onderwerp: Re: [Exim] a quickie on filter command orders
On 19 September 2001, Tamas TEVESZ said:
> if i have commands in this order:
>
> save /var/mail/rejected_messages/nimda/
> fail text "whatever\n"
>
> then it's fine. however, if ordered like this:
>
> fail text "whatever\n"
> save /var/mail/rejected_messages/nimda/
>
> then the "save" has no effect at all. doesn't show up in logs, doesn't
> save obviosly, doesn't do nothing (it "fail"s all right, though).


If it's any consolation, you're not hallucinating. I had the very same
problem when I setup virus filtering to log, reject, and save viral
messages. It only worked if I did them in a particular order: save,
log, send rejection message. Nowhere did I see this documented, and
nothing in the logs indicated that the "save" command was ignored if it
didn't come first. But that seems to have been what was happening.

        Greg
-- 
Greg Ward - software developer                gward@???
MEMS Exchange                            http://www.mems-exchange.org