Forum Moderators: bakedjake

Message Too Old, No Replies

how to add virtual domain for qmail

         

indiandomain

10:44 am on Jun 25, 2004 (gmt 0)

10+ Year Member



hello i have qmail on my server.com
currently i have my email admin@server.com setup.

i have another domain ****.com hosted on my server.
how can i create an account admin@xxx
i tried using qfdadddomain but the server doesnt have qfdadddomain.

i tried using qmailadmin but how do i login using the domain xxx.com?

anyone please?

bakedjake

11:45 am on Jun 25, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Hello.

I'm unfamiliar with qfadddomain, I've never heard of that command and a Google search for it turns up nothing.

The traditional way of adding a virtual domain in qmail is via the

virtualdomains
file in the format:

example.com:jake

When qmail receives an email for the virtual domain (let's say someone sends an email to

jane@example.com
), it prepends the virtualdomain address to the real user address then treats the mail as if it was being delievered locally with a standard extension address. So, that email to
jane@example.com
would be delievered to:

jake-jane@example.com

But would be treated as local mail. jake could then handle the extension address via .qmail.

It's kind of cryptic and time consuming to add handlers for each address via .qmail, which is why virtual mail managers such as vmailmgr [vmailmgr.org] and vpopmail [inter7.com] exist for qmail.

If your server came preinstalled with qmail, usually one of those virtual mail handlers will be installed too. Give it a look.