On Wed, Sep 21, 2016 at 05:05:17PM +0200, Rainer M Krug wrote:

> OK - here is my complete config - you asked for it - I only deleted the
> comments. I don't think I deleted something related before...:
> 
> ,----
> | [general]
> | accounts = Gmail
> | maxsyncaccounts = 3
> | ## write to disk using fsync()
> | fsync = true
> | ## ignore readonly warning message
> | ignore-readonly = no
> | pythonfile = ~/.offlineimap.py
> | 
> | [Account Gmail]
> | localrepository  = LocalRMKrugGMAIL
> | remoterepository = RemoteRMKrugGMAIL
> | ######
> | status_backend = sqlite
> | ######
> | postsynchook = /usr/local/bin/notmuch new
> | ######
> | autorefresh = 2
> | quick = 10
> | ######
> | 
> | 
> | [Account iCloud]
> | localrepository =   LocaliCloud
> | remoterepository =  RemoteiCloud
> | ######
> | status_backend = sqlite
> | ######
> | autorefresh = 2
> | quick = 10
> | ######
> | 
> | 
> | [Repository RemoteRMKrugGMAIL]
> | type = Gmail
> | sslcacertfile = /usr/local/etc/openssl/cert.pem
> | ######
> | remoteuser = USERNAME
> | remotepasseval = get_keychain_pass(account="RMKrugGmailOfflineimap")
> | ######
> | maxconnections = 5
> | ######
> | nametrans = lambda foldername: 'RMKrugGMAIL.' + foldername
> | ######
> | keepalive = 60
> | holdconnectionopen = no
> | ######
> | 
> | 
> | [Repository LocalRMKrugGMAIL]
> | type = IMAP
> | ###### 
> | preauthtunnel = /usr/local/opt/dovecot/libexec/dovecot/imap -o 
> mail_location=maildir:$HOME/Maildir
> | holdconnectionopen = yes
> | ######
> | nametrans = lambda folder: re.sub('^RMKrugGMAIL.', '', folder)
> | ######
> | folderfilter = lambda folder: folder.startswith('RMKrugGMAIL')
> | ######
> | keepalive = 60
> | holdconnectionopen = no
> | ######
> | 
> | [Repository LocalSUN]
> | type = IMAP
> | preauthtunnel = /usr/local/opt/dovecot/libexec/dovecot/imap -o 
> mail_location=maildir:$HOME/Maildir
> | holdconnectionopen = yes
> | nametrans = lambda folder: re.sub('^SUN.', '', folder)
> | folderfilter = lambda folder: folder.startswith('SUN')
> | keepalive = 60
> | holdconnectionopen = yes
> | 
> | [Repository RemoteSUN]
> | type = IMAP
> | remotehost = imap.sun.ac.za
> | remoteuser = USERNAME
> | remotepasseval = get_keychain_pass(account="rkrugSUNOfflineimap")
> | ######
> | nametrans = lambda foldername: 'SUN.' + foldername
> | ######
> | folderfilter = lambda folder: folder in ['INBOX']
> | ######
> | keepalive = 60
> | holdconnectionopen = yes
> | 
> | [Repository LocaliCloud]
> | type = IMAP
> | preauthtunnel = /usr/local/opt/dovecot/libexec/dovecot/imap -o 
> mail_location=maildir:$HOME/Maildir
> | holdconnectionopen = yes
> | folderfilter = lambda folder: folder.startswith('iCloud')
> | nametrans = lambda folder: re.sub('^iCloud.', '', folder)
> | keepalive = 60
> | holdconnectionopen = yes
> | 
> | [Repository RemoteiCloud]
> | type = IMAP
> | remotehost = imap.mail.me.com
> | port = 993
> | ssl = yes
> | sslcacertfile = /usr/local/etc/openssl/cert.pem
> | remoteuser = USERNAME
> | remotepasseval = get_keychain_pass(account="rainer.friCloudOfflineimap")
> | nametrans = lambda foldername: 'iCloud.' + foldername
> | ######
> | keepalive = 60
> | holdconnectionopen = yes
> `----

I can't find any XOAUTH related configuration option for your Gmail
account. Which version of offlineimap are you running?

-- 
Nicolas Sebrecht

_______________________________________________
OfflineIMAP-project mailing list: OfflineIMAP-project@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project

OfflineIMAP homepages:
- https://github.com/OfflineIMAP
- http://offlineimap.org

Reply via email to