1

Topic: Support of multiple backends for multiple mail domains

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.7.4
- Deployed with iRedMail Easy or the downloadable installer?  downloadable installer
- Linux/BSD distribution name and version: ubuntu 22.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP/MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Is it possible to have two backends for mail accounts in iRedmail. One is MySQL and the other is LDAP.

We have a requirement to have two domains in iRedMail

1. First mail domain is for iRedMail Admins and the backend should be our Organization Active Directory
2. Second mail domain is for regular non-admin mail accounts. The backend should be local mysql database

Want to see if there is way where I can choose different backends for different mail domains.

----

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

2

Re: Support of multiple backends for multiple mail domains

Sure it's ok, just add additional mysql/ldap queries in postfix / ldap / ...

3

Re: Support of multiple backends for multiple mail domains

is a there a document or can you list out the highlevel process here on how to do that.

4

Re: Support of multiple backends for multiple mail domains

Hi Zhang - Can you please point us to any document or list the steps on how to do that.