Re: [exim] Access to $value from lookups

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Peter Velan
Date:  
À: Exim users
Sujet: 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