19 Jul
2022
19 Jul
'22
7:23 a.m.
On Tue, 2022-07-19 at 16:33 +1200, Peter wrote:
On 19/07/22 3:18 pm, Steve Litt wrote:
Is there any way I could use doveadm or other tools to create a report that shows all my folders in a hierarchy?
See doveadm(1) and doveadm-mailbox(1), specifically the
doveadm mailbox listcommand.Also, is there a way to show only those with new mail?
Look at doveadm-search(1) and doveadm-search-query(7) for this.
You can loop through the list of mailboxes from doveadm mailbox list and pass them one at a time to
doveadm search NEW MAILBOX mailboxnameto see if any messages are returned from the search.
Thanks Peter. I'll look into everything you mentioned in the next few days.
SteveT