> On Mon, Oct 09, 2000 at 03:08:42PM -0700, Michael Boyiazis wrote:
> > if /var/qmail/alias/assign is being used as a forwarding
> > mechanism, that qmail-getpw is not used and that qmail-local
> > is the delivery agent.  
> 
> qmail-local is always the delivery agent. However, it has two 
> mechanisms
> it uses to determine how to perform local delivery. It first tries to
> use the users/assign method. If that's not in use it invokes 
> qmail-getpw
> to lookup passwd file entries.

actually it appears that qmail-lspawn is the one that decides
which of the qmail-local or qmail-getpw to call.  so i guess i
could patch that and remove it from qmail-getpw or put it in
qmail-local also.
 
> > Another question:  will the assign mechanism be slow w/
> > 500K+ entries, if need be?
> 
> The assign mechanism uses a hashed database (in users/cdb) for speedy
> lookups. It's likely to be a lot quicker than 500K passwd 
> file entries!
> I'm sure there are large users/assign users on the list who could give
> some idea of performance at that level -- I'm afraid I can't.

i will give it a go.  i just noticed the files work across platforms.
(sun/linux/bsd).  that'll save me a few seconds per day passing
tcpserver cdb and assign/cdb files around.        8^)

-- 
Michael Boyiazis
Mail Architect, NetZero, Inc.


Reply via email to