Topic: iRedMail backup mx
==== Required information ====
- iRedMail version: latest
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
====
Hi, me yet again.
We're looking to set up a backup MX for our new iRedMail/iRedAdmin-Pro setup. However we DON'T want the standard setup advised here in other posts. (That being, you manually flag each domain to be a backup MX on the backup MX server).
We are running openldap with syncrepl to make sure all new domains are also synced across to the backup server, this means we can't really make amends to the local LDAP database on the backup MX server. We'd prefer to have this server accept and forward mail for all valid/enabled domains in LDAP.
I've been fiddling around with /etc/postfix/ldap/relay_domains.cf and /etc/postfix/main.cf, but I can't seem to get postfix to relay all mail for all domains without either attempting to deliver it locally, or the whole server acting as an open relay.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.