On 02 May 2016, at 16:40, Leon Kyneur <[email protected]> wrote:
>
>
>
> On 02/05/16 16:51, Timo Sirainen wrote:
>> On 02 May 2016, at 03:47, Leon Kyneur <[email protected]> wrote:
>>> Was excited to see that wildcards are now possible on autoexpunge in the
>>> 2.2.24 release.
>>>
>>> However I'm trying to configure these from the userdb lookup and it doesn't
>>> appear to be working.
>>>
>>> if I set in 15-mailboxes.conf
>>> mailbox Trash/* {
>>> ...
>>> autoexpunge = 10m
>>> }
>>>
>>> everything works..
>>>
>>> however if I return
>>>
>>> =namespace/inbox/mailbox/Trash/*/autoexpunge=10m
>> Using "/" in the namespace name conflicts with the "/" separator, so it
>> needs to be escaped. You can use "doveconf -n -S" to find out what the
>> escaping needs to look like ("/" = "\s").
>>
>
> Thanks Timo - that's what I was missing.
>
> Another thing - will it ever be possible to wildcard *all* mailboxes?
>
> My setup doesn't specify prefix = INBOX/ on "namespace inbox"... without
> knowing all of the root mailboxes users have created is it possible to
> autoexpunge these?
>
> This obviously does not work
> =namespace/inbox/mailbox/\s*/autoexpunge=90d
Why? I would expect mailbox * { autoexpunge } to work.