Re: [exim] Problems testing (sieve) filter rules

Top Page
Delete this message
Reply to this message
Author: Phil Pennock
Date:  
To: Benjamin Podszun
CC: exim-users
Subject: Re: [exim] Problems testing (sieve) filter rules
On 2008-02-07 at 19:29 +0100, Benjamin Podszun wrote:
> (Running as root or trusted mail account)
>
> exim -bf testfilter < testmail


You're missing "-t" to take recipients, etc, from the mail headers of
"testmail".

> Okay, two things make me nervous here:
> 1) Why is the recipient in this test the current user? I know that I can
> override/set that with -bfd/-bfl but I expected that exim takes these
> values from the testmail - to test the rules?


Only if you tell it to. Otherwise the recipients are specified on the
command-line.

-Phil