[Imap-uw] Problem deleting folders with Thunderbird

2009-05-14 Thread Andrew Daviel


We have a problem with users trying to delete folders using Thunderbird. 
Part of it is a TB problem IMO (some discussion with Mark a while back; 
TB is trying to delete an open folder without deselecting it).


However, another issue seems to be that imapd is not unsubscribing from 
the deleted folder properly


from network capture:
3 list  Trash/test/*
* LIST (\HasNoChildren) / Trash/test/
3 OK LIST completed
4 delete Trash/test/
4 OK DELETE completed
5 unsubscribe Trash/test/
5 NO Not subscribed to mailbox Trash/test/
6 logout

- at this point, Trash/test/ has disappeared from the filesystem, but 
there is still an entry Trash/test in .mailboxlist.
Thunderbird seems to ignore error status and thinks it has successfully 
unsubscribed - the icon disappears. But after exiting and restarting 
(logging in again), the icon reappears pointing to a mailbox that cannot 
be selected.


imapd-2007, as I recall


https://bugzilla.mozilla.org/show_bug.cgi?id=357911
I submitted 414101 now marked as a duplicate

--
Andrew Daviel, TRIUMF, Canada
Tel. +1 (604) 222-7376  (Pacific Time)
Network Security Manager
___
Imap-uw mailing list
Imap-uw@u.washington.edu
http://mailman2.u.washington.edu/mailman/listinfo/imap-uw


Re: [Imap-uw] Problem deleting folders with Thunderbird

2009-05-14 Thread Brian Hayden

On May 14 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.


Just to be explicit, the moral of the story is that using subscriptions is 
not a good idea because every client is stupid in their handling of subs, 
and worse, they're all stupid in slightly different ways.


-Brian
___
Imap-uw mailing list
Imap-uw@u.washington.edu
http://mailman2.u.washington.edu/mailman/listinfo/imap-uw


Re: [Imap-uw] Problem deleting folders with Thunderbird

2009-05-14 Thread Mark Crispin

On Thu, 14 May 2009, Brian Hayden wrote:
Just to be explicit, the moral of the story is that using subscriptions is 
not a good idea because every client is stupid in their handling of subs, and 
worse, they're all stupid in slightly different ways.


Correct.

The ONLY valid use for subscriptions is if a server exports netnews groups 
or similar functionality.  This allows the user to keep a list of which 
newsgroups he is subscribed to.  Now that netnews is effectively dead, the 
purpose and use of IMAP subscriptions should die with it.


Any client which do a LIST * and subscribe all the names returned is 
broken by design.  This means you, Outlook and Thunderbird.  That practice

is completely unnecessary, and is based upon false folklore.

-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.
___
Imap-uw mailing list
Imap-uw@u.washington.edu
http://mailman2.u.washington.edu/mailman/listinfo/imap-uw