Skip to content
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

Gmail SMTP: You can no longer use the account's password #106

Closed
ghost opened this issue Sep 23, 2023 · 2 comments
Closed

Gmail SMTP: You can no longer use the account's password #106

ghost opened this issue Sep 23, 2023 · 2 comments

Comments

@ghost
Copy link

ghost commented Sep 23, 2023

It seems that to use Gmail and Exim4 you can no longer use the account's password for SMTP authentication, even if you have 2FA disabled.
If you try to, the output of tail /var/log/exim4/mainlog will be similar to this:

plain authenticator failed H=smtp.gmail.com Username and Password not accepted. Learn more at https://support.google.com/mail/?p=BadCredentials - gsmtp
login authenticator failed H=smtp.gmail.com Username and Password not accepted. Learn more at https://support.google.com/mail/?p=BadCredentials - gsmtp

The solution is to enable 2FA on the account, create an App Password and use it without any spaces.

It would be nice to have that updated in the Gmail and Exim4 As MTA With Implicit TLS section.

@imthenachoman
Copy link
Owner

Good idea. I will add. A bit busy this week but will get to it.

imthenachoman added a commit that referenced this issue Oct 2, 2023
@imthenachoman
Copy link
Owner

Fixed. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant