Re: how to automatically delete folders from Trash after x days

2020-05-20 Thread @lbutlr
On 20 May 2020, at 09:49, cha...@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




how to automatically delete folders from Trash after x days

2020-05-20 Thread chayes
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?