On Fri, 17 May 2002, Steve Drees wrote:
> something like:
> condition = $header_X-RBL-Warning: contains "spamcop" and
> ${lookup{$local_part}lsearch{/etc/exim/spamcop}{$value}}
hm, lets try
${if and match{$h_X-RBL-Warning:}{spamcop}
${lookup{$local_part}lsearch{/etc/exim/spamcop}{$value}{no}} }
i'm not too confident it's correct, but should get you going.
also, if you do a {$value}{no} instad of just {$value}, that means
'dont apply this director unless the $local_part is explicitly listed
in the file', which policy, in turn, opens up a whole different
approach (ie. you don't need to do keyed lookups, a simple linear
search would be enough).