Re: [exim] Regex Parsing help

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Marc Perkel
Datum:  
To: Mike Cardwell
CC: Exim Users List
Betreff: Re: [exim] Regex Parsing help


Mike Cardwell wrote:
> Marc Perkel wrote:
>
>
>> Thanks - I have what I need for that step in the process.
>>
>> parse_uri:
>>    warn set acl_c_parse_lookup = ${sg{$acl_c_parse_uri}{\N .*\s\N}{}}
>>        set acl_c_parse_lookup = ${sg{$acl_c_parse_lookup}{ }{}}
>>         set acl_c_parse_uri = ${sg{$acl_c_parse_uri}{\N^.*?\s\N}{}}
>>         acl = uribl_lookup
>> #    logwrite = PARSE1 - [$acl_c_parse_lookup]
>>    warn !condition = ${if eq{$acl_c_parse_uri}{}}
>>         acl = parse_uri
>>    accept

>>
>
> There's a recursion limit in Exim. I can't remember what it is. If the
> number of domains you're looking up exceeds that limit, the message
> delivery will fail. The number is small, you might want to look it up.
>
> Mike
>
>


Since there seems to be no other way to do what I want I can live with a
recursion limit of 20.