Page MenuHomePhorge

Diviner: Configuring Outbound Mail: Remove incorrect Gmail references
ClosedPublic

Authored by aklapper on Mar 21 2025, 13:42.
Tags
None
Referenced Files
F3854070: D25911.1746154784.diff
Thu, May 1, 02:59
F3754700: D25911.1745822866.diff
Sun, Apr 27, 06:47
F3731188: D25911.1745736848.diff
Sat, Apr 26, 06:54
F3720580: D25911.1745714601.diff
Sat, Apr 26, 00:43
F3712657: D25911.1745690403.diff
Fri, Apr 25, 18:00
F3711995: D25911.1745667403.diff
Fri, Apr 25, 11:36
F3604554: D25911.1745210530.diff
Sun, Apr 20, 04:42
F3604553: D25911.1745210518.diff
Sun, Apr 20, 04:41

Details

Summary

Configuring SMTP for Gmail as described will trigger
"535-5.7.8 Username and Password not accepted. Learn more at 535 5.7.8 https://support.google.com/mail/?p=BadCredentials"
GMail only supports OAuth and 2FA/App Passwords these days; the "less secure apps" option (which would be needed for the described SMTP setup) has been removed.

Test Plan

Follow the docs; set up cluster.mailers config setting in Phorge; run ./bin/mail send-test --to admin --subject subject < ~/foo and fail.
Optionally, watch https://www.youtube.com/watch?v=Y_u5KIeXiVI for your personal corporate excitement.

Diff Detail

Repository
rP Phorge
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Small question: if an user migrates from gmail.com "less secure apps" to gmail.com "App Passwords", isn't that the very same thing?

I assume that also after this change, "External SMTP" and "ssl" still applies to gmail.com.

Anyway I'm in general OK about avoiding sort of promotion of gmail.com in official documentation, especially if it's a mess to setup gmail.com, and especially if we don't have practical examples, and especially if nothing else is mentioned, and keeping these info up to date is a mess...

This revision is now accepted and ready to land.Thu, Apr 24, 09:23

Small question: if an user migrates from gmail.com "less secure apps" to gmail.com "App Passwords", isn't that the very same thing?

Not sure what "that" means... in my understanding, Google's "app passwords" means OAuth.