Re: how to check if mailbox is empty?

Marcus Schopen <[email protected]> Tue, 24 Sep 2019 20:20:33 +0200
Newsgroups gmane.comp.security.cyrus.sasl
Message-ID <[email protected]>
Am Dienstag, den 24.09.2019, 10:36 -0400 schrieb Giles Malet:
> 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.

hmmm ... I have to do that for about 200 inboxes. I've found this
nagios plugin, which works very well:

https://labs.consol.de/de/nagios/check_mailbox_health/index.html

But then I have to login into each account and have to save
username/password on my monitoring server.

Ciao!