Topic: Getting SMTP AUTH is required for users under this sender domain error
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): latest 1.3
- Deployed with iRedMail Easy or the downloadable installer? downloadable
- Linux/BSD distribution name and version: Ubuntu 18
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
I have some complicated setup, goes like this:
My iRedMail mail server is something like: mail.mine.com
domain-one.com mail accounts are hosted on G Suite (MX records point to Google's servers). Using the G Suite admin interface I can configure that email sent to extra@domain-one.com (which should not be managed by G Suite) should be routed to: mail.mine.com
On iRedMailAdmin I added domain-one.com and added under it the user: extra@domain-one.com.
In fact, if someone sends email to: extra@domain-one.com it gets delivered to my iRedMail based server. I have managed also to send emails from extra@domain-one.com to anywhere (using Sogo etc.).
Problem arises when some-user@domain-one.com using G Suite GMail (a user managed by G Suite) interface sends email to an address hosted on my iRedMail server. The error I can see on maillog:
NOQUEUE: reject: RCPT from mail-qt1-f173.google.com[209.85.160.173]: 554 5.7.1 <someone@domain-hosted-on-my-iredmail-server.com>: Recipient address rejected: SMTP AUTH is required for users under this sender domain; from=<some-user@domain-one.com> to=<someone@domain-hosted-on-my-iredmail-server.com> proto=ESMTP helo=<mail-qt1-f173.google.com>
iRedMail rejects the e-mail sent by Google's servers (FROM: some-user@domain-one.com) because domain-one.com is registered also on the iRedMail Server and iRedMail is not told to expect that e-mails for this domain-one.com could be sent by G Suite.
Any idea how to solve this?
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.