- Edited
English
google workspace hybrid
- Edited
- Best Answerset by geek678
This works for me.
please edit Options > Forwarding Hosts > Add: ???
DNS
MX: ASPMX.L.GOOGLE.COM 1
MX: ALT1.ASPMX.L.GOOGLE.COM 5
MX: ALT2.ASPMX.L.GOOGLE.COM 5
MX: ALT3.ASPMX.L.GOOGLE.COM 10
MX: ALT4.ASPMX.L.GOOGLE.COM 10
SPF: include:_spf.google.com
Google Workspace Admin Console []
Apps > Google Workspace >
Gmail >
Hosts > Add route
Name: From Gmail To Mailcow
Single host: mail.example.com:587
Perform MX lookup on host: (ckecked)
Routing >
Routing >
Name: From Gmail To Mailcow
Inbound, Internal - Receiving
Route Change route
Also reroute spam
From Gmail To Mailcow
Show options
Account types to affect : Unrecognized / Catch-all
Only affect specific envelope recipients > Pattern match : example.com
SMTP relay service >
Only addresses in my domain
Only accept mail from the specified IP addresses [mailcow server IP addresses]
Require SMTP authentication [do not check; it requires Gmail account]
mailcow [https://mail.example.com]
System > Configuration >
Options > Forwarding Hosts > Add: ???
Routing > Add sender-dependent transports
Host: smtp-relay.gmail.com:587
User: (leave it empty)
Pass: (leave it empty)
Email > Configuration > Domains > example.com
Sender-dependent transports: smtp-relay.gmail.com:587
Relay non-existing mailboxes only [checked]
Have something to say?
Join the community by quickly registering to participate in this discussion. We'd like to see you joining our great moo-community!
Hi guys, i try to configure a server with google smtp relay , to send and receive mails on mailcow. I am able to send not to receive. The configuration is a bit odd. The server FQDN and implicitly the mx for mail is not a google workspace domain, is an outside domain, but the domain added to be used for emails is. Can someone help me solve the issue, please ? I am getting Your message wasn’t delivered to test@unfairedge.net because the domain unfairedge.net couldn’t be found. Check for typos or unnecessary spaces and try again.
550 5.7.1 Invalid credentials for relay [2a00:1450:4864:20::22e]. The IP address you’ve registered in your Workspace SMTP Relay service doesn’t match the domain of the account this email is being sent from. If you are trying to relay mail from a domain that isn’t registered under your Workspace account or has empty envelope-from, you must configure your mail server either to use SMTP AUTH to identify the sending domain or to present one of your domain names in the HELO or EHLO command. For more information, please visit dv16-20020a170906b81000b009dd4820c4dasm1466977ejb.213 - gsmtp
error message. Mailcow server is installed on contabo, and i use Cloudflare for DNS management for both domains.