Any recommendations on how to create large quantities of mail users in virtual domains? Is there something available on the command line I could tap into with a script? Or is this going to require some Perl work? Any example scripts I can reference?
There are several mechanisms for bulk user creation, including command line tools found in the /usr/libexec/webmin/virtual-server directory.
Here’s the docs:
Specifically, the create-user.pl command is documented here:
You could, pretty easily, wrap this command up in a bash for loop to create users from usernames and passwords found in a file. If you’re unsure how to do that, give me an example of what your source of usernames looks like and I’ll see what I can come up with.
If you run into any problems, feel free to query us here or in the customer issue tracker. Or, if you think you find a bug, in the bug tracker.
Well duh, there it is right in the docs. Thanks, I haven’t looked at the newly expanded docs section. That looks like it’ll do the trick.