not writable

Frank Doepper news at woffs.de
Mon Oct 31 22:13:50 GMT 2011


Hi,

some IMAP mailboxes are surprisingly changing to read-only when syncing.

(Using 6.3.5-rc1 now, fortunately the transaction is immediately aborted, 
so it can be completed at next try. In former versions the messages have 
been retransmitted and my work, consisting of sorting and deleting emails, 
was lost. Older version 6.2.0 worked seamlessly.)

It's almost reproducable, and I have a log snippet:

$ egrep -i 'read|writ|select|examin' ~/offlineimap-debug.log|grep woffs|grep -B40 -m1 writable 
woffs.de reader: DEBUG[imap]:   30:55.18 woffs.de reader poll => [(7, 1)]
woffs.de reader: DEBUG[imap]:   30:55.18 woffs.de reader rcvd 313
woffs.de reader: DEBUG[imap]:   30:55.18 woffs.de reader < * OK [CLOSED] Previous mailbox closed.\r\n
woffs.de reader: DEBUG[imap]:   30:55.18 woffs.de reader < * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)\r\n
woffs.de reader: DEBUG[imap]:   30:55.18 woffs.de reader < * OK [PERMANENTFLAGS ()] Read-only mailbox.\r\n
woffs.de reader: DEBUG[imap]:   30:55.18 woffs.de reader < * 0 EXISTS\r\n
woffs.de reader: DEBUG[imap]:   30:55.18 woffs.de reader < * 0 RECENT\r\n
woffs.de reader: DEBUG[imap]:   30:55.18 woffs.de reader < * OK [UIDVALIDITY 1231631357] UIDs valid\r\n
woffs.de reader: DEBUG[imap]:   30:55.18 woffs.de reader < * OK [UIDNEXT 1] Predicted next UID\r\n
woffs.de reader: DEBUG[imap]:   30:55.18 woffs.de reader < * OK [HIGHESTMODSEQ 1] Highest\r\n
woffs.de reader: DEBUG[imap]:   30:55.18 woffs.de reader < GJDD21 OK [READ-ONLY] Select completed.\r\n
woffs.de handler: DEBUG[imap]:   30:55.21 woffs.de handler untagged_responses[OK] 0 += ["[PERMANENTFLAGS ()] Read-only mailbox."]
woffs.de handler: DEBUG[imap]:   30:55.22 woffs.de handler _request_pop(GJDD21, ('OK', ['[READ-ONLY] Select completed.'])) = GJDD21
Folder sync [woffssync]: DEBUG[imap]:   30:55.22 Folder sync [woffssync] state => SELECTED
Folder sync [woffssync]: DEBUG[imap]:   30:55.22 Folder sync [woffssync] [sync] SELECT ('INBOX',)
Folder sync [woffssync]: DEBUG[imap]:   30:55.22 Folder sync [woffssync] _request_push(GJDD22, SELECT, {}) = GJDD22
Folder sync [woffssync]: DEBUG[imap]:   30:55.22 Folder sync [woffssync] data=GJDD22 SELECT INBOX
woffs.de writer: DEBUG[imap]:   30:55.23 woffs.de writer > GJDD22 SELECT INBOX\r\n
woffs.de handler: DEBUG[imap]:   30:55.23 woffs.de handler EXAMINE:GJDD21.ready.set
woffs.de handler: DEBUG[imap]:   30:55.23 woffs.de handler untagged_responses[READ-ONLY] 0 += [""]
Folder sync [woffssync]: DEBUG[imap]:   30:55.23 Folder sync [woffssync] SELECT:GJDD22.ready.wait
MainThread: DEBUG[thread]: Unregister thread 'Folder sync [woffssync]'
Folder sync [woffssync]: DEBUG[thread]: Register new thread 'Folder sync [woffssync]' (account 'woffssync')
woffs.de reader: DEBUG[imap]:   30:55.28 woffs.de reader poll => [(7, 1)]
woffs.de reader: DEBUG[imap]:   30:55.28 woffs.de reader rcvd 446
woffs.de reader: DEBUG[imap]:   30:55.28 woffs.de reader < * OK [CLOSED] Previous mailbox closed.\r\n
woffs.de reader: DEBUG[imap]:   30:55.28 woffs.de reader < * FLAGS (\Answered \Flagged \Deleted \Seen \Draft NonJunk Junk $Forwarded)\r\n
woffs.de reader: DEBUG[imap]:   30:55.28 woffs.de reader < * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft NonJunk Junk $Forwarded \*)] Flags permitted.\r\n
woffs.de reader: DEBUG[imap]:   30:55.28 woffs.de reader < * 326 EXISTS\r\n
woffs.de reader: DEBUG[imap]:   30:55.28 woffs.de reader < * 0 RECENT\r\n
woffs.de reader: DEBUG[imap]:   30:55.28 woffs.de reader < * OK [UNSEEN 324] First unseen.\r\n
woffs.de reader: DEBUG[imap]:   30:55.28 woffs.de reader < * OK [UIDVALIDITY 1231542805] UIDs valid\r\n
woffs.de reader: DEBUG[imap]:   30:55.28 woffs.de reader < * OK [UIDNEXT 13845] Predicted next UID\r\n
woffs.de reader: DEBUG[imap]:   30:55.28 woffs.de reader < * OK [HIGHESTMODSEQ 13684] Highest\r\n
woffs.de reader: DEBUG[imap]:   30:55.28 woffs.de reader < GJDD22 OK [READ-WRITE] Select completed.\r\n
woffs.de handler: DEBUG[imap]:   30:55.34 woffs.de handler _request_pop(GJDD22, ('OK', ['[READ-WRITE] Select completed.'])) = GJDD22
Folder sync [woffssync]: DEBUG[imap]:   30:55.34 Folder sync [woffssync] state => SELECTED
Folder sync [woffssync]: DEBUG[imap]:   30:55.34 Folder sync [woffssync] _get_untagged_response(READ-ONLY) => ['']
woffs.de handler: DEBUG[imap]:   30:55.35 woffs.de handler SELECT:GJDD22.ready.set
woffs.de handler: DEBUG[imap]:   30:55.35 woffs.de handler untagged_responses[READ-WRITE] 0 += [""]
Folder sync [woffssync]: ERROR [<InstanceLimitedThread(Folder sync [woffssync], started daemon -1380373648)>]: Server 'woffs.de' closed connection, error on SELECT 'INBOX'. Server said: INBOX is not writable

GJDD21 (Trash) gets opened READ-ONLY and GJDD22 (INBOX) gets opened 
READ-WRITE, but for some strange reason there seems to be a mistake.

Remote IMAP server is dovecot.

I would be glad if that could be fixed or at least explained. :-)

regards,
Frank.

-- 
http://woffs.de/





More information about the OfflineIMAP-project mailing list