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

Steve Litt slitt at
Tue Jul 19 04:01:10 UTC 2022

Remo Mattei said on Mon, 18 Jul 2022 20:51:16 -0700

>Are you using maildrop or flat files In your config? 

Thanks Remo,

If by "maildrop" you mean "maildir", I'm using maildir.
Otherwise, I don't know what maildrop is.

> If you are using
>maildrop where there is a file for each file then you could use free
>into the folder new 

My Dovecot setup uses maildir and there's definitely one file per
message. When I type "free" at my Linux command line it just lists
statistics about memory. The doveadm man page doesn't list a command
called "free". So I'm not sure what "free into the new folder" means.

> 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
>> <slitt at> 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

More information about the dovecot mailing list