Magus computerista
General's Aide
Gender:
Posts: 129
86 credits Members referred : 0
« on: Jan 04, 2006, 10:21:35 PM »
This is a small tutorial on how you can add domains and users to your qmail mail server.
First you should change dir to the bin of qmail. If you don't know where this is located you can search for the vadduser script which is in this directory.
Code:
locate vadduser
Now after you are into this directory as root user, you may first use the adddomain command to insert the new domain.
Code:
./vadddomain new_domain.com password
The password that you are typing, will be the password for the postmaster user of this domain. If you don't type any, qmail will ask you a password twice.
Now let's add a user :
Code:
./vadduser info@new_domain.com password
You can follow this example to add more users. Also you should have in mind that the Qmail server don't needs a restart after the addition of new domains and users.
You can also check the man pages for these commands here :