Topic: Bulk migrate users
======== Required information ====
- iRedMail version: 0.8.5
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: CentOS 6.2
- Related log if you're reporting an issue: N/A
I am planning to migrate some users to a new iRedMail server from an old Qmail server. I have all of the passwords for the users, and would like to keep the same passwords to avoid a user revolt.
I have seen the script at tools/create_mail_user_SQL.sh. Before I try and hack it myself, has anyone come up with a script to create a SQL output file that contains individual passwords instead of a single default password? In other words, if I start with a flat file containing user names, domains and passwords, does anyone have a script that can run through that list and create the necessary SQL output file based on the existing user names, domains and passwords?
It has been a while since I've done a mail migration, but once I've created the users on the new iRedMail server, I'll probably use an old IMAP-based migration tool I've used before. Has anybody done this and, if so, any tips or pitfalls to consider?
I've read the features and comparison list, but I'm confused about the difference between a "global admin" and a "normal admin". Ideally I would like to have different admins for different groups of domains -- e.g., admin1 only manages domain1, admin2 manages domain2 and domain3, admin3 manages domain4, domain5 and domain6, etc. Is this possible? Are these sub-admins "normal admins", and does the "global admin" manage all admins and all domains?
And can I initially set up the open source version of iRedMail with all of the domains, then upgrade, then assign each domain to the appropriate "normal admin"? Or must I start with a pro version from the beginning?
Thanks in advance for answers to these questions.