See my other issue with usermin filters in case they are related.
This post about migrating accounts from existing server into virtualmin pro.
Currently mail accounts are stored in cdb format. I can extract this (cdbdump) to have username:encryptedpassword
This is using md5. Unfortunately (for this exercise) I don't know the passwords.
It seems that the batch import into virtualmin requires plain text passwords, can this be changed?
Also I've looked at adding users without passwords and then using the webmin 'users and groups' to add the encrypted password. This works for everything except usermin.
ie I can pop, imap and log into usermin, however the reading of the mail folders within usermin fails with a permission denied.