Bug#317836: mozilla-thunderbird: IMAP subscribe fails to detect inferiors of noselect folders
Package: mozilla-thunderbird Version: 1.0.2-3 Severity: important I use mailutils-imap4d as an imap server, so I can both use mutt and thunderbird (locally or remotely through a stunnel) to access them (mutt can use imap, but mbox is much nicer). When I try to subscribe, the imap server provides my whole home (and an additional Inbox for /var/mail/shevek). All folders are \NoSelect, all normal files are \NoInferiors. I checked this with netcat, and it all works fine. However, thunderbird seems to randomly honour and ignore the \NoInferiors. All folders are grey (unselectable), but only some of them have a + in front of them. I'd like to use ~/Mail to store all my mail folders (mutt's default), and unfortunately it got ignored, so I cannot subscribe to its inferiors. I monitored the connection between thunderbird and the imap server, and I see nothing strange, except that the connection is sometimes terminated unexpectedly. I suppose thunderbird does that, as I didn't see it happen in similar situation with netcat. Here's a (censored) transcript of the log. The first 3 characters on every line are connection number and data direction, or == for new connection and xx for terminated connection. The rest is the actual transmitted data. The things between []'s are comments added by me. 1== 1->* OK IMAP4rev1 1<-1 capability 1->* CAPABILITY IMAP4rev1 NAMESPACE IDLE X-VERSION AUTH=GSSAPI AUTH=ANONYMOUS AUTH=EXTERNAL AUTH=PLAIN AUTH=LOGIN AUTH=SECURID AUTH=DIGEST-MD5 AUTH=CRAM-MD5 1->1 OK CAPABILITY Completed 1<-2 authenticate plain 1->2 NO AUTHENTICATE Authentication mechanism not supported 1<-3 login "shevek" [My password goes here] 1->3 OK LOGIN Completed 1<-4 namespace 1->* NAMESPACE (("" "/")) NIL NIL 1->4 OK NAMESPACE Completed 1<-5 lsub "" "*" 1->* LIST () "/" INBOX 1->* LIST () "/" Junk 1->* LIST () "/" Trash 1->5 OK LSUB Completed 1<-6 list "" "INBOX" 1->* LIST (\NoInferiors) NIL INBOX 1->6 OK LIST Completed 1<-7 lsub "" "*" 1->* LIST () "/" INBOX 1->* LIST () "/" Junk 1->* LIST () "/" Trash 1->7 OK LSUB Completed 1<-8 list "" "%" 1->* LIST (\NoInferiors) NIL INBOX 1->* LIST (\NoInferiors) "/" .bashrc 1->* LIST (\NoInferiors) "/" .bash_profile 1->* LIST (\NoInferiors) "/" .bash_history 1->* LIST (\NoInferiors) "/" .xsession-errors 1->* LIST (\NoSelect) "/" .gconfd 1->* LIST (\NoSelect) "/" .gconf 1->* LIST (\NoSelect) "/" .gnome 1->* LIST (\NoInferiors) "/" .Xauthority [All files in my home directory are listed, all with \NoSelect or] [ \NoInferiors, depending on if they are folders or not ] 1->8 OK LIST Completed 1<-9 list "" "%/%" 1->* LIST (\NoInferiors) "/" .bashrc 1->* LIST (\NoInferiors) "/" .bash_profile 1->* LIST (\NoInferiors) "/" .bash_history 1->* LIST (\NoInferiors) "/" .xsession-errors 1->* LIST (\NoSelect) "/" /.gconfd/lock 1->* LIST (\NoInferiors) "/" /.gconfd/saved_state [Same story, only the list is longer of course] [However, the connection is terminated before the transfer is completed] 1xx [Now I clicked on the plus sign before the "priv" folder] 2== 2->* OK IMAP4rev1 2<-1 authenticate plain 2->1 NO AUTHENTICATE Authentication mechanism not supported 2<-2 login "shevek" [My password again] 2->2 OK LOGIN Completed 2<-3 list "" "priv/%" [A list of files, as usual] 2->3 OK LIST Completed 2<-4 list "" "priv/%/%" [Before any reply was made, the connection was cut] 2xx [I clicked on the - to close the view, then on + again to reopen it] 3== 3->* OK IMAP4rev1 3<-1 authenticate plain 3->1 NO AUTHENTICATE Authentication mechanism not supported 3<-2 login "shevek" [Once again my password] 3->2 OK LOGIN Completed 3<-3 list "" "priv/%" [Once again the list of files] 3->3 OK LIST Completed 3<-4 list "" "priv/%/%" [This time the list was actually transferred] 3->4 OK LIST Completed 3xx -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.11 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages mozilla-thunderbird depends on: ii libatk1.0-0 1.10.1-2The ATK accessibility toolkit ii libc62.3.2.ds1-22GNU C Library: Shared libraries an ii libfontconfig1 2.3.2-1 generic font configuration library ii libfreetype6 2.1.10-1FreeType 2 font engine, shared lib ii libgcc1 1:4.0.1-1 GCC support library ii libglib2.0-0 2.6.5-1 The GLib library of C routines ii libgtk2.0-0 2.6.8-1 The GTK+ graphical user interface ii libpango1.0-01.8.1-1 Layout and rendering of internatio ii libstdc++5 1:3.3.6-7 The GNU Standard C++ Library v3 ii libx11-6 4.3.0.dfsg.1-14 X Window System protocol client li ii libxext6 4.3.0.dfsg.1-14 X Window System miscellaneous exte ii libxft2 2.1.7-1 FreeType-based
Bug#317836: mozilla-thunderbird: IMAP subscribe fails to detect inferiors of noselect folders
Bas Wijnen wrote: > Package: mozilla-thunderbird > Version: 1.0.2-3 > Severity: important > > I use mailutils-imap4d as an imap server, so I can both use mutt and > thunderbird (locally or remotely through a stunnel) to access them (mutt > can use imap, but mbox is much nicer). > OK, can you please first try to use mutt over imap? Or kmail? If those work as expected, it might be worth to look what's wrong with tbird. Please, let me know if those apps do better in your environment. -- GPG messages preferred. | .''`. ** Debian GNU/Linux ** Alexander Sack| : :' : The universal [EMAIL PROTECTED] | `. `' Operating System http://www.asoftsite.org | `-http://www.debian.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#317836: mozilla-thunderbird: IMAP subscribe fails to detect inferiors of noselect folders
Alexander Sack wrote: > Bas Wijnen wrote: > >>Package: mozilla-thunderbird >>Version: 1.0.2-3 >>Severity: important >> >>I use mailutils-imap4d as an imap server, so I can both use mutt and >>thunderbird (locally or remotely through a stunnel) to access them (mutt >>can use imap, but mbox is much nicer). > > OK, can you please first try to use mutt over imap? Or kmail? If those work as > expected, it might be worth to look what's wrong with tbird. Please, let me > know > if those apps do better in your environment. That's a quick response. :-) I tried with mutt, and have no trouble accessing for example Mail/sent. I tried subscribing as well, and that also worked. In fact, it provided me with a nice workaround: after I had subscribed in mutt, the folder became expandable in thunderbird, so I can use the subfolders from there as well now. Thanks, Bas -- I encourage people to send encrypted e-mail (see http://www.gnupg.org). If you have problems reading my e-mail, use a better reader. Please send the central message of e-mails as plain text in the message body, not as HTML and definitely not as MS Word. Please do not use the MS Word format for attachments either. For more information, see http://129.125.47.90/e-mail.html signature.asc Description: OpenPGP digital signature
Bug#317836: mozilla-thunderbird: IMAP subscribe fails to detect inferiors of noselect folders
Bas Wijnen wrote: >>OK, can you please first try to use mutt over imap? Or kmail? If those work as >>expected, it might be worth to look what's wrong with tbird. Please, let me >>know >>if those apps do better in your environment. > > > That's a quick response. :-) > > I tried with mutt, and have no trouble accessing for example Mail/sent. > I tried subscribing as well, and that also worked. In fact, it > provided me with a nice workaround: after I had subscribed in mutt, the > folder became expandable in thunderbird, so I can use the subfolders > from there as well now. > Is this whole issue now unreproducible or can you give me instructions on how to reproduce this? (maybe try with a new (linux-)user). Thanks! -- GPG messages preferred. | .''`. ** Debian GNU/Linux ** Alexander Sack| : :' : The universal [EMAIL PROTECTED] | `. `' Operating System http://www.asoftsite.org | `-http://www.debian.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#317836: mozilla-thunderbird: IMAP subscribe fails to detect inferiors of noselect folders
Alexander Sack wrote: > Is this whole issue now unreproducible or can you give me instructions on how > to > reproduce this? (maybe try with a new (linux-)user). No, it's still reproducible, only the folder I was mostly interested in now works, so it isn't as big a problem anymore. >From my log it seems that thunderbird uses sequence numbers, not unique IDs, to refer to messages in the UID FETCH command. This is incorrect, and may therefore lead to unexpected results. I think this, because it starts referring to messages before it got information about their IDs. Perhaps mailutils-imap4d is unusual in that the sequence numbers are not the same as the UIDs. However, this is completely within the standard, and should be supported by thunderbird (perhaps it is and something else is wrong, but this is my diagnosis so far). There are some problems with mailutils-imap4d as well, but I'm pretty sure this one is thunderbird's fault. Anyway, to reproduce: - use a computer which doesn't run an imap server - install mailutils-imap4d on it - have at least one user, and have some directories and files in its home. - set up an imap account in thunderbird with this server and user - select subscribe - see some folders not being openable, even though they do have inferiors (files in it) -- I encourage people to send encrypted e-mail (see http://www.gnupg.org). If you have problems reading my e-mail, use a better reader. Please send the central message of e-mails as plain text in the message body, not as HTML and definitely not as MS Word. Please do not use the MS Word format for attachments either. For more information, see http://129.125.47.90/e-mail.html signature.asc Description: OpenPGP digital signature
Bug#317836: mozilla-thunderbird: IMAP subscribe fails to detect inferiors of noselect folders
For me setting the imap server directory to 'Mail' (e.g. /home/alex/Mail/) in the advanced server settings dialog works. Now I can subscribe to mutt mboxes residing in that folder. What do you want more? How should thunderbird know that it can step down to folders if the server returns \NoSelect ? Anyway, I see that this might be a bug, though I have not compared the list command output with that of my hierarchical cyrus mailbox ... but maybe setting your server directory for your imap account is enough for you? - Alexander p.s. please take care that the bug is listed as To: or CC: when replying to this mail (e.g. /reply-all/). -- GPG messages preferred. | .''`. ** Debian GNU/Linux ** Alexander Sack| : :' : The universal [EMAIL PROTECTED] | `. `' Operating System http://www.asoftsite.org | `-http://www.debian.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#317836: mozilla-thunderbird: IMAP subscribe fails to detect inferiors of noselect folders
On Mon, Aug 22, 2005 at 11:50:07PM +0200, Alexander Sack - Debian Bugmail wrote: > > For me setting the imap server directory to 'Mail' (e.g. /home/alex/Mail/) > in the advanced server settings dialog works. Now I can subscribe to mutt > mboxes > residing in that folder. What do you want more? That sounds very useful. Personally I don't need it, because when I'm on localhost I use mutt. :-) So what I want it for is reading e-mail on my laptop when I'm somewhere else. > How should thunderbird know that it can step down to folders if the server > returns \NoSelect ? \NoSelect means there cannot be messages in the folder. \NoInferiors means it cannot have subfolders. Neither of them implies the other. Obviously, when exporting a filesystem, every entry is either a file or a directory, but not both. Therefore, every entry will have \NoSelect or \NoInferiors set (and perhaps both, if it's an unreadable file). > Anyway, I see that this might be a bug, though I have not compared the list > command output with that of my hierarchical cyrus mailbox ... but maybe > setting your server directory for your imap account is enough for you? No, it isn't. But at the moment this bug doesn't bother me at all, as I have a workaround. For a "normal" imap server, I expect both \NoSelect and \NoInferiors to be scarce. Thanks, Bas Wijnen -- I encourage people to send encrypted e-mail (see http://www.gnupg.org). If you have problems reading my e-mail, use a better reader. Please send the central message of e-mails as plain text in the message body, not as HTML and definitely not as MS Word. Please do not use the MS Word format for attachments either. For more information, see http://129.125.47.90/e-mail.html signature.asc Description: Digital signature
Bug#317836: mozilla-thunderbird: IMAP subscribe fails to detect inferiors of noselect folders
On Tue, Aug 23, 2005 at 10:06:07AM +0200, Bas Wijnen wrote: > > That sounds very useful. Personally I don't need it, because when I'm on > localhost I use mutt. :-) So what I want it for is reading e-mail on my > laptop when I'm somewhere else. Yes, I mean you have to set the Mail directory to the thunderbird Server Directory (IMAP) setting in the advanced config dialog for IMAP accounts; so suitable for remote of course. > > \NoSelect means there cannot be messages in the folder. \NoInferiors means it > cannot have subfolders. Neither of them implies the other. > > Obviously, when exporting a filesystem, every entry is either a file or a > directory, but not both. Therefore, every entry will have \NoSelect or > \NoInferiors set (and perhaps both, if it's an unreadable file). > > > Anyway, I see that this might be a bug, though I have not compared the list > > command output with that of my hierarchical cyrus mailbox ... but maybe > > setting your server directory for your imap account is enough for you? > > No, it isn't. But at the moment this bug doesn't bother me at all, as I have > a workaround. > > For a "normal" imap server, I expect both \NoSelect and \NoInferiors to be > scarce. > hmmm ... you think folders on an (normal) imap server are not \NoSelect? I will capture the traffic tonight. -- GPG messages preferred. | .''`. ** Debian GNU/Linux ** Alexander Sack| : :' : The universal [EMAIL PROTECTED] | `. `' Operating System http://www.asoftsite.org | `-http://www.debian.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#317836: mozilla-thunderbird: IMAP subscribe fails to detect inferiors of noselect folders
tags 317836 + confirmed thanks - Alexander p.s. please take care that the bug is listed as To: or CC: when replying to this mail (e.g. /reply-all/). -- GPG messages preferred. | .''`. ** Debian GNU/Linux ** Alexander Sack| : :' : The universal [EMAIL PROTECTED] | `. `' Operating System http://www.asoftsite.org | `-http://www.debian.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]