> On 03 Dec 2015, at 16:09, Thomas Leuxner <[email protected]> wrote:
> 
> * Timo Sirainen <[email protected]> 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.

Reply via email to