I just upgraded to imap-2007. But people have reported this problem to me
before, when we were running imap-2006h.
When they delete a folder in Thunderbird, it
disappears, but reappears next time they log in.
When I log the network traffic, I see
3 select "Trash/junk2"
* 0 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1178927324] UID validity status
* OK [UIDNEXT 1] Predicted next UID
* FLAGS (\Answered \Flagged \Deleted \Draft \Seen)
* OK [PERMANENTFLAGS (\* \Answered \Flagged \Deleted \Draft \Seen)] Permanent
flags
3 OK [READ-WRITE] SELECT completed
4 IDLE
+ Waiting for DONE
DONE
4 OK IDLE completed
5 list "" "Trash/junk2/*"
* LIST (\HasNoChildren) "/" Trash/junk2/
5 OK LIST completed
6 delete "Trash/junk2/"
6 NO Can't lock mailbox for delete: Trash/junk2/
7 IDLE
+ Waiting for DONE
So, a bug in Thunderbird where it ignores the "NO" and removes the icon
for junk2 in the GUI. But some locking issue in imapd.
This is with Linux 2.6.9-55, SL (=~ RHEL) 4.5, XFS filesystem.
I'm not sure why I haven't seen this before ... maybe the users don't
normally delete anything ....
In mix.c, I see
else if (((fd = open (tmp,O_RDWR,NIL)) < 0) || flock (fd,LOCK_EX|LOCK_NB))
sprintf (tmp,"Can't lock mailbox for delete: %.80s",mailbox);
supposedly an exclusinve non-blocking lock.
Hmm .. if I delete a folder in Pine, it is gone. I had SSL on so didn't
get the IMAP commands.
Maybe there's a problem with Thunderbird having multiple threads open on
the same mailbox. (I was using 2.0.0.9)
--
Andrew Daviel, TRIUMF, Canada
Tel. +1 (604) 222-7376 (Pacific Time)
Network Security Manager
_______________________________________________
Imap-uw mailing list
[email protected]
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw