Re: [Exim] Local parts as regular expressions

Top Page
Delete this message
Reply to this message
Author: John Horne
Date:  
To: Exim Users List
Subject: Re: [Exim] Local parts as regular expressions
On 22-Aug-2001 at 12:59:00 Sheldon Hearn wrote:
> On Wed, 22 Aug 2001 13:32:02 +0100, John Horne wrote:
>> Testing using an RE locally shows, however, that it does work. So
>> am I missing something in the manual or is the manual missing something
>> explaining this? All our local part tests are done via file lookups so
>> using RE's has never been considered :-) Note that the 'domains'
>> director/router option is a domain list and that can be a regular
>> expression, but 'local_parts' is just a string list.
>
> Wow, you're right. The documentaiton for the local_parts option doesn't
> actually say that regular expressions are allowed!
>
> I got this from the FAQ, though, where an example of the use of regular
> expressions in local_parts is given.
>

Ah, so I now see - Q0435. However, I would have thought that the correct (?)
way of checking a local part with a regular expression would have been with
a 'condition' option and the 'match' function similar to that shown in
example A0418 (ignoring the lookup bit of course).

John.

------------------------------------------------------------------------
John Horne, University of Plymouth, UK           Tel: +44 (0)1752 233914
E-mail: jhorne@???
PGP key available from public key servers