Author: Graham Dodd Date: To: John Burnham CC: exim-users Subject: Re[2]: [exim] Blocking mails based on Subject
Hello John,
Friday, September 10, 2004, 1:52:41 PM, you wrote:
JB> Graham Dodd wrote: >>Hello exim-users,
>>
>> I'm trying to block a bouncing mail (story to follow later) based on the subject.
>>
>>I have the following:
>>
>> drop message = "SR Loop"
>> condition = ${if eq {$header_subject}{AW: BELL DELIVERY DATES}{yes}{no}}
>>
>>But it doesn't work, can someone explain what I am doing wrong
>>
>>
>>
JB> You've missed the : off $header_subject: ?
JB> John
thanks John, that was the problem
I also tried to use "contains" so that I only have to match BELL but I couldn't figure out the syntax.
Could you send me an example using "contains" as this would be easier to use.
Graham
--
Graham K. Dodd
Director of Operations
Falk & Ross GmbH
Tel: 06301 717 0