Re: how to check if mailbox is empty?

Giles Malet <[email protected]> Tue, 24 Sep 2019 10:36:27 -0400
Newsgroups gmane.comp.security.cyrus.sasl
Message-ID <[email protected]>
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