[Users] Subscription problems on imap

evain.laurent at neuf.fr evain.laurent at neuf.fr
Thu Dec 5 11:00:11 CET 2013


Dear all,

I still don't see all my folders. Is it possible from the following
logs to understand for instance why Claws subscribe to the folder
"Trash" and not to the folder  "ConseilDevpt" ? 

The 2  logs shown below are : 
1) the traces given by claws mail
when  I ask for the
reconstruction of the tree of  folders.

2) the list of imap folders as shown when I talk to the imap server
with python. 

Thank you.




************************************************************
	logs from claws-mail
***********************************************************


[10:38:20] IMAP4> 93 LIST "" "%" 
[10:38:20] IMAP4< * LIST (\HasChildren) "." "INBOX" 
[10:38:20] IMAP4< 93 OK Completed (0.000 secs 29 calls) 
[10:38:20] IMAP4> 94 LIST "" "INBOX.%" 
[10:38:20] IMAP4< 94 OK Completed (0.000 secs 1 calls) 
[10:38:20] IMAP4> 95 LIST "" "Trash" 
[10:38:20] IMAP4< * LIST (\HasNoChildren) "." "Trash" 
[10:38:20] IMAP4< 95 OK Completed (0.000 secs 2 calls) 
[10:38:20] IMAP4> 96 SUBSCRIBE Trash 
[10:38:20] IMAP4< 96 OK Completed 
[10:38:20] IMAP4> 97 STATUS Trash (MESSAGES UIDNEXT UIDVALIDITY UNSEEN) 
[10:38:20] IMAP4< * STATUS Trash (MESSAGES 67 UIDNEXT **** UIDVALIDITY
**** UNSEEN 0) [10:38:20] IMAP4< 97 OK Completed 
[10:38:20] IMAP4> 98 SELECT Trash 
[10:38:20] IMAP4< * FLAGS (\Answered \Flagged \Draft \Deleted \Seen
gridstorage $MDNSent email-message X-sfr-bidon NEWSLETTER Junk NonJunk
$Forwarded) [10:38:20] IMAP4< * OK [PERMANENTFLAGS (\Answered \Flagged
\Draft \Deleted \Seen gridstorage $MDNSent email-message X-sfr-bidon
NEWSLETTER Junk NonJunk $Forwarded \*)] [10:38:20] IMAP4< * 67 EXISTS
[10:38:20] IMAP4< * 0 RECENT [10:38:20] IMAP4< * OK [UIDVALIDITY ***]
[10:38:20] IMAP4< * OK [UIDNEXT ***] [10:38:20] IMAP4< * OK [NOMODSEQ]
Sorry, modsequences have not been enabled on this mailbox [10:38:20]
IMAP4< * OK [URLMECH INTERNAL] [10:38:20] IMAP4< 98 OK [READ-WRITE]
Completed [10:38:20] IMAP4- [fetching UIDs...]
[10:38:20] IMAP4> 99 UID FETCH 1:* (UID) 
[10:38:20] IMAP4< [FETCH data - 1561 bytes]
[10:38:20] IMAP4> 100 UID FETCH 2106:2155 (UID FLAGS RFC822.SIZE
BODY.PEEK[HEADER.FIELDS (Date From To Cc Subject Message-ID References
In-Reply-To)]) [10:38:20] IMAP4< [FETCH data - 4096 bytes] ...
[10:38:21] IMAP4< [FETCH data - 4096 bytes]
[10:38:21] IMAP4< [data - 97 bytes]
[10:38:21] IMAP4> 101 UID FETCH 2089:2105 (UID FLAGS RFC822.SIZE
BODY.PEEK[HEADER.FIELDS (Date From To Cc Subject Message-ID References
In-Reply-To)]) [10:38:21] IMAP4< [FETCH data - 4096 bytes] [10:38:21]
IMAP4< [FETCH data - 4096 bytes] [10:38:21] IMAP4< [FETCH data - 676
bytes] [10:38:21] IMAP4- [fetching flags...]
[10:38:21] IMAP4> 102 UID FETCH 1:* (FLAGS UID) 
[10:38:21] IMAP4< [FETCH data - 1448 bytes]
[10:38:21] IMAP4< [FETCH data - 1161 bytes]
[10:38:21] IMAP4> 103 LIST "" "Queue" 
[10:38:21] IMAP4< * LIST (\HasNoChildren) "." "Queue" 
[10:38:21] IMAP4< 103 OK Completed (0.000 secs 2 calls) 
[10:38:21] IMAP4> 104 SUBSCRIBE Queue 
[10:38:21] IMAP4< 104 OK Completed 
[10:38:21] IMAP4> 105 STATUS Queue (MESSAGES UIDNEXT UIDVALIDITY
UNSEEN) [10:38:21] IMAP4< * STATUS Queue (MESSAGES 0 UIDNEXT 333
UIDVALIDITY **** UNSEEN 0) [10:38:21] IMAP4< 105 OK Completed 
[10:38:21] IMAP4> 106 SELECT Queue 
[10:38:21] IMAP4< * FLAGS (\Answered \Flagged \Draft \Deleted \Seen
gridstorage) [10:38:21] IMAP4< * OK [PERMANENTFLAGS (\Answered \Flagged
\Draft \Deleted \Seen gridstorage \*)] [10:38:21] IMAP4< * 0 EXISTS 
[10:38:21] IMAP4< * 0 RECENT 
[10:38:21] IMAP4< * OK [UIDVALIDITY ****]   
[10:38:21] IMAP4< * OK [UIDNEXT 333]   
[10:38:21] IMAP4< * OK [NOMODSEQ] Sorry, modsequences have not been
enabled on this mailbox [10:38:21] IMAP4< * OK [URLMECH INTERNAL] 
[10:38:21] IMAP4< 106 OK [READ-WRITE] Completed 
[10:38:21] IMAP4- [fetching UIDs...]
[10:38:21] IMAP4> 107 UID FETCH 1:* (UID) 
[10:38:21] IMAP4< 107 OK Completed (0.000 sec) 
[10:38:21] IMAP4> 108 LIST "" "Sent" 
[10:38:21] IMAP4< * LIST (\HasNoChildren) "." "Sent" 
[10:38:21] IMAP4< 108 OK Completed (0.000 secs 2 calls) 
[10:38:21] IMAP4> 109 SUBSCRIBE Sent 
[10:38:21] IMAP4< 109 OK Completed 
[10:38:21] IMAP4> 110 STATUS Sent (MESSAGES UIDNEXT UIDVALIDITY UNSEEN) 
[10:38:21] IMAP4< * STATUS Sent (MESSAGES 418 UIDNEXT 421 UIDVALIDITY
**** UNSEEN 0) [10:38:21] IMAP4< 110 OK Completed 
[10:38:21] IMAP4> 111 SELECT Sent 
[10:38:22] IMAP4< * FLAGS (\Answered \Flagged \Draft \Deleted \Seen
gridstorage $Forwarded X-Migr X-sfr-bidon NonJunk) [10:38:22] IMAP4< *
OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen
gridstorage $Forwarded X-Migr X-sfr-bidon NonJunk \*)] [10:38:22]
IMAP4< * 418 EXISTS [10:38:22] IMAP4< * 0 RECENT [10:38:22] IMAP4< * OK
[UIDVALIDITY **** ] [10:38:22] IMAP4< * OK [UIDNEXT 421]   
[10:38:22] IMAP4< * OK [NOMODSEQ] Sorry, modsequences have not been
enabled on this mailbox [10:38:22] IMAP4< * OK [URLMECH INTERNAL] 
[10:38:22] IMAP4< 111 OK [READ-WRITE] Completed 
[10:38:22] IMAP4- [fetching UIDs...]
[10:38:22] IMAP4> 112 UID FETCH 1:* (UID) 
[10:38:22] IMAP4< [FETCH data - 1448 bytes]
[10:38:22] IMAP4< [FETCH data - 1448 bytes]
[10:38:22] IMAP4< [FETCH data - 1200 bytes]
[10:38:22] IMAP4< [FETCH data - 4096 bytes]
[10:38:22] IMAP4< [FETCH data - 1236 bytes]
[10:38:22] IMAP4> 113 UID FETCH 369:404,406:418,420 (UID FLAGS
RFC822.SIZE BODY.PEEK[HEADER.FIELDS (Date From To Cc Subject Message-ID
References In-Reply-To)]) [10:38:22] IMAP4< [FETCH data - 4096
bytes] .... [10:38:22] IMAP4< [FETCH data - 2242 bytes]
[10:38:22] IMAP4> 114 UID FETCH 319:368 (UID FLAGS RFC822.SIZE
BODY.PEEK[HEADER.FIELDS (Date From To Cc Subject Message-ID References
In-Reply-To)]) [10:38:22] IMAP4< [FETCH data - 1448 bytes] ....
[10:38:23] IMAP4< [FETCH data - 3626 bytes]
[10:38:23] IMAP4> 115 UID FETCH 269:318 (UID FLAGS RFC822.SIZE
BODY.PEEK[HEADER.FIELDS (Date From To Cc Subject Message-ID References
In-Reply-To)]) [10:38:23] IMAP4< [FETCH data - 4096 bytes] ...
[10:38:23] IMAP4< [FETCH data - 794 bytes]
[10:38:23] IMAP4> 116 UID FETCH 219:268 (UID FLAGS RFC822.SIZE
BODY.PEEK[HEADER.FIELDS (Date From To Cc Subject Message-ID References
In-Reply-To)]) [10:38:23] IMAP4< [FETCH data - 4096 bytes] ...
[10:38:24] IMAP4< [FETCH data - 803 bytes]
[10:38:24] IMAP4> 117 UID FETCH 169:218 (UID FLAGS RFC822.SIZE
BODY.PEEK[HEADER.FIELDS (Date From To Cc Subject Message-ID References
In-Reply-To)]) [10:38:24] IMAP4< [FETCH data - 4096 bytes] ...
[10:38:24] IMAP4< [FETCH data - 4096 bytes]
[10:38:24] IMAP4< [data - 85 bytes]
[10:38:24] IMAP4> 118 UID FETCH 119:168 (UID FLAGS RFC822.SIZE
BODY.PEEK[HEADER.FIELDS (Date From To Cc Subject Message-ID References
In-Reply-To)]) [10:38:24] IMAP4< [FETCH data - 4096 bytes] ...
[10:38:24] IMAP4< [FETCH data - 1448 bytes]
[10:38:24] IMAP4< [FETCH data - 283 bytes]
[10:38:24] IMAP4> 119 UID FETCH 69:118 (UID FLAGS RFC822.SIZE
BODY.PEEK[HEADER.FIELDS (Date From To Cc Subject Message-ID References
In-Reply-To)]) [10:38:24] IMAP4< [FETCH data - 1448 bytes] ...
[10:38:24] IMAP4< [FETCH data - 1448 bytes]
[10:38:24] IMAP4< [FETCH data - 2208 bytes]
[10:38:24] IMAP4> 120 UID FETCH 19:68 (UID FLAGS RFC822.SIZE
BODY.PEEK[HEADER.FIELDS (Date From To Cc Subject Message-ID References
In-Reply-To)]) [10:38:24] IMAP4< [FETCH data - 4096 bytes] ...
[10:38:25] IMAP4< [FETCH data - 307 bytes]
[10:38:25] IMAP4> 121 UID FETCH 1:18 (UID FLAGS RFC822.SIZE
BODY.PEEK[HEADER.FIELDS (Date From To Cc Subject Message-ID References
In-Reply-To)]) [10:38:25] IMAP4< [FETCH data - 4096 bytes] ...
[10:38:25] IMAP4< [FETCH data - 616 bytes]
[10:38:25] IMAP4- [fetching flags...]
[10:38:25] IMAP4> 122 UID FETCH 1:* (FLAGS UID) 
[10:38:25] IMAP4< [FETCH data - 1448 bytes]
...
[10:38:25] IMAP4< [FETCH data - 2896 bytes]
[10:38:25] IMAP4< .000 sec) 
[10:38:25] IMAP4> 123 LIST "" "Drafts" 
[10:38:25] IMAP4< * LIST (\HasNoChildren) "." "Drafts" 
[10:38:25] IMAP4< 123 OK Completed (0.000 secs 2 calls) 
[10:38:25] IMAP4> 124 SUBSCRIBE Drafts 
[10:38:25] IMAP4< 124 OK Completed 
[10:38:25] IMAP4> 125 STATUS Drafts (MESSAGES UIDNEXT UIDVALIDITY
UNSEEN) [10:38:25] IMAP4< * STATUS Drafts (MESSAGES 6 UIDNEXT 1626
UIDVALIDITY *** UNSEEN 0) [10:38:25] IMAP4< 125 OK Completed 
[10:38:25] IMAP4> 126 SELECT Drafts 
[10:38:25] IMAP4< * FLAGS (\Answered \Flagged \Draft \Deleted \Seen
X-Migr gridstorage X-sfr-bidon NonJunk) [10:38:25] IMAP4< * OK
[PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen X-Migr
gridstorage X-sfr-bidon NonJunk \*)] [10:38:25] IMAP4< * 6 EXISTS
[10:38:25] IMAP4< * 0 RECENT [10:38:25] IMAP4< * OK [UIDVALIDITY
****] [10:38:25] IMAP4< * OK [UIDNEXT 1626]   
[10:38:25] IMAP4< * OK [NOMODSEQ] Sorry, modsequences have not been
enabled on this mailbox [10:38:25] IMAP4< * OK [URLMECH INTERNAL] 
[10:38:25] IMAP4< 126 OK [READ-WRITE] Completed 
[10:38:25] IMAP4- [fetching UIDs...]
[10:38:25] IMAP4> 127 UID FETCH 1:* (UID) 
[10:38:25] IMAP4< [FETCH data - 162 bytes]
[10:38:25] IMAP4> 128 UID FETCH 1036,1050,1439:1440,1464,1469 (UID
FLAGS RFC822.SIZE BODY.PEEK[HEADER.FIELDS (Date From To Cc Subject
Message-ID References In-Reply-To)]) [10:38:25] IMAP4< [FETCH data -
4096 bytes] [10:38:25] IMAP4< [FETCH data - 379 bytes] [10:38:25]
IMAP4- [fetching flags...] [10:38:25] IMAP4> 129 UID FETCH 1:* (FLAGS
UID) [10:38:25] IMAP4< [FETCH data - 348 bytes]
[10:38:25] IMAP4> 130 SELECT INBOX 
[10:38:25] IMAP4< * FLAGS (\Answered \Flagged \Draft \Deleted \Seen
gridstorage $Forwarded $MDNSent email-message FORWARDED X-Migr
NEWSLETTER X-sfr-bidon Junk NonJunk) [10:38:25] IMAP4< * OK
[PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen gridstorage
$Forwarded $MDNSent email-message FORWARDED X-Migr NEWSLETTER
X-sfr-bidon Junk NonJunk \*)] [10:38:25] IMAP4< * 148 EXISTS [10:38:25]
IMAP4< * 0 RECENT [10:38:25] IMAP4< * OK [UIDVALIDITY ****] [10:38:25]
IMAP4< * OK [UIDNEXT 4982] [10:38:25] IMAP4< * OK [NOMODSEQ] Sorry,
modsequences have not been enabled on this mailbox [10:38:25] IMAP4< *
OK [URLMECH INTERNAL] [10:38:25] IMAP4< 130 OK [READ-WRITE] Completed
[10:38:25] IMAP4- [fetching flags...] [10:38:25] IMAP4> 131 UID FETCH
1:* (FLAGS UID) [10:38:25] IMAP4< [FETCH data - 1448 bytes]
...
[10:38:26] IMAP4< [FETCH data - 1261 bytes]
[10:38:26] IMAP4> 132 SELECT Trash 
[10:38:26] IMAP4< * FLAGS (\Answered \Flagged \Draft \Deleted \Seen
gridstorage $MDNSent email-message X-sfr-bidon NEWSLETTER Junk NonJunk
$Forwarded) [10:38:26] IMAP4< * OK [PERMANENTFLAGS (\Answered \Flagged
\Draft \Deleted \Seen gridstorage $MDNSent email-message X-sfr-bidon
NEWSLETTER Junk NonJunk $Forwarded \*)] [10:38:26] IMAP4< * 67 EXISTS
[10:38:26] IMAP4< * 0 RECENT [10:38:26] IMAP4< * OK [UIDVALIDITY *** ]
[10:38:26] IMAP4< * OK [UIDNEXT 2156] [10:38:26] IMAP4< * OK [NOMODSEQ]
Sorry, modsequences have not been enabled on this mailbox [10:38:26]
IMAP4< * OK [URLMECH INTERNAL] [10:38:26] IMAP4< 132 OK [READ-WRITE]
Completed [10:38:26] IMAP4- [fetching flags...]
[10:38:26] IMAP4> 133 UID FETCH 1:* (FLAGS UID) 
[10:38:26] IMAP4< [FETCH data - 2609 bytes]
[10:38:26] IMAP4> 134 SELECT Queue 
[10:38:26] IMAP4< * FLAGS (\Answered \Flagged \Draft \Deleted \Seen
gridstorage) [10:38:26] IMAP4< * OK [PERMANENTFLAGS (\Answered \Flagged
\Draft \Deleted \Seen gridstorage \*)] [10:38:26] IMAP4< * 0 EXISTS 
[10:38:26] IMAP4< * 0 RECENT 
[10:38:26] IMAP4< * OK [UIDVALIDITY ****]   
[10:38:26] IMAP4< * OK [UIDNEXT 333]   
[10:38:26] IMAP4< * OK [NOMODSEQ] Sorry, modsequences have not been
enabled on this mailbox [10:38:26] IMAP4< * OK [URLMECH INTERNAL] 
[10:38:26] IMAP4< 134 OK [READ-WRITE] Completed 
[10:38:26] IMAP4- [fetching UIDs...]
[10:38:26] IMAP4> 135 UID FETCH 1:* (UID) 
[10:38:26] IMAP4< 135 OK Completed (0.000 sec) 
[10:38:26] IMAP4> 136 SELECT Sent 
[10:38:26] IMAP4< * FLAGS (\Answered \Flagged \Draft \Deleted \Seen
gridstorage $Forwarded X-Migr X-sfr-bidon NonJunk) [10:38:26] IMAP4< *
OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen
gridstorage $Forwarded X-Migr X-sfr-bidon NonJunk \*)] [10:38:26]
IMAP4< * 418 EXISTS [10:38:26] IMAP4< * 0 RECENT [10:38:26] IMAP4< * OK
[UIDVALIDITY ***] [10:38:26] IMAP4< * OK [UIDNEXT 421]   
[10:38:26] IMAP4< * OK [NOMODSEQ] Sorry, modsequences have not been
enabled on this mailbox [10:38:26] IMAP4< * OK [URLMECH INTERNAL] 
[10:38:26] IMAP4< 136 OK [READ-WRITE] Completed 
[10:38:26] IMAP4- [fetching flags...]
[10:38:26] IMAP4> 137 UID FETCH 1:* (FLAGS UID) 
[10:38:26] IMAP4< [FETCH data - 1448 bytes]
...
[10:38:26] IMAP4< [FETCH data - 1211 bytes]
[10:38:26] IMAP4> 138 SELECT Drafts 
[10:38:26] IMAP4< * FLAGS (\Answered \Flagged \Draft \Deleted \Seen
X-Migr gridstorage X-sfr-bidon NonJunk) [10:38:26] IMAP4< * OK
[PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen X-Migr
gridstorage X-sfr-bidon NonJunk \*)] [10:38:26] IMAP4< * 6 EXISTS
[10:38:26] IMAP4< * 0 RECENT [10:38:26] IMAP4< * OK [UIDVALIDITY
****] [10:38:26] IMAP4< * OK [UIDNEXT 1626]   
[10:38:26] IMAP4< * OK [NOMODSEQ] Sorry, modsequences have not been
enabled on this mailbox [10:38:26] IMAP4< * OK [URLMECH INTERNAL] 
[10:38:26] IMAP4< 138 OK [READ-WRITE] Completed 
[10:38:26] IMAP4- [fetching flags...]
[10:38:26] IMAP4> 139 UID FETCH 1:* (FLAGS UID) 
[10:38:26] IMAP4< [FETCH data - 348 bytes]




