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

Pàgina inicial
Delete this message
Reply to this message
Autor: Phil Pennock
Data:  
A: Benjamin Podszun
CC: exim-users
Assumpte: 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