The only time I've seen thunderbird issue a LIST or LSUB command is on startup, or when you open the "Subscribe..." dialog. I believe with the IMAP protocol that is only way to find out about new and newly subscribed folders (I'm not an IMAP guru though...), so with thunderbird, that is by design.
-Greg
On 2011-09-01 12:22 PM, Kristen J. Webb wrote:
Hi All,
Thanks for all the responses! While I like the idea of moving to dovecot 2.x for new features, it is not part of the ubuntu packages, so I'm going to wait. In the end, I found deliver -s in postfix master.cf did the trick. Still the problem with thunderbird not seeing the new folder until restart, but hey, mail client independence is what I'm after anyway ;)
Kris
On 8/31/11 7:32 PM, Timo Sirainen wrote:
On 31.8.2011, at 23.48, Kristen J. Webb wrote:
Is there any way to automatically add folders created by sieve (GNU Mailutils 2.1) to the subscriptions file for a user?
You mean you're using Mailutils Sieve, not Dovecot Sieve? The only reasonable solution I can think of is:
Mailutils Sieve would have to subscribe to newly created folders itself, maybe by patching it or if it supports running some script then doing it that way. With Dovecot v2.0 it could run "doveadm mailbox subscribe $folder", but with v1.2 you'd have to write your own script.
Any other solution would basically require always subscribing to all folders, which kind of defeats their whole purpose.