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