Tools to get a report of which folders have new mail?

Aki Tuomi aki.tuomi at open-xchange.com
Tue Jul 19 06:19:10 UTC 2022


> On 19/07/2022 06:18 EEST Steve Litt <slitt at 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 "*"

Aki


More information about the dovecot mailing list