1

Topic: Split Domain with google work space and IREDMAIL

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

Hi,

We are doing split domain concept with google workspace, Under this concept some of the users will on gmail server and some of them in iredmail server.

We have created routing on gsuite server, for the purpose of if any person send emails to the non-gmail users (which are hosted in iredmail server) mails will get deliver to the iredmail server using this routing and it is working correctly.

1) if outside domain users like xyz@hotmail.com and pqr@gmail.com send and receive email to admin@abc.com (hosted on gsuite server) and mnr@abc.com (hosted on iredmail server) we are not facing any issue on the same it works perfectly.

2) if admin@abc.com (which are hosted on gsuite server) send an email to mnr@abc.com (which are hosted on iredmail server) it bounce back with below error

#################################

2021-07-12 10:29:34 H=1.2.3.4 [1.2.3.4] SMTP error from remote mail server after RCPT TO:<mnr@abc.com>: 550 5.1.0 <admin@abc.com>: Sender address rejected: User unknown
2021-07-12 10:29:34 mnr@abc.com P=<admin@abc.com> R=static_route_hostlist T=static_smtp H=1.2.3.4 [1.2.3.4]:25 X=TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256 CV=no: SMTP error from remote mail server after RCPT TO:<mnr@abc.com>: 550 5.1.0 <admin@abc.com>: Sender address rejected: User unknown

#################################

is there any way can we skip checking for particularly only for this email id (admin@abc.com)?


Thanks
Sunil

2

Re: Split Domain with google work space and IREDMAIL

RajeshM wrote:

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

Hi,

We are doing split domain concept with google workspace, Under this concept some of the users will on gmail server and some of them in iredmail server.

We have created routing on gsuite server, for the purpose of if any person send emails to the non-gmail users (which are hosted in iredmail server) mails will get deliver to the iredmail server using this routing and it is working correctly.

1) if outside domain users like xyz@hotmail.com and pqr@gmail.com send and receive email to admin@abc.com (hosted on gsuite server) and mnr@abc.com (hosted on iredmail server) we are not facing any issue on the same it works perfectly.

2) if admin@abc.com (which are hosted on gsuite server) send an email to mnr@abc.com (which are hosted on iredmail server) it bounce back with below error

#################################

2021-07-12 10:29:34 H=1.2.3.4 [1.2.3.4] SMTP error from remote mail server after RCPT TO:<mnr@abc.com>: 550 5.1.0 <admin@abc.com>: Sender address rejected: User unknown
2021-07-12 10:29:34 mnr@abc.com P=<admin@abc.com> R=static_route_hostlist T=static_smtp H=1.2.3.4 [1.2.3.4]:25 X=TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256 CV=no: SMTP error from remote mail server after RCPT TO:<mnr@abc.com>: 550 5.1.0 <admin@abc.com>: Sender address rejected: User unknown

#################################

is there any way can we skip checking for particularly only for this email id (admin@abc.com)?


Thanks
Sunil


Hi,

Can you please update about same.

Thanks
Sunil

3

Re: Split Domain with google work space and IREDMAIL

RajeshM wrote:

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

Hi,

We are doing split domain concept with google workspace, Under this concept some of the users will on gmail server and some of them in iredmail server.

We have created routing on gsuite server, for the purpose of if any person send emails to the non-gmail users (which are hosted in iredmail server) mails will get deliver to the iredmail server using this routing and it is working correctly.

1) if outside domain users like xyz@hotmail.com and pqr@gmail.com send and receive email to admin@abc.com (hosted on gsuite server) and mnr@abc.com (hosted on iredmail server) we are not facing any issue on the same it works perfectly.

2) if admin@abc.com (which are hosted on gsuite server) send an email to mnr@abc.com (which are hosted on iredmail server) it bounce back with below error

#################################

2021-07-12 10:29:34 H=1.2.3.4 [1.2.3.4] SMTP error from remote mail server after RCPT TO:<mnr@abc.com>: 550 5.1.0 <admin@abc.com>: Sender address rejected: User unknown
2021-07-12 10:29:34 mnr@abc.com P=<admin@abc.com> R=static_route_hostlist T=static_smtp H=1.2.3.4 [1.2.3.4]:25 X=TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256 CV=no: SMTP error from remote mail server after RCPT TO:<mnr@abc.com>: 550 5.1.0 <admin@abc.com>: Sender address rejected: User unknown

#################################

is there any way can we skip checking for particularly only for this email id (admin@abc.com)?


Thanks
Sunil


Hi,

Can you please update about same.

Thanks
Sunil

4

Re: Split Domain with google work space and IREDMAIL

Sorry we have no plan to support this "split domain" setup in iRedMail shortly. I'm afraid that you're on your own.

BTW, here's a try we did years ago, you can try it on a testing machine and tune it if it works for you:
https://gist.github.com/iredmail/fda90a … c18638e047

----

Buy me a cup of coffee ($5) to support iRedMail:

buy me a cup of coffee