Batch method to create mailboxes

Inno78

New member
Joined
Jul 24, 2008
Messages
1
Can somebody give a solution for the following case:

We have to create a few hundred mailboxes for a particular domain. Doing it one by one would be a hell of a job. Is there any batch possibility? Does DirectAdmin has an API for this?

Thanks!

Inno
 
Hello,

You can manually mass-add uses to /etc/virtual/domain.com/passwd.
Add one use as a sample for syntax.

There is an api, but if you have the raw data, writing a script to append the passwd file is likely faster.

John
 
Back
Top