Niall Dalton <[EMAIL PROTECTED]> wrote:

>I've set the DNS entries for the virtual domains
>and they work fine. I've added the domains I wish
>to receive mail for to the rcpthosts and virtualdomains
>files in the control directory.

Did you restart qmail?

>I have a user vmail to which I sent all the mail
>that arrives for the virtual domains.

Does vmail meet the requirements in "man qmail-getpw" to be a valid
qmail user?

>So in the virtualdomains file I have:
>domain1.com:vmail-domain1
>domain2.com:vmail-domain2
>
>and in the home directory of vmail I have
>.qmail-domain1-user1
>.qmail-domain2-user2

That much looks OK.

>This doesn't work for me. Is this the right way to do it?

There are multiple "right" ways to do this. What happens if you do:

  cp ~vmail/.qmail-domain1-user1 ~alias/.qmail-vmail-domain1-user1

?

-Dave

Reply via email to