1

Topic: Migrate SQL version to LDAP

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
======== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5-1
- Linux/BSD distribution name and version:  CentOS 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? Yes
- Related log if you're reporting an issue:
====

I would like to migrate iRedmail and Admin-Pro from SQL to LDAP version, is there any tools for migration? Thanks!

----

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

2

Re: Migrate SQL version to LDAP

Unfortunately, we don't have such tool. You have to write some script to export mail accounts, then convert to LDAP LDIF file, then import the LDIF.

Another possible way:

*) Setup a new server with different backend.
*) Create new mail accounts which are exactly same as old server. It's ok to use different password right now.
*) Dump passwords from old server, update users on new server to use dumped passwords. so that they have same passwords as old server.
*) Migrate mailboxes with imapsync or other tools you prefer.