Gentoo Archives: gentoo-user

From: Dr Rainer Woitok <rainer.woitok@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Google and "fetchmail" + "ssmtp"
Date: Thu, 17 Mar 2022 16:52:02
Message-Id: 25139.26403.211852.542463@tux.local
1 Greetings,
2
3 since quite some time, longe before "converting" to Gentoo, I've used
4 "fetchmail" and "ssmtp" to retrieve and send mail via my Google account.
5
6 Some time after I had all set up, Google started nagging about my not-
7 so-secure access to my mail account via just userid and password. Up to
8 now I simply ignored that. But now Google told me to only allow "Sign
9 in with Google" or OAuth 2.0 after 2022-05-30.
10
11 I've seen quite a few people with "@gmail" or "@googlemail" addresses on
12 this list, so others might have a similar problem, but maybe nobody but
13 me is using this Google + "fetchmail" + "ssmtp" combination. Any ideas
14 how to get OAuth into this set-up?
15
16 If it helps, here are the relevant configuration files:
17
18 ---------------------------- ~/.fetchmailrc ----------------------------
19
20 poll pop.gmail.com
21 proto POP3
22 service 995
23 user rainer.woitok@××××××××××.com
24 dropdelivered
25 fetchall
26 no keep
27 mda '/usr/bin/procmail -pf %F'
28 pass ******
29 ssl
30
31 ------------------------ /etc/ssmtp/ssmtp.conf -------------------------
32
33 mailhub=smtp.gmail.com:587
34 FromLineOverride=YES
35 hostname=tux
36 rewriteDomain=Gmail.Com
37 root=Rainer.Woitok@×××××.Com
38 UseSTARTTLS=YES
39 AuthUser=rainer.woitok@××××××××××.com
40 AuthPass=******
41
42 ---------------------------------End ----------------------------------
43
44 Sincerely,
45 Rainer

Replies

Subject Author
Re: [gentoo-user] Google and "fetchmail" + "ssmtp" "Anna “CyberTailor”" <cyber@×××××.in>
[gentoo-user] Re: Google and "fetchmail" + "ssmtp" Nikos Chantziaras <realnc@×××××.com>
Re: [gentoo-user] Google and "fetchmail" + "ssmtp" Wols Lists <antlists@××××××××××××.uk>