spaetz/offlineimap — Issue #10: not writable warnings even though readonly=True is set
Author: incandenza
Created: 2012-01-07 03:40:42+00:00
State: open

In version 6.5.0, I am getting some warnings about folders not being writable, even though the repository is set as readonly=True. I'm using a very basic config with Gmail.

If I understand correctly it should not be trying to write to a readonly folder in the first place. This was not happening on the previous version I was using, 6.3.3.

Example warning:

Folder [Gmail]/Trash [acc: gmail]:
ERROR: Aborting sync, folder '[Gmail]/Trash' [acc: 'gmail']
Server 'imap.gmail.com' closed connection, error on SELECT '[Gmail]/Trash'. Server said: [Gmail]/Trash is not writable

offlineimaprc:

[general]
accounts = gmail
socktimeout = 60

[Account gmail]
localrepository = Local
remoterepository = Remote

[Repository Local]
type = Maildir
localfolders = ~/Backup/Mail
sep = /

[Repository Remote]
readonly = True
type = Gmail
remoteuser = xxx
remotepass = xxx