Todd A. Jacobs writes:
 > The idea is to deliver the mail directly to a stated user, rather than
 > forwarding it via a dot-file. As I understand it, the mystic incantation
 > is to run qmail-pw2u, pipe the output to /var/qmail/users/assign, run
 > qmail-newu, and restart qmail-send. 

Ahhhh, I see what you're doing.  No, qmail-pw2u won't cut it.  All
you're doing when you run qmail-pw2u is writing a new email delivery
database the same as the old database (/etc/passwd).  What you want to
do is create your own mapping from email addresses to user accounts.
You might want to start with the output of qmail-pw2u, but given
virtualdomains entries like A, you'll want to add entries like B.

A: tjacobs.myip.org:tjacobs

B: =tjacobs-sales:mary:(mary's UID):(mary's GID):(mary's home directory):::
B: =tjacobs-users:john:(john's UID):(john's GID):(john's home directory):::
B: =tjacobs-bimbo:bill:(bill's UID):(bill's GID):(bill's home directory):::

Don't forget to make sure that the data you put into users/assign ends 
with a "." on a line by itself.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them. Homeschool!

Reply via email to