1

Topic: iRedmail and Exchange Server for the same domain

==== Required information ====
- iRedMail version (check /etc/iredmail-release):  0.9.3
- Linux/BSD distribution name and version: CentOS Linux release 7.2.1511
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Yes
- Related log if you're reporting an issue:
====

One of our customers uses iRedmail with an additional Exchange server. A few accounts are on the Exchange most of the other accounts are configured in iRedMail. All accounts are with the same domain. Now we see an error, as soon as he tries to send mails from his Exchange server to an account to iRedmail.

What would be the best practice for this setup?

Thanks in advance

J.

----

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

2

Re: iRedmail and Exchange Server for the same domain

Let's say you have user "a@domain.com" hosted on Exchange:

*) please create this account on iRedMail too, then login to iRedAdmin-Pro, go to its user profile page, click tab "Relay", set its relay to "smtp:[ip]" -- replace "ip" by the real ip address of your exchange server. Note, "[]" must be kept.

*) on iRedMail server, append ip of your exchange server in Postfix config file /etc/postfix/main.cf, parameter: mynetworks.

3

Re: iRedmail and Exchange Server for the same domain

Thanks for the quick reply. We will give this a try.

CU J.

4

Re: iRedmail and Exchange Server for the same domain

ZhangHuangbin wrote:

Let's say you have user "a@domain.com" hosted on Exchange:

*) please create this account on iRedMail too, then login to iRedAdmin-Pro, go to its user profile page, click tab "Relay", set its relay to "smtp:[ip]" -- replace "ip" by the real ip address of your exchange server. Note, "[]" must be kept.

*) on iRedMail server, append ip of your exchange server in Postfix config file /etc/postfix/main.cf, parameter: mynetworks.

Hi,

I'll appreciate any kind of support to solve the same problem, without iRedAdmin-Pro, with MariaDB backend

Thanks in advance.

5

Re: iRedmail and Exchange Server for the same domain

phseixas wrote:

I'll appreciate any kind of support to solve the same problem, without iRedAdmin-Pro, with MariaDB backend

FYI: https://docs.iredmail.org/per-account.transport.html

Please create a new topic for this, do not hijack other's thread, especially few years old thread.