Dear all, is there a way to allow users to set up something like autoexpunge on an individual IMAP folder basis? The idea I implemented does not seem to work, namely returning namespace/inbox/mailbox/Bla/autoexpunge=6h from a userdb, which results in Debug: Unknown userdb setting: plugin/namespace/inbox/mailbox/Bla/autoexpunge=6h>From older questions on the mailing list I gather that the mailbox Blaneeds to be set up in the config before I can override its fields. If there is a way around this, I would gladly use this. Another solution that comes to mind would be to use a table-driven cron job, but I would prefer the cleanup to be triggered at delivering and/or moving mail. Best regards, Thorsten
* Thorsten Hater <thorsten.hater at gmail.com> 2017.01.17 09:40:> namespace/inbox/mailbox/Bla/autoexpunge=6h > > from a userdb, which results in > > Debug: Unknown userdb setting: > plugin/namespace/inbox/mailbox/Bla/autoexpunge=6huserdb_namespace/inbox/mailbox/Bla/autoexpunge=6h Regards Thomas -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 181 bytes Desc: Digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20170117/fc988eab/attachment.sig>
Unfortunately, this yields the same problem Debug: Unknown userdb setting: plugin/userdb_namespace/inbox/mailbox/Bla/autoexpunge=6h Thorsten On Tue, Jan 17, 2017 at 10:16 AM, Thomas Leuxner <tlx at leuxner.net> wrote:> * Thorsten Hater <thorsten.hater at gmail.com> 2017.01.17 09:40: > > > namespace/inbox/mailbox/Bla/autoexpunge=6h > > > > from a userdb, which results in > > > > Debug: Unknown userdb setting: > > plugin/namespace/inbox/mailbox/Bla/autoexpunge=6h > > userdb_namespace/inbox/mailbox/Bla/autoexpunge=6h > > Regards > Thomas >