20 Feb
2020
20 Feb
'20
10:50 p.m.
On Wed, 19 Feb 2020, Philip Colmer wrote:
/usr/bin/doveadm flags add -A '\Deleted' SEEN SENTBEFORE 12w && /usr/bin/doveadm expunge -A DELETED MAILBOX '*'
This may have been overtaken by Sami autoexpunge solution, but you can roll two I/O intensive operations into one -- there's no point setting flags on a message you'll expunge.
/usr/bin/doveadm expunge -A DELETED OR \( SEEN SENTBEFORE 12w \)
Joseph Tam jtam.home@gmail.com