-
-
Notifications
You must be signed in to change notification settings - Fork 787
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] - Can not send mail using an SMTP relay without authentication #4686
Comments
I want to confirm a variant of this bug. For me the setting It's still wrong. Because TLS is just transport encryption. It has nothing to do with authentication. I created a user account on my internal MTA, so it doesn't bother me anymore. |
@smoofy did you find a workaround for this in the meantime? |
Addressed @jtviolet in Discord - ended up using SMTP2GO. For reference, google is shutting down the ability to use "less secure" methods: https://support.google.com/accounts/answer/6010255?hl=en This may not relate to the SMTP-Relay but having attempted to use google auth numerous times in the past, there were constant issues with it being functional or reliable. |
After I posted to you, someone in the mealie discord suggested the same
option and I had it up and running in 5 minutes. Great solution and I’ll
definitely be using it for all of my homelab projects now.
|
@jtviolet I have setup a maddy server that handle local emails and send them to my Google Workspace relay without auth. |
I use SMTP relay in Exchange Online (see option 3: https://learn.microsoft.com/en-us/exchange/mail-flow-best-practices/how-to-set-up-a-multifunction-device-or-application-to-send-email-using-microsoft-365-or-office-365#option-3-configure-a-connector-to-send-emails-using-microsoft-365-or-office-365-smtp-relay) The requirement for credentials with TLS enabled creates an issue. |
First Check
What is the issue you are experiencing?
Unable to send email with a Google Workspace SMTP Relay service configured with no authentication.
Steps to Reproduce
Mealie mail configuration:
Relay configuration:
Please provide relevant logs
(550, b"5.7.1 Invalid credentials for relay [my.ip.address]. The IP address you've
5.7.1 registered in your Workspace SMTP Relay service doesn't match the
5.7.1 domain of the account this email is being sent from. If you are
5.7.1 trying to relay mail from a domain that isn't registered under your
5.7.1 Workspace account or has empty envelope-from, you must configure your
5.7.1 mail server either to use SMTP AUTH to identify the sending domain or
5.7.1 to present one of your domain names in the HELO or EHLO command. For
5.7.1 more information, go to
5.7.1 https://support.google.com/a/answer/6140680#invalidcred - gsmtp", 'mealie@mydomain.com')
Mealie Version
Docker image v2.3.0 d6de0d0b3d3ffd63a72ac75eec43c4802c3dcc31
Deployment
Docker (Synology)
Additional Deployment Details
No response
The text was updated successfully, but these errors were encountered: