Closed AlissonRS closed 3 months ago
Hi,
thank you for your report. While I would love to help, this is outside the scope of the image and I am currently preoccupied.
To help you diagnose the issue:
As always, internet is your friend. Search around for how to configure postfix. If everything else fails, try finding a local postfix guru.
I am sorry I cannot be of more help.
I have a working setup using Google Workspace SMTP Relay, I'm testing locally and added my own IP address into Google Console, I managed to send emails just fine with my primary email address.
I added a secondary domain to my Google Workspace, and added an alternate email address to my user, so now I have:
My docker-compose looks like this:
When I try sending email from my secondary email address, I get this error:
(my-test-recipient is a valid test email I own, and I have successfully received emails using my primary email for sending)
I also tried changing "Allowed Senders" to "Only addresses in my domain" in the SMTP Relay settings in Workspace, just in case.
Both my domains (primary and secondary) have DKIM, DMARC and SPF enabled, though that should be handled by Google.
I can send emails from Gmail manually just fine.
Do I need any extra setup to support an alternate domain? Or perhaps Google itself doesn't support using alternate domains with SMTP Relay (though it works fine from Gmail, from there I can use my alternate domain as a sender).