Re: [EXIM] domains= with local_parts=

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: Rick Ballard
CC: exim-users
Assumpte: Re: [EXIM] domains= with local_parts=
On Tue, 18 May 1999, Rick Ballard wrote:

> I have a case of a router which is to be used only for a certain
> domain, and then only for certain local_parts in that domain. It
> appears to work fine. However, the local_user lookup is run for all
> domains, and then the domain is checked even if the local part test
> fails. Would it not be be more efficient to check the domain first
> and then the local part only if it is the correct domain ?


Yes indeed, and that is what the code is supposed to do. It checks the
domain, and only if it is happy with that does it check the local part.

> And, why
> doesn't it fail right away after failing the local_part test ? If I
> comment out the domain test, it fails due to the local_part test as
> it should.


There must be something weird going on. Please send me a copy of your
configuration and the entire -d9 output and I'll take a look at it.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.



--
*** Exim information can be found at http://www.exim.org/ ***