Autoexpunge and special user namespace
Timo Sirainen
tss at iki.fi
Wed Dec 9 22:12:23 UTC 2015
> On 09 Dec 2015, at 23:51, Joseph Tam <jtam.home at gmail.com> wrote:
>
> On Wed, 9 Dec 2015, Timo Siraine wrote:
>
>>> I'm interested in replacing my cron script that expunges old
>>> deleted mail with the new feature announced in 2.2.20
>>>> + Added mailbox { autoexpunge=<time> } setting. See
>>>> http://wiki2.dovecot.org/MailboxSettings for details.
>>> To use it, I need to specify which mailbox needs them using
>>> the namespace configuration. For example
>>>
>>> namespace inbox {
>>> mailbox Trash {
>>> auto = no
>>> special_use = \Trash
>>> autoexpunge = 7d
>>> mailbox_list_index = yes
>>> }
>>> ...
>> mailbox_list_index=yes is a global setting. You can't have it here.
>
> Oh, yes. Thanks for pointing that out. By the way, what does it do? The
> wiki states
>
> mailbox_list_index=yes can help a lot by replying to IMAP STATUS
> (and similar) lookups from a single index without having to open
> each mailbox index separately.
>
> So it create an uber-index that combines information from individual indices?
Some of the information, yes.
> Are there any drawback to using this?
It's more disk I/O for keeping the new index up to date.
More information about the dovecot
mailing list