1

Topic: Migrating many users to iredmail using create_mail_user_OpenLDAP.sh

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.0
- Linux/BSD distribution name and version: Ubuntu 14.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No, open source version
- Related log if you're reporting an issue:
====

Hi,

I want to migrate many users to my iredmail-driven mail server. I've already discovered the "create_mail_user_OpenLDAP.sh" script. If I get it right it is possible to run this script using several user names to which per choice a default password or the username as password is assigned?
My question is: Is it possible to open a list (csv?) with the script in which usernames and passwords are fixed?
Or each user must change his password individually?

Thanks a lot!

Yours alex42

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Migrating many users to iredmail using create_mail_user_OpenLDAP.sh

Check file 'create_mail_user_OpenLDAP.py' under same directory please.

3

Re: Migrating many users to iredmail using create_mail_user_OpenLDAP.sh

ZhangHuangbin wrote:

Check file 'create_mail_user_OpenLDAP.py' under same directory please.

Thats great! Am I getting it right? The csv has to contain in the first column the domain name, second column the username, third the password? Or the order of columns does not matter?

Do I have to add the groups before using the script?

Thanks in advance!

4

Re: Migrating many users to iredmail using create_mail_user_OpenLDAP.sh

*) The order of columns MATTERS.
*) You can add the groups with this script. Or, add manually.

5

Re: Migrating many users to iredmail using create_mail_user_OpenLDAP.sh

Do I have to use a table header or should the entries begin in die first row?

6

Re: Migrating many users to iredmail using create_mail_user_OpenLDAP.sh

No table header please.