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

Reccomendation setting up email with gmail #232

Closed
giovi321 opened this issue Apr 3, 2023 · 1 comment
Closed

Reccomendation setting up email with gmail #232

giovi321 opened this issue Apr 3, 2023 · 1 comment

Comments

@giovi321
Copy link

giovi321 commented Apr 3, 2023

Don't forget to activate less secure apps on gmail, if you want to send documents by email: https://support.google.com/accounts/answer/6010255

@spillner
Copy link
Contributor

Note that Google has now disabled the "less secure apps" setting except for Workspace and Cloud Identity customers. The workaround is described at https://stackoverflow.com/questions/71756052/how-to-fix-less-secure-app-access-problem-in-gmail :

  1. Enable two-factor authentication in the Google account you want to use (can't use app passwords without 2FA)
  2. Visit https://myaccount.google.com/u/0/apppasswords
  3. Set up an app password for GMail
  4. Enter that app password on the RM_SMTP_PASSWORD= line of your rmfakecloud.conf
  5. Restart the rmfakecloud service

There's an "app password should work OK" note in the email section of https://ddvk.github.io/rmfakecloud/install/configuration, but the example configuration scripts at https://ddvk.github.io/rmfakecloud/install/source (which show GMail as the default SMTP backend) ought to be updated to direct users to set up and enter the app password, instead of the account password (which is an unnecessary security risk, and won't work anyway unless they're Workplace/Cloud Identity subscribers).

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

3 participants