how to check if mailbox is empty?

Giles Malet gdmalet at uwaterloo.ca
Tue Sep 24 10:36:27 EDT 2019


On 2019-09-24 3:11 a.m., Marcus Schopen wrote:
> how can I test the status of a mailbox without having to login?
> [...] I can't work with a simple "find" at file system level.

If you can run system commands, there's always mbexamine, which seems 
like overkill, but there's a "Number of Messages" value in the output, 
as well as other info.

g


More information about the Cyrus-sasl mailing list