Reccomendation setting up email with gmail
giovi321 opened this issue · 1 comments
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
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 :
- Enable two-factor authentication in the Google account you want to use (can't use app passwords without 2FA)
- Visit https://myaccount.google.com/u/0/apppasswords
- Set up an app password for GMail
- Enter that app password on the RM_SMTP_PASSWORD= line of your rmfakecloud.conf
- 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).