Matthew Reimer
2003-Nov-17 22:47 UTC
[Dovecot] IMAP subscribe/unsubscribe broken in 0.99.10.2
IMAP subscribe/unsubscribe is broken in 0.99.10.2 (and earlier releases), specifically subsfile_set_subscribed(), where the logic is all wrong. I tried just copying over the latest subscription-file.c but it has dependencies on some file locking/dotlocking stuff that 0.99.10.2 doesn't have. Timo, would it be possible to incorporate the latest subscription-file.c into 0.99.10.3 (whenever that will be)? Matt
Timo Sirainen
2003-Nov-20 16:23 UTC
[Dovecot] IMAP subscribe/unsubscribe broken in 0.99.10.2
On Tue, 2003-11-18 at 00:47, Matthew Reimer wrote:> IMAP subscribe/unsubscribe is broken in 0.99.10.2 (and earlier > releases), specifically subsfile_set_subscribed(), where the logic is > all wrong. I tried just copying over the latest subscription-file.c but > it has dependencies on some file locking/dotlocking stuff that 0.99.10.2 > doesn't have. > > Timo, would it be possible to incorporate the latest subscription-file.c > into 0.99.10.3 (whenever that will be)?I see bugs in CVS's subscription implementation, but what's wrong in 0.99.10.2 implementation? Also your comments about dotlocking changes sound like you're trying some CVS snapshot :) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20031120/4180dfc8/attachment-0001.bin>
Scott Heavner
2003-Nov-23 17:38 UTC
[Dovecot] IMAP subscribe/unsubscribe broken in 0.99.10.2
I saw this problem with 0.99.10.2 and had to revert back to 0.99.9.1. As I recall the subscription stuff was not respecting the end-of-line as a field separator. It would just cut the old text and drop the new in it's place. Or it might cut an inappropriate entry that should have been a partial string match. FolderOneOhNine FolderOne FolderThree Trying to delete FolderOne would probably [i didn't save any botched subscription files] result in this OhNine FolderOne FolderThree -scott