Re: [exim] Regex Parsing help

Top Page
Delete this message
Reply to this message
Author: Mike Cardwell
Date:  
To: Exim Users List
Subject: Re: [exim] Regex Parsing help
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