********************************************************
	list of imap folders when talking to the server
*******************************************************


Le Tue, 26 Nov 2013 15:11:24 +0100,
<evain.laurent at neuf.fr> a écrit :

> 
> 
> 
> 
> Le Tue, 26 Nov 2013 10:16:32 +0000,
> Paul <claws at thewildbeast.co.uk> a écrit :
> 
> > On Mon, 25 Nov 2013 23:12:04 +0100
> > evain.laurent at neuf.fr wrote: 
> > 
> > > I try to subscribe to my imap accounts and I see only a sublist
> > > of my folders. More precisely, I see only the following 5
> > > folders: "inbox,sent,draft,queue,trash" whereas my list of
> > > folders is much longer. 
> > 
> > What folders have you subscribed? Are you showing only subscribed
> > folders?
> > 
> 
> This is not a subscription issue. The folders have been subscribed.
> For instance, let's look the output of the lsub command which shows
> subscribed folders : 
> 
> In [12]: M = imaplib.IMAP4("imap.sfr.fr");
> M.login(...) 
> 
> Out[12]: 
> ('OK',
>  ['[CAPABILITY IMAP4rev1 LITERAL+ ID LOGINDISABLED ACL RIGHTS=kxte
> QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT
> CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE SORT SORT=MODSEQ
> THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE SCAN URLAUTH
> URLAUTH=BINARY X-NETSCAPE SORT=DISPLAY X-FORWARD X-LOGNAME GRIDSTORAGE
> IMAP4 SPECIAL-USE] User logged in'])
> 
> In [13]: M.lsub()
> Out[13]: 
> ('OK',
>  ['(\\HasChildren) "." "INBOX"',
>   '(\\HasChildren) "." "Achat ordi"',
>   '() "." "Achat ordi.Drafts"',
>   '() "." "Achat ordi.Queue"',
>   '() "." "Achat ordi.Sent"',
>   '() "." "Achat ordi.Trash"',
>   '() "." "ConseilDevpt"',
>   '() "." "Drafts"',
>   '() "." "QUARANTAINE"',
>   '() "." "Queue"',
>   '() "." "Sent"',
>   '() "." "Templates"',
>   '() "." "Trash"',
>   '() "." "Vert"',
>   '() "." "municipales2014"',
>   '() "." "rangement"',
>   '(\\HasChildren) "." "rocadeStockage"',
>   '() "." "rocadeStockage.Drafts"',
>   '() "." "rocadeStockage.Queue"',
>   '() "." "rocadeStockage.Sent"',
>   '() "." "rocadeStockage.Trash"',
>   '() "." "rocadeStockage.orgaDu19"'])
> 
> 
> 



More information about the Users mailing list