On Tue, 2022-07-19 at 09:19 +0300, Aki Tuomi wrote: > > > On 19/07/2022 06:18 EEST Steve Litt <sl...@troubleshooters.com> > > wrote: > > > > > > Hi all, > > > > I use a Dovecot IMAP server on my Linux desktop computer, and I'm > > pretty good at writing shellscripts. Is there any way I could use > > doveadm or other tools to create a report that shows all my folders > > in a > > hierarchy? Also, is there a way to show only those with new mail? > > > > Thanks, > > > > SteveT > > > > Steve Litt > > Summer 2022 featured book: Thriving in Tough Times > > http://www.troubleshooters.com/bookstore/thrive.htm > > doveadm -fjson mailbox status -u user unseen "*" >
Very nice Aki! I can pass that JSON to a Python program I make to parse JSON, and then just report the ones not having "unseen":"0" . Thank you! SteveT