On Sunday 06 May 2007 17:53, Antonio Cocco wrote:
> delspam:
>    driver = accept
>    condition = ${if match {$h_X-Spam-Status}{"Yes"} {Yes}{No}}
>    transport = rmspam

There should be a colon after $h_X-Spam-Status (to terminate the header name). 
An expansion failure should occur otherwise, so perhaps you made a typo in 
your mail. Also note that you can drop "{Yes}{No}". ${if} by default returns 
true if the condition is true and the empty string (a false value) otherwise.

If this doesn't help: How do you add X-Spam-Status and rewrite the subject?

-- 
Magnus Holmgren        [EMAIL PROTECTED]
                       (No Cc of list mail needed, thanks)

Attachment: pgpTTxPs4BEKR.pgp
Description: PGP signature

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to