Does users/cdb supplement regular users or is it an alternative to
them? In other words, if I have a users/assign and users/cdb with a
set of entries that doesn't include all valid local users, will mail
to one of the non-cdb users bounce?
The qmail-spawn man page says it won't:
For each recipient address, qmail-lspawn finds out which
local user controls that address. It first checks the
qmail-users mechanism; if the address is not listed there,
it invokes qmail-getpw.
The /var/qmail/docs/PIC*2local files say it won't:
| Is fred listed in qmail-users? No.
| Is there a fred account? Yes.
The qmail-lspawn.c code is kind of dense, but appears to follow the
documentation.
But when I added a dummy user (not in users/assign) to the one system
where I use qmail-users, mail to that user bounced. When I ran
qmail-pw2u and qmail-newu, mail to the dummy was delivered
locally. And when I removed the dummy entries from users/assign and
re-ran qmail-newu, mail again bounced:
2001-01-23 15:35:45.521585500 new msg 119332
2001-01-23 15:35:45.522563500 info msg 119332: bytes 931 from <[EMAIL PROTECTED]>
qp 27993 uid 49491
2001-01-23 15:35:45.850046500 starting delivery 2824054: msg 119332 to local
[EMAIL PROTECTED]
2001-01-23 15:35:45.850046500 status: local 1/60 remote 1/500
2001-01-23 15:35:45.874485500 delivery 2824054: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
2001-01-23 15:35:46.200668500 status: local 0/60 remote 1/500
2001-01-23 15:35:46.824052500 bounce msg 119332 qp 19805
2001-01-23 15:35:46.866002500 end msg 119332
What am I missing?
-Dave