If you compiled vpopmail with the ability to learn passwords you can just add a -n flag to your vadduser command "vadduser -n $f" and it will add the user with a blank password, which allows it to be "learned."

-Clayton

Kleiner, Peter wrote:

Does anyone have a script that will add or delete email accounts in vpopmail
given a static file with the email address of each user we want to add or
delete?


Do you mean something like
# for f in `cat file.txt` ; do /home/vpopmail/bin/vadduser $f ; done

Then you'd have to manage the passwords...

Reply via email to