On Sun, Mar 16, 2003 at 08:42:53PM -0800, Greg Thompson wrote:
> ...is there an easy way to> take all the users from the system and create 
> vpopmail users from them without going back and typing in all their names 
> and passwords?

If you compiled vpopmail with --enable-learn-passwords=y then you could
create a list of your users in a file:

  ls /home/ | tr '\s' '\n' > /tmp/users

Then create all the users with something like this:

  for in in `cat /tmp/users`; do ~vpopmail/bin/vadduser -n "$i"@example.com; done

Be sure to remove any unwanted users from /tmp/users first.

Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/

Reply via email to