how to automatically delete folders from Trash after x days

@lbutlr kremels at kreme.com
Wed May 20 19:18:05 EEST 2020


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 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




More information about the dovecot mailing list