1

Topic: Install MariaDB Master/Master Replication with iRedmail EE

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): iRedmail EE
- Deployed with iRedMail Easy or the downloadable installer? installer
- Linux/BSD distribution name and version: Ubuntu 24.04.3
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): OpenLDAP
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
We will be migrating our current iRedmail server (Rocky 8) over to a new server (Ubuntu 24.04.3) running iRedmail EE. Our backend will be OpenLDAP which we have a remote server for and also want to run the MariaDB on remote servers using Master/Master replication between them.

Since iRedmail EE installs MariaDB by default locally, how do I get the installer to either not install MariaDB and/or point it to the MariaDB servers I have already setup? Is this something I do during the install process or after?

Thanks. Scott.

----

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

2

Re: Install MariaDB Master/Master Replication with iRedmail EE

- Latest EE v1.5.1 doesn't support such setup yet.
- Upcoming EE v1.6.0 supports remote MariaDB as backend during initial setup. You must choose MariaDB as backend first, then choose local or remote MySQL/MariaDB server. If it's remote, input server address/port, root username/password, etc and finish the initial setup. This way you can run MariaDB cluster separately.

3

Re: Install MariaDB Master/Master Replication with iRedmail EE

Zhang, 2 more questions for you on this topic:

1. When will EE v1.6.0 be coming out
2. In our case, I believe we will still be running LDAP as the backend, so could we still choose MariaDB as the backend so we can run it remotely but then switch the backend to LDAP so that the MariaDB part of iRedmail is running remotely, provided my question makes sense.

4

Re: Install MariaDB Master/Master Replication with iRedmail EE

squigley wrote:

1. When will EE v1.6.0 be coming out

Ideally, next week.

squigley wrote:

2. In our case, I believe we will still be running LDAP as the backend, so could we still choose MariaDB as the backend so we can run it remotely but then switch the backend to LDAP so that the MariaDB part of iRedmail is running remotely, provided my question makes sense.

No.

FYI https://docs.iredmail.org/ee.remote.mysql.html