On Wed 18 Dec 2019 at 13:00:23 +1100, Adam Bolte wrote:
On Tue, Dec 17, 2019 at 05:12:08PM +1100, Brian May wrote:I am not aware of any open source IMAP client software that can use OAuth.Although I haven't tried yet, I'm pretty sure Thunderbird and offlineimap support it. Thunderbird 38.0beta release notes (current version is 68.3.0): https://www.thunderbird.net/en-US/thunderbird/38.0beta/releasenotes/ Using Offlineimap with the Gmail IMAP API: https://hobo.house/2017/07/17/using-offlineimap-with-the-gmail-imap-api/
I can confirm for OfflineIMAP, using this [0] to get the initial token. This is what I have in the config
[Repository GMail]
type = Gmail
remoteuser = [email protected]
# See [0]
# [0]
https://github.com/OfflineIMAP/offlineimap/blob/master/offlineimap.conf#L761:
oauth2_request_url = https://accounts.google.com/o/oauth2/token
oauth2_client_id = XXX.apps.googleusercontent.com
oauth2_client_secret = XXX
oauth2_refresh_token = 1/XXX
maxconnections = 3
# See [1]
# [1]
https://github.com/OfflineIMAP/offlineimap/issues/573#issuecomment-417049116
ssl_version = tls1_2
ssl = yes
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
subscribedonly = yes
folderfilter = lambda foldername: foldername in ('[Gmail]/Drafts',
'[Gmail]/All Mail') or not foldername.startswith('[Gmail]')
nametrans = lambda folder: re.sub(r'^\[Gmail]/', r'', fo
On Android, I use a fork of K9, called
PeP, which also supports autocrypt.
[0] https://github.com/google/gmail-oauth2-tools -- Olivier Mehani <[email protected]> PGP fingerprint: 4435 CF6A 7C8D DD9B E2DE F5F9 F012 A6E2 98C6 6655 Confidentiality cannot be guaranteed on emails sent or received unencrypted.
signature.asc
Description: PGP signature
_______________________________________________ Free-software-melb mailing list [email protected] https://lists.softwarefreedom.com.au/cgi-bin/mailman/listinfo/free-software-melb Free Software Melbourne home page: http://www.freesoftware.asn.au/melb/
