Marthe Nes�en Gangfl�t <[EMAIL PROTECTED]> wrote:
>
>I have one person on my server, which has LOTS of .qmail-files for his
>domain. Now he has registered another domain and, renaming all those
>.qmail-files so that they only apply to domain1 is not really an option. I
>know I've seen a package somewhere, where I can specify a user and a
>"homedirectory" for all that mail. It would be a lot easier to use
>sudirectories to split those two domains, rather than .qmail-names. But
>really I don't know how to do that, if some of you have some good ideas, or
>where I can find that package, or something, I'd be very happy :-)

You can do that with qmail-users. See:

    http://Web.InfoAve.Net/~dsill/lwq.html#qmail-users

Basically, you redirect the two domains to the user via
virtualdomains, e.g.:

    example.com:user-com
    example.net:user-net

Then create users/assign entries like:

    +user-com:user:UID:GID:/home/user/com:-::
    +user-net:user:UID:GID:/home/user/net:-::

And the .qmail files will go in ~user/com and ~user/net.

-Dave

Reply via email to