[Dovecot] dovecot 1.2.3: TB fails to unsubscribe folder after deletion

Timo Sirainen tss at iki.fi
Fri Aug 14 03:47:25 EEST 2009


On Tue, 2009-08-11 at 12:12 +0200, Max Dittrich wrote:
> Hi,
> 
> I'm running dovecot 1.2.3 with "imap_client_workarounds =
> tb-extra-mailbox-sep" and noticed that after deleting a folder (moving
> to Trash and emptying it on exit) that folder in Trash still keeps
> subscribed.
> I think the reason for that behavior is that the call for
> mailbox_list_set_subscribed() in imap/cmd-subscribe.c (line 84) is fed
> with the original mailbox name and not the stripped version in
> verify_name. Assigning verify_name to mailbox in the
> workaround-conditional fixes this issue for me.

Well, I guess it was kind of intentional and this isn't necessarily
always a problem. TB subscribes mailbox as "box/" and unsubscribes it as
"box/". Dovecot internally also stores it as "box/" so all of that
should be ok. Except if some other client subscribes to it, or perhaps
TB doesn't always subscribe to it as "box/".

Anyway.. http://hg.dovecot.org/dovecot-1.2/rev/339be408f49a should help.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090813/964bc760/attachment.bin 


More information about the dovecot mailing list