18 Feb
2025
18 Feb
'25
11:05 a.m.
-- Doug
On Feb 18, 2025, at 00:20, Marc via dovecot <dovecot@dovecot.org> wrote:
run cron job with purge?
I have the following in 15-mailboxes.config:
mailbox Trash { special_use = \Trash autoexpunge = 30 days }
I thought that would empty the deleted emails after 30 days. However, I find that in .Deleted Messages/cur there are over 18K messages dating back to the 90's. What do I need to set to make the autoexpunge work?
That did nothing. I ran:
doveadm expunge -u doug mailbox "Deleted Messages" savedbefore 2w
That worked.