On 07/11/2024 16:16, Christian Kivalo via dovecot wrote:
So I then tried:
doveadm expunge -A MAILBOX * DELETED BEFORE 5d
and got back:
Fatal: Unknown argument BOOT
run-parts: /etc/cron.hourly/dovecot-cleanup exited with return code 75
How can I run it for all mailbox folders without specifying them
individually?
You need to quote the mailbox.
This should work, i tested it with doveadm search
doveadm expunge -A mailbox '*' deleted before 5d
Thanks. I was literally typing the answer when you replied as
cron.hourly (for testing) had just run OK.
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org