Skip to content

Google Workspace SMTP relay without authentication #718

Closed Answered by dodedodo
dodedodo asked this question in Support
Discussion options

You must be logged in to vote

Thanks for your reply! Google workspace can be configured to allow sending only from certain authorized IP addresses, so this environment isn't completely without authentication.

After some fiddling around with an isolated nodemailer environment, it turns out my issue is solved by these two changes:

  1. Manually set the padloc docker container hostname to something gmail can resolve to the authorized IP address. E.g. the servers' fqdn.
  2. Set secure: false and ignoreTLS: false. I had mistaken the latter as 'ignore certificate validity', but this setting will actually prevent nodemailer from negotiating STARTTLS.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by dodedodo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #715 on August 02, 2023 15:01.