1

Topic: How to Change user backend after installation ?

==== 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?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
======== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7
- Linux/BSD distribution name and version: debian
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
====
Hi all !
I installed Iredmail some months ago and it works fine. Now I would like to change the user backend from PGSL to LDAP without reinstalling erverything.

I plan to reuse the LDAP server for other systems and would like to have shorter and simpler logins than firstname.lastname@doman.name . Is this possible at all ?  Users should still be able to change their passwords with roundcube, shouldn't they ?

Thanks

Norbert

----

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

2

Re: How to Change user backend after installation ?

Norbert wrote:

Is this possible at all ?

Impossible.

SQL/LDAP stores data in different format, and other applications have different configure for SQL/LDAP support.

3 (edited by Norbert 2018-01-23 16:49:56)

Re: How to Change user backend after installation ?

ZhangHuangbin wrote:
Norbert wrote:

Is this possible at all ?

Impossible.

SQL/LDAP stores data in different format, and other applications have different configure for SQL/LDAP support.

I know. The idea was to amend the existing LDAP-Structure of IRedmail.  Nextcloud for example could authorize its users against a given LDAP-Server and that would be yours.

Or is it impossible to change the backend later on at all ?

4

Re: How to Change user backend after installation ?

NextCloud should work fine with the OpenLDAP server configured by iRedMail.

5

Re: How to Change user backend after installation ?

ZhangHuangbin wrote:

NextCloud should work fine with the OpenLDAP server configured by iRedMail.

But I understand correctly that a change of backend is not possible after installation ?

Does the open source edition (not PRO ) with LDAP ?

6

Re: How to Change user backend after installation ?

Norbert wrote:

But I understand correctly that a change of backend is not possible after installation ?

You're correct, you cannot change it after installation.

Norbert wrote:

Does the open source edition (not PRO ) with LDAP ?

Sure. iRedMail supports MySQL, MariaDB, PostgreSQL, OpenLDAP, OpenBSD ldapd.

7

Re: How to Change user backend after installation ?

ZhangHuangbin wrote:

NextCloud should work fine with the OpenLDAP server configured by iRedMail.

Wait... you're saying Nextcloud could use iRedMail server for authentication?

Oh my, I'll need to connect the dots for that one.