Qmail Help

Monday, May 30, 2005

vpopmail - Adding Virtual Domain with vadddomain

vadddomain command is used to add a virtual domain to qmail-vpopmail system.

vadddomain: usage: vadddomain [options] virtual_domain [postmaster password]
options: -v prints the version
-q quota_in_bytes (sets the quota for postmaster account)
-b (bounces all mail that doesn't match a user, default)
-e email_address (forwards all non matching user to this address [*])
-u user (sets the uid/gid based on a user in /etc/passwd)
-d dir (sets the dir to use for this domain)
-i uid (sets the uid to use for this domain)
-g gid (sets the gid to use for this domain)
-O optimize adding, for bulk adds set this for all
except the last one
-r[len] (generate a len (default 8) char random postmaster password)

[*] omit @-sign to deliver directly into user's Maildir: '-e postmaster'

Here is how we add a virtual domain "bizhat.com" to qmail-vpopmail system.

freebsd# /usr/home/vpopmail/bin/vadddomain bizhat.com
Please enter password for postmaster:
enter password again:

OR we can provide postmaster password in command line.

freebsd# /usr/home/vpopmail/bin/vadddomain bizhat.com 123456


At 6:09 PM, Blogger Clickbank Mall said...

Smart webmasters from around the world are moving their sites to ThirdSphere every single day...cheap webhosting

At 3:11 PM, Blogger Kevin said...

Great info for virtural domains :D
Counter Strike Source Game Servers Ethanol Fuels


Post a Comment

<< Home