raymondnkosi
I've gone and done this (host added using port 25, routing configured for a specific mailbox), and using the gmail email logging tool I can see this:
info@domain.com
Jun 18, 2025, 6:26:02 PM
0.93 seconds
Bounced
Jun 18, 2025, 6:26:01 PM
Received from an SMTP server with IP address: XXX.XX.XXX.XX (TLS enabled)
250 2.0.0 OK
Jun 18, 2025, 6:26:01 PM
Inserted into Gmail delivery pipeline
Jun 18, 2025, 6:26:01 PM
In progress
Matched rules:
Routing: Split Delivery
Go to this setting
Jun 18, 2025, 6:26:01 PM
Inserted into Gmail delivery pipeline
Jun 18, 2025, 6:26:01 PM
Bounced
Google tried to deliver your message, but it was rejected by the relay mail.mailserverdomain.com [XX.XXX.XX.XXX].
The error that the other server returned was:
554 5.7.1 : Relay access denied
I've also gone as far as adding the IP ranges Google documents and white listed them in the Mail server settings in Enhance. (I used network ranges, though. Not sure if that supports/accepts addresses in CIDR notation)
Maybe I have some misunderstanding here/not sure if any of this is relevant:
1) Do I need to use [my] mail servers PTR address? Or can I use the clients mail.clientdomain.com? My clients mail subdomain resolves to my mail servers IP.
2) Do you have the clients mail settings in Enhance set as Local or Remote?
Additionally, even after adding the IP's to the email servers whitelist -- I see nothing in my servers Postfix config that would lead me to believe they are whitelisted.
It's looking like the issue is still related to access. I need to permit/whitelist the Google networks. (Which I thought I was doing in the Mail whitelisting settings of Enhance)
Edit: I tried adding the relay_recipient_maps postmap, as-well as the domain to relay_domains, and then reloaded postfix... No change. Still denied access.
Edit 2: Progress! Shaking my head... I never verified DKIM setup in Workspace. It was missing. I can now see the email flowing from Google to my mail server... but the email isn't hitting the Enhance inbox for some reason. I can see it in rspamd logs/WebGUI and it has a negative spam score/no issues to be dropped. Is it because I selected "Remote mail", so Enhance doesn't consider any inbound mail destined to 'local' mailboxes?
Edit 3: More Progress! If I switch to local mail in Enhance for the clients domain -- and keep MX records for google.. then it works... but that setup is confusing to me and then inter-domain email doesn't work between an address hosted with Enhance to an address on Workspace. I must be fundamentally missing something here 🙁