vadddomain - create a virtual domain

vadddomain is used to create the virtual domain. With this also all qmail files and system are automatically updated.

Syntex:
vadddomain [virtual domain ] [postmaster password] -a -q quota

OPTIONS
[virtual domain] Name of the new virtual domain
[postmaster password] The password for the postmaster account. If the password is not supplied on the command line then vadddomain will prompt for the password twice.
-a Use apop instead of pop.
-q quota Set the hard quota limit for the postmaster account.

Here is example:

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

OR

# /usr/home/vpopmail/bin/vadddomain newdomainname.com pass4post

This can be done through web based control panel vqadmin.

No comments: