Problem when using smtp-relay.gmail.com for email notifications
We use google workspace for our business email, so I'm trying to use smtp-relay.gmail.com to send email notifications from my Omada controller, as described here: https://support.google.com/a/answer/176600?hl=en. I tried very variation of port and TLS enabling on the Omada side, and also every variation of requiring TLS and restricting the sender address in the google admin portal, but the test email failed to send every time. The only way that I could get a test email to send was by using the third option described in the article above, the restricted SMTP server: aspmx.l.google.com with no encryption and using port 25. However this method means that the email travels unencrypted and also can only be sent to Gmail or Google Workspace users - not at all ideal.
I belive that I am still being affected by the exact same issue described here, which was brilliantly investigated by gantzm: https://community.tp-link.com/en/business/forum/topic/634266
Please can someone from the TP-Link staff investigate this as a priority? Sending localhost in the EHLO message is ridiculous in 2026 and its understandable that Google blocks it on their mail relay. I think this is the only reason that the test email can send when I use aspmx.l.google.com - Google is more lax with the security and ignores the error of sending localhost.
Thanks in advance!
