How to create a virtual domain in qmail

Discussion in 'qmail' started by popowich, Dec 17, 2008.

  1. popowich

    popowich EQ Forum Admin Staff Member

    Joined:
    Aug 12, 2008
    Messages:
    8,983
    Likes Received:
    120
    Hello,

    The /var/qmail/control/virtualdomains file is used to control virtual domains in qmail.

    Within this file you have a few options, for example:

    To manage a the virtual domain domain.com from the local account bob within the virtualdomains file create the line:

    domain.com:bob

    Then within the bob home directory you can sue .qmail files, including .qmail-default, to configure what should happen with mail to users within domain.com.

    To create a 1-1 domain alias you would use a line like:

    domain.com:realdomain.com

    This means that any mail to joe@domain.com would be automatically aliased to bob@realdomain.com.

    A commonly used virtual domain manager for qmail is the vpopmail package.

    For help using virtual domains or vpopmail please create a new thread in our free qmail support forum.

    -Raymond
     


Want to reply or ask your own question?

It only takes a minute to sign up (and it's free!). Click the orange sign up button to choose a username and then you can ask your own questions on the forum.
Loading...