8 Feb
2016
8 Feb
'16
12:02 p.m.
On 08 Feb 2016, at 06:46, Tom Johnson <tj@terramar.net> wrote:
You can override any mail-related setting from userdb. So for example if you have:
namespace inbox { mailbox Trash { autoexpunge = 30d } }
You can have your userdb return namespace/inbox/Trash/autoexpunge=90d extra field for other users. http://wiki2.dovecot.org/UserDatabase/ExtraFields has some examples.
Thank you, Timo!
Can you return something like "namespace/inbox/*/autoexpuge=90d" to cover all the namespaces? And then override individual ones if necessary?
It would mean the same as:
namespace inbox { mailbox * { autoexpunge = 90d } }
So the question is about whether the above configuration works. Currently it doesn't, but it probably will in future.