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.

> My question:  can i then put in the same hack to qmail-local.c
> to exit w/ a 111 to defer mail when this control file is present
> or is it too late?

I would think that qmail-local.c is *the* place to put that.

> 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.

james
-- 
James Raftery (JBR54)
   IE Domain Registry  -  www.domainregistry.ie  -  (+353 1) 706 2375
  "Managing 4000 customer domains with BIND has been a lot like
   herding cats." - Mike Batchelor, on [EMAIL PROTECTED]

Reply via email to