Kisakye Alex wrote:

Greetings,

Does anyone have a bulk user creation script somewhere??

Am creating 20,000 student accounts (same domain) on a new toaster, Alooot of work for me

Any help will be appreciated

ALex

once, someone has migrating from exchange to qmailtoaster
I forgot his name but please check on archive.
If I am not wrong, this is the script
users.txt seems list the emailaccount but please check again the archive for details

---------------------- begin of file --------------------------------
#!/bin/sh
#
# Script to add user accounts to the local system
# for use by Autodir.
#
maildomain="@paulooctavio.com.br"
qmailadd="/home/vpopmail/bin/vadduser"
pass="123"
for user in `cat users.txt`
do
       echo "adding the user: $user"
       $qmailadd $user$maildomain $user$pass
done
---------------------- end of file --------------------------------




---------------------------------------------------------------------
    QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to