Re: [Exim] Director condition fun (exim-3.36)

Top Page
Delete this message
Reply to this message
Author: William Thompson
Date:  
To: Mark Lowes
CC: Exim Users list
Subject: Re: [Exim] Director condition fun (exim-3.36)
> I wonder if anyone can prod me in the right direction with a condition
> match I'm trying to setup.
>
> What I'm trying to do is for a given list of domains (all at the moment)
> I want to force anything RBL tagged using (for example) the spamhaus
> list off to a specific transport (which ultimately will either bounce or
> send off to a holding queue.
>
> Any ideas where I'm going wrong with the following fragment? (Exim-3.36,
> Linux)
>
> #-------------------------------------------
> rbl_director:
>    domains = *
>    condition = "${if match {$header_x-rbl-warning:}{spamhaus.relay}{1}{0}}"
>    driver = smartuser
>    transport = send_to_defer
> #-------------------------------------------


You could also use a filter (or procmail) for this.

I think your problem is the fact that it's not the right case.

try $header_X-RBL-Warning: