Daniel Augusto Fernandes <[EMAIL PROTECTED]> wrote:
>I've looked the PIC.local2virt.
>Question: When a virtual domain is assigned to an user like that:
>+epostal.com.br-:epostal.com.br:3367:503:/home/vpopmail/domains/epostal.com.br:-::
>
>What happens?
Well, unfortunately none of the PIC's cover the case of a successful
lookup in qmail-users. Luckily, "Life with qmail" answers this
question. See http://Web.InfoAve.Net/~dsill/lwq.html#qmail-users for
complete details.
>Does it setuid and chdir to that user home, look for .qmail-user?
>What if it finds .qmail-default (as in my case)?
qmail-lspawn runs qmail-local with the specified UID and GID. If the
message was sent to [EMAIL PROTECTED], it'd be delivered according
to instructions in /home/vpopmail/domains/epostal.com.br/.qmail-info.
>I have the folowing .qmail:
>| preline maildrop -d "$EXT@$HOST"
>
>How could qmail-lspawn know where I have my virtual users info? Like
>/home/vpopmail/domains/*/vpasswd.
I don't know exactly what you mean, and I don't use vpopmail, but if
there's a matching entry in users/assign, that specifies all the
details qmail-lspawn needs.
-Dave