1

Topic: 2 mail servers and a single domain

==== Required information ====
- iRedMail version: 0.8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: CentOS 6.5
- Related log if you're reporting an issue:
====

Hello everyone!

Scenario:

# - 2 servers (one Exchange and the other iRedMail) and only one single domain @mydomain.com

# - Each one has his own MX record (different priority)

# - Each server has it's own @mydomain.com mailboxs (not repeated on both mail servers)


How can I setup iRedMail to send @mydomain.com emails to users that are setup on his "brother mail server - Exchange" ?
Avoiding messages warning me that user@mydomain.com does not exist ! Exists but on the brother mail server!

Thanks for the help.

----

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

2

Re: 2 mail servers and a single domain

Add users which hosted on Exchange to iRedMail server too, then set per-user transport for them to relay to Exchange server. For example:

*) 'user@' is hosted on Exchange server.
*) Now create mail user 'user@' on iRedMail server.
*) Set a per-user transport for user@ with iRedAdmin-Pro, or update SQL record in table "vmail.mailbox" manually (column "transport"). Sample per-user transport value should be: smtp:[IP_of_Exchange_server]:25

That's it.

3

Re: 2 mail servers and a single domain

Works !

Thank you ZhangHuangbin smile