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

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Phil Pennock
Datum:  
To: Benjamin Podszun
CC: exim-users
Betreff: 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