chayes at afo.net
2020-May-20 15:49 UTC
how to automatically delete folders from Trash after x days
This works great for keeping the Trash from overflowing ... doveadm expunge -A mailbox Trash before 30d ... but it doesn't delete folders that the user put in the trash. What is the recommended method for erasing folders from the trash? -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20200520/35cdc3da/attachment-0001.html>
On 20 May 2020, at 09:49, chayes at afo.net wrote:> > This works great for keeping the Trash from overflowing ... > > doveadm expunge -A mailbox Trash before 30dI do this instead: mailbox Junk { autoexpunge = 14 days auto = subscribe special_use = \Junk } mailbox Trash { autoexpunge = 31 days special_use = \Trash } I've never seen a folder in trash, however. -- This is to say: while it was true that they had just appeared in this particular set of dimensions, it was also true that they had been living in them all along. It is at this point that normal language gives up, and goes and has a drink. --Colour of Magic