Re: [exim] Trouble with a match condition

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Hill Ruyter
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] Trouble with a match condition
Hi Marc

They were supposed to be regex delimiters as it seemed these were required
to make the match work in pcretest
I will remove them and see what happens

Kind Regards
Hill

----- Original Message -----
From: "Marc Sherman" <msherman@???>
To: <exim-users@???>
Sent: Friday, October 06, 2006 1:31 PM
Subject: Re: [exim] Trouble with a match condition


> Hill Ruyter wrote:
>>
>> I am having a spot of bother getting a match condition to work in an exim
>> router
>> here is the router in it's entirity including the match condition.
>> The condition is always failing and the message is passed to the next
>> router
>> that directs mail to the ham transport
>>
>> condition = ${if match {$h_X-Spam-Status:}{\N/Yes/\N} {yes} fail }
>
> Does your header actually contain the literal string "/Yes/", or are the
> slashes supposed to be regex delimiters? If the latter, they're not
> supposed to be there.
>
> - Marc
>
> --
> ## 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/
>