Re: [exim] Access to $value from lookups

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Peter Velan
Dátum:  
Címzett: Exim users
Tárgy: 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