autoexpunge - different settings for different users

Timo Sirainen tss at iki.fi
Mon Feb 8 10:02:32 UTC 2016


> On 08 Feb 2016, at 06:46, Tom Johnson <tj at 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.



More information about the dovecot mailing list