Re: [exim] Help with router

Top Page
Delete this message
Reply to this message
Author: Magnus Holmgren
Date:  
To: exim-users
Subject: Re: [exim] Help with router
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        holmgren@???
                       (No Cc of list mail needed, thanks)