Purge trash and junk on mdboxes in Dovecot
Looking at !1015 (merged) we have purge trash and junk only for maildirs:
/server/lib/classes/cron.d/500-clean_mailboxes.inc.php
I would like to suggest adding also purge for mdbox'es.
This topic has been touches in this discussion: https://www.howtoforge.com/community/threads/email-cleanup.80522/
doveadm expunge -u user@domain ... some_criteria
Also it would be nice to have the frame setting for purges also inherited: global, per domain, and per user (that last one exists).