autoexpunge wildcard mailbox from userdb

Timo Sirainen tss at iki.fi
Mon May 2 08:51:57 UTC 2016


On 02 May 2016, at 03:47, Leon Kyneur <leon at f-m.fm> 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").



More information about the dovecot mailing list