Topic: smtp_fallback_relay per domain
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5.1
- Linux/BSD distribution name and version: Ubuntu 14.0.4
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:
====
Hi,
Is it possible with iRedMail to use smtp_fallback_relay on a per domain basis?
Example:
I have an existing domain with hundreds of active email addresses. I created an MX record with priority 0, that points to the iRedMail server, which has some virtual users for DomainA.
If a mail is sent to an address that doesn't exist in alias table, can it be forwarded with smtp_fallback_relat to another smtp host like smtp:[xxx.domain.com]??
I have tried to set the transport for the domain to smtp:[xxx.example.com], but this sends all mail to xxx.example.com, even the mail intended for the virutal users.
I have also set set in master.cf smtp_fallback_relay=[xxx.example.com] on the smtp entry.
Thanks in advance for any advice you may have.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.