On 2022-06-30, Walter Dnes <waltd...@waltdnes.org> wrote: > On Wed, Jun 29, 2022 at 10:26:55PM -0000, Grant Edwards wrote >> >> AFAIK, you've got two choices. >> >> 1. Use an "app password" >> >> https://support.google.com/accounts/answer/185833 >> >> https://www.lifewire.com/get-a-password-to-access-gmail-by-pop-imap-2-1171882 >> >> 2. Use OAUTH 2.0 >> >> https://developers.google.com/gmail/imap/xoauth2-protocol >> https://oauth.net/2/ > > I looked at those instructions and also at setting up mutt, which I > currently use. Clear as mud.
OAUTH is pretty complicated. However, setting up an app password is very simple. It only takes a few clicks. Quoting from the google support page (first link above): 1. Log in to your Google Account. 2. Click "Security". 3. Click "App Passwords". That brings up the App Paswords page 4. Select app (pick app from dropdown, you want "Mail") 5. Select device (pick device from dropdown, pick whatever you want, I recommend custom) 6. Click "Generate" That will pop up a dialog containing a 16-character password to be used by fetchmail. Copy that password 7. Click "Done"