1 Sep
2011
1 Sep
'11
4:32 a.m.
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.