On Thu, 14 May 2009, Mark Crispin wrote:
On Thu, 14 May 2009, Andrew Daviel wrote:
5 unsubscribe "Trash/test/"
5 NO Not subscribed to mailbox Trash/test/
- at this point, Trash/test/ has disappeared from the filesystem, but there
is still an entry Trash/test in .mailboxlist.
Look at the above very carefully.
imapd says that Trash/test/ is not subscribed.
The .mailboxlist file shows that Trash/test is subscribed.
Note the difference in the two strings.
Yes, but...
If in Thunderbird the option "server supports folders which can contain
both folders and messages" is checked (the default, which is true for
MIX) then it creates a folder "test" with no suffix, listed as such in
.mailboxlist. If the option is unchecked, it appends a / when it creates
a directory and not when it creates a folder.
create a folder
49 create "Trash/test2"
49 OK CREATE completed
50 subscribe "Trash/test2"
50 OK SUBSCRIBE completed
51 list "" "Trash/test2"
* LIST (\HasNoChildren) "/" Trash/test2
51 OK LIST completed
delete it
15 list "" "Trash/test2/*"
* LIST (\HasNoChildren) "/" Trash/test2/
15 OK LIST completed
16 delete "Trash/test2/"
16 OK DELETE completed
17 unsubscribe "Trash/test2/"
17 NO Not subscribed to mailbox Trash/test2/
option unchecked, create a directory
71 create "test3f/"
71 OK CREATE completed
72 subscribe "test3f/"
* NO CLIENT BUG DETECTED: subscribe of non-mailbox directory test3f/
72 OK SUBSCRIBE completed
73 list "" "test3f/"
* LIST (\NoSelect \HasNoChildren) "/" test3f/
73 OK LIST completed
create a folder
75 create "test3f/test4"
75 OK CREATE completed
76 subscribe "test3f/test4"
76 OK SUBSCRIBE completed
77 list "" "test3f/test4"
* LIST (\HasNoChildren) "/" test3f/test4
77 OK LIST completed
delete the directory (or try to)
28 list "" "test3f/test4/*"
* LIST (\HasNoChildren) "/" test3f/test4/
28 OK LIST completed
29 delete "test3f/test4/"
29 OK DELETE completed
30 unsubscribe "test3f/test4/"
30 NO Not subscribed to mailbox test3f/test4/
31 delete "test3f/"
31 OK DELETE completed
32 unsubscribe "test3f/"
32 OK UNSUBSCRIBE completed
I do see an inconsistancy here, that when Thunderbird deletes the
message folder it appends a /. However, imapd successfully deletes it
even though it does not exactly match the name given while creating it.
If I try by hand, I can delete the MIX directory "test2" either
as "test2/" or "test2", while I can unsubscribe only from "test2".
I'm not sure what other servers do; when I try gmail with openssl
s_client, it hangs after login although I can successfully communicate
with imapd over SSL.
Is it fair to say that Thunderbird has a bug because it uses a different
folder name for creation and deletion, and/or that imapd is inconsistent
in its treatment of deletion vs. unsubscription ?
--
Andrew Daviel, TRIUMF, Canada
Tel. +1 (604) 222-7376 (Pacific Time)
Network Security Manager
_______________________________________________
Imap-uw mailing list
[email protected]
http://mailman2.u.washington.edu/mailman/listinfo/imap-uw