Imap synchronisation failure with READ-ONLY status

Florian Friesdorf flo at chaoflow.net
Thu Aug 12 18:18:39 BST 2010


I did not have a detailed look, yet. Do you have full write access to
the mailbox or is kind of shared imap folder where you only can read
mails and set certain flags?

I'm asking because I was patching offlineimap in that area and if it is
that know what to do, otherwise sorry.

On Thu, Aug 12, 2010 at 06:52:00PM +0200, David Soulayrol wrote:
> Hello.
> 
> I'm considering to drop isync in favour of offlineimap. I have first
> tried on a first imap server with few messages, and synchronisation
> went perfectly both ways. Then I have tried to synchronize to my main
> server, and it seemed to go well on download, but I can upload no
> modification at all. This happens on the imap server from the free.fr
> domain. I have taken a capture with IMAP logs (expunged here for
> clarity), and my problem occurs here:
> 
>  DEBUG[imap]:   25:20.17 > JMMH36 SELECT INBOX
>  DEBUG[imap]:   25:20.19 < * 163 EXISTS
>  DEBUG[imap]:   25:20.19 < * 0 RECENT
>  DEBUG[imap]:   25:20.19 < * OK [UNSEEN 120] mailbox contains unseen messages
>  DEBUG[imap]:   25:20.19 < * OK [UIDVALIDITY 1] UIDs are valid for this mailbox
>  DEBUG[imap]:   25:20.19 < * OK [UIDNEXT 250989] next expected UID is 250989
>  DEBUG[imap]:   25:20.19 < * FLAGS (\Answered \Deleted \Draft \Flagged
> \Seen $Forwarded $MDNSent Forwarded $Junk $NotJunk Junk JunkRecorded
> NonJunk NotJunk receipt-handled)
>  DEBUG[imap]:   25:20.19 < * OK [PERMANENTFLAGS (\Answered \Deleted
> \Draft \Flagged \Seen $Forwarded $MDNSent Forwarded receipt-handled
> \*)] junk-related flags are not permanent
>  DEBUG[imap]:   25:20.19 < * OK [HIGHESTMODSEQ 1130080] modseq tracked
> on this mailbox
>  DEBUG[imap]:   25:20.25 < JMMH36 OK [READ-WRITE] SELECT completed
>  DEBUG[imap]:   25:20.25 > JMMH37 UID STORE 247650 +FLAGS (\Seen)
>  DEBUG[imap]:   25:20.27 < JMMH37 NO mailbox selected READ-ONLY
>  DEBUG[imap]:   25:20.27 NO response: mailbox selected READ-ONLY
> 
> I do not talk the imap everyday, so I've checked what occured when
> using telnet on that server, and everything passed ok.
> 
>  $ telnet imap.free.fr 143
>  Trying 212.27.42.94...
>  Connected to imap.free.fr.
>  Escape character is '^]'.
>  * OK [CAPABILITY IMAP4REV1 X-NETSCAPE LOGIN-REFERRALS AUTH=LOGIN]
> IMAP4rev1 Free
>  JMMH35 login *****
>  JMMH35 OK [CAPABILITY IMAP4rev1 ACL BINARY CATENATE CHILDREN
> CONDSTORE ENABLE ESEARCH ID IDLE LIST-EXTENDED LITERAL+
> LOGIN-REFERRALS MULTIAPPEND NAMESPACE QRESYNC QUOTA RIGHTS=ektx
> SASL-IR SEARCHRES UIDPLUS UNSELECT WITHIN] LOGIN completed
>  JMMH36 SELECT INBOX
>  * 163 EXISTS
>  * 0 RECENT
>  * OK [UNSEEN 120] mailbox contains unseen messages
>  * OK [UIDVALIDITY 1] UIDs are valid for this mailbox
>  * OK [UIDNEXT 250989] next expected UID is 250989
>  * FLAGS (\Answered \Deleted \Draft \Flagged \Seen $Forwarded $MDNSent
> Forwarded $Junk $NotJunk Junk JunkRecorded NonJunk NotJunk
> receipt-handled)
>  * OK [PERMANENTFLAGS (\Answered \Deleted \Draft \Flagged \Seen
> $Forwarded $MDNSent Forwarded receipt-handled \*)] junk-related flags
> are not permanent
>  * OK [HIGHESTMODSEQ 1130080] modseq tracked on this mailbox
>  JMMH36 OK [READ-WRITE] SELECT completed
>  JMMH37 UID STORE 247650 +FLAGS (\Seen)
>  * 127 FETCH (FLAGS (\Seen) UID 247650)
>  JMMH37 OK UID STORE completed
>  Connection closed by foreign host.
> 
> What seems to differ is only the server response when trying to change
> the flag and I can't find a reason for the difference. I've also tried
> to remove a message; it failed with offlineimap but I succeeded in
> setting the Deleted flag and expunging it manually.
> 
> Could anyone help?
> --
> David
> 
> _______________________________________________
> OfflineIMAP-project mailing list
> OfflineIMAP-project at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/offlineimap-project
> 
> OfflineIMAP homepage: http://software.complete.org/offlineimap

-- 
Florian Friesdorf <flo at chaoflow.net>
  GPG FPR: EA5C F2B4 FBBB BA65 3DCD  E8ED 82A1 6522 4A1F 4367
Jabber/XMPP: flo at chaoflow.net
  OTR FPR: 9E191746 213321FE C896B37D 24B118C0 31785700
IRC: chaoflow on freenode,ircnet,blafasel,OFTC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20100812/8ef3b867/attachment-0001.sig>


More information about the OfflineIMAP-project mailing list