Re: [exim] Access to $value from lookups

Página Inicial
Delete this message
Reply to this message
Autor: Peter Velan
Data:  
Para: Exim users
Assunto: Re: [exim] Access to $value from lookups
am 23.06.05 18:17 schrieb John Horne:
> On Thu, 2005-06-23 at 12:18 +0200, Peter Velan wrote:
>>
>> I want to dump a detailed reason along with 5xx,
>> like: "550 Blacklisted address <spam@???> - reason-xx"
>>
>> content of /xyz/file.txt:
>> (^?)spam@spam\.tld$ : reason-xx
>>
> I thought that the use of a regular expression required a circumflex at
> the beginning of the line? I'm not sure what '(^?)' does - 'may or may
> not be the beginning of the line/expression'? Either way shouldn't the
> line in the file be:
>
>    ^(^?)spam@spam\.tld$  : reason-xx


Oops, mea culpa; its a typo - should read:

^(?i)spam@spam\.tld$ : reason-xx

Peter