[Dovecot-news] v2.2.20 release candidate released
Timo Sirainen
tss at iki.fi
Thu Dec 3 14:27:39 UTC 2015
> On 03 Dec 2015, at 16:09, Thomas Leuxner <tlx at leuxner.net> wrote:
>
> * Timo Sirainen <tss at iki.fi> 2015.12.03 14:51:
>
>> + Added mailbox { autoexpunge=<time> } setting. See
>> http://wiki2.dovecot.org/MailboxSettings for details.
>
> namespace inbox {
> mailbox Trash {
> autoexpunge = 5 days
> special_use = \Trash
> }
> }
>
> I'm using autoexpunge on the Trash mailbox. Looking at the wiki text I'm unclear on how to limit it to a specific service:
>
>> So it may be better to explicitly enable this only inside protocol imap, pop3 and maybe lmtp.
namespace inbox {
mailbox Trash {
special_use = \Trash
}
}
protocol imap {
namespace inbox {
mailbox Trash {
autoexpunge = 5 days
}
}
}
If you want it for other protocols, you'll unfortunately have to just copy&paste the entire block.
More information about the dovecot
mailing list