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

    Aug 12, 2008
    Likes Received:

    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 from the local account bob within the virtualdomains file create the line:

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

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

    This means that any mail to would be automatically aliased to

    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.


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.