Are you using maildrop or flat files In your config? If you are using maildrop where there is a file for each file then you could use free into the folder new but I do not know what config you have check tre command and see if that does some of what you want.
> Il giorno 18 lug 2022, alle ore 20:20, Steve Litt <sl...@troubleshooters.com> > ha scritto: > > 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