how to check if mailbox is empty?

Marcus Schopen lists at localguru.de
Tue Sep 24 14:20:33 EDT 2019


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!




More information about the Cyrus-sasl mailing list