[sylpheed:32486] Re: Missing IMAP Subfolders

Michael Schwendt mschwendt at gmail.com
Wed Jul 9 09:46:44 JST 2008


On Tue, 8 Jul 2008 18:20:09 -0400, Michael B Allen wrote:

> On Tue, Jul 8, 2008 at 5:25 PM, Thomas White <taw27 at cam.ac.uk> wrote:
> > "Michael B Allen" <ioplex at gmail.com> wrote:
> >
> >> Is this some kind of log file output? How do I engage that?
> >
> > "sylpheed --debug" from the command line.  Equivalent logs from me are
> > with my original post, for the revision before and after it breaks.
> 
> Apparently it sees them but they're not making it into the tree:
> 
> [18:06:12] IMAP4> 11 LIST "" "*"
> getting list of "" ...
> IMAP4< * LIST (\HasNoChildren) "." "Lists.Heimdal"
> folder 'Lists/Heimdal' found.
> IMAP4< * LIST (\HasNoChildren) "." "Lists.JCIFS"
> folder 'Lists/JCIFS' found.
> IMAP4< * LIST (\HasNoChildren) "." "LearnAsSpam"
> folder 'LearnAsSpam' found.
> IMAP4< * LIST (\HasNoChildren) "." "Spam"
> folder 'Spam' found.
> IMAP4< * LIST (\HasNoChildren) "." "Trash"
> folder 'Trash' found.
> IMAP4< * LIST (\HasNoChildren) "." "Sent"
> folder 'Sent' found.
> IMAP4< * LIST (\HasNoChildren) "." "Drafts"
> folder 'Drafts' found.
> IMAP4< * LIST (\HasNoChildren) "." "Saved"
> folder 'Saved' found.
> IMAP4< * LIST (\HasNoChildren) "." "INBOX"
> folder 'INBOX' found.
> IMAP4< * LIST (\HasNoChildren) "." "TMP.STMP"
> folder 'TMP/STMP' found.
> [18:06:12] IMAP4< 11 OK List completed.
> imap_get_part_folder_list(): get root folders
> append 'LearnAsSpam'
> append 'Spam'
> append 'Trash'
> append 'Sent'
> append 'Drafts'
> append 'Saved'
> append 'INBOX'
> imap_get_part_folder_list(): get folders under 'LearnAsSpam'
> imap_get_part_folder_list(): get folders under 'Spam'
> imap_get_part_folder_list(): get folders under 'Trash'
> imap_get_part_folder_list(): get folders under 'Sent'
> imap_get_part_folder_list(): get folders under 'Drafts'
> imap_get_part_folder_list(): get folders under 'Saved'
> imap_get_part_folder_list(): get folders under 'INBOX'
> Setting folder info...
> empty folder
> 
> Note that TMP.STMP was created through Sylpheed but after a rebuild
> it's gone ....

This breaks in the implementation because both "Lists" and "TMP" are not
listed separately and are not recognised as root folders by Sylpheed. As I
read the code, only folders without a '/' are recognised as root folders
(considering the '.' namespace that is used here). It could be that
Sylpheed 2.4.0 parsed the LIST return values differently.

For Thomas White it's the same problem. Folders "Academic" and
"Theatre" are not recognised as root folders.

On the contrary, for example Google Mail returns all root folders
separately.

Which behaviour exactly is IMAP4 compliant remains to be investigated.


More information about the Sylpheed mailing list