Chris Johnson writes:
 > On Wed, Jan 06, 1999 at 10:08:14PM -0000, Russell Nelson wrote:
 > 
 > [snip - what are you doing, writing a qmail book? ;-)]
 > 
 > > Caution: Once you create a users/assign file, and build the users/cdb
 > > database using qmail-newu, it stops deliveries based on /etc/passwd.
 > > When you add a user, you MUST add them to users/assign, or re-run
 > > qmail-pw2u.
 > 
 > Say what? I've got a users/assign file and a users/cdb file, full of entries.
 > This hasn't stopped deliveries based on /etc/passwd. qmail-lspawn will look in
 > users/cdb first, but if it doesn't find what it's looking for there it'll press
 > on and look for a system account in /etc/passwd. Or do I misunderstand what
 > you're saying here?

That's the way the code in qmail-lspawn is written, however qmail-pw2u
insists on inserting an ``alias'' user which matches any address not
otherwise found.  Try doing ``grep "^+:" /var/qmail/users/assign''.
If it's found, then qmail is definitely not running qmail-getpw.  You
can verify this by ``chmod 0 /var/qmail/bin/qmail-getpw''.

If, on the other hand, you've removed that line from users/assign,
then you'll definitely get a mixed bag of deliveries, some through
users/assign and some through qmail-getpw.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://crynwr.com/~nelson
Crynwr supports Open Source(tm) Software| PGPok |   There is good evidence
521 Pleasant Valley Rd. | +1 315 268 1925 voice |   that freedom is the
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   |   cause of world peace.

Reply via email to