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

----

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

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

5

Re: Split Domain with google work space and IREDMAIL

any update?
considering integration google workspace with iredpro,
as iredpro using postfix:

postconf -e mynetworks='35.190.247.0/24 64.233.160.0/19 66.102.0.0/20 66.249.80.0/20 72.14.192.0/18 74.125.0.0/16 108.177.8.0/21 173.194.0.0/16 209.85.128.0/17 216.58.192.0/19 216.239.32.0/19 172.217.0.0/19 172.217.32.0/20 172.217.128.0/19 172.217.160.0/20 172.217.192.0/19 172.253.56.0/21 172.253.112.0/20 108.177.96.0/19 35.191.0.0/16 130.211.0.0/22'

reference:
https://apps.google.com/supportwidget/a … _context=a

https://docs.iredmail.org/iredmail-easy … ml#postfix


while the error coming from sender address rejected user unknown:
https://serverfault.com/questions/59196 … lbox-table

but options for permit_mynetworks already should do it?