Re: [exim] Exim4 wildcard after local_part addresses

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Stephen Gran
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] Exim4 wildcard after local_part addresses
On Thu, Jan 19, 2006 at 07:55:23PM -0500, Chris Knadle said:
> On Thursday 19 January 2006 17:41, Giuliano Gavazzi wrote:
> > local_part_suffix = -*
> > local_part_suffix_optional
> >
> > will do what you want for determining what a local_part is, then you
> > can do what lookup you find more suitable to determine if a
> > local_part is valid.
>
>    I note that your local_part_suffix = -*  !=  local_part_suffix = *- from 
> the Exim spec.  I'll have to look at that again.  


local_part_suffix != local_part_prefix, but both exist.

> However, the andy-*@domain was an example and I don't know that a '-' is
> going to be in every email address that needs a wildcard lookup. [I have
> been looking into this before asking for a recipient list.]


Hence the local_part_{pre,suf}fix_optional bit. The address will just
match back to whatever is before the -, so tom-foo will be tom, but so
will tom.
--
--------------------------------------------------------------------------
|  Stephen Gran                  | There is much Obi-Wan did not tell you. |
|  steve@???             | -- Darth Vader                          |
|  http://www.lobefin.net/~steve |                                         |

--------------------------------------------------------------------------