Importing numerous email accounts

Is there a way I can import name/account/passwords from a file? I have about 100 accounts to do and would like to avoid doing it one at a time. The users/domain currently have hostgator as a email service and are switching away from them to my MiaB. It’s ready to go but I would just like a way to import their current name/login/pw from a tab delimited file or the like.

There is a little utility:


I would think you could write a simple bash script that would loop through your input file and use the above command to add the user, such as:

tools/ user add [password]


or this?