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?
On 20 May 2020, at 09:49, chayes@afo.net wrote:
This works great for keeping the Trash from overflowing ...
doveadm expunge -A mailbox Trash before 30d
I 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
participants (2)
-
@lbutlr
-
chayes@afo.net