unread messages in filesystem

Mike Eggleston mikeegg1 at mac.com
Thu Jan 24 08:04:59 EST 2008


On Thu, 24 Jan 2008, Wolfgang Hennerbichler might have said:

> Hi,
> 
> I'm looking for a simple way to get the number of unread messages in a  
> cyrus store for a specific user. I'm not really into cyrus anymore,  
> could anybody give me a hint where I should start? It might be as easy  
> as a shellscript, but I could also dump the database for a specific  
> user and interpret the number of unread messages - somehow. If anybody  
> could give me a clue where to start - I'd be very thankful.
> 
> I'm running cyrus 2.2.13-10 (debian etch) (single installation, no  
> murder, no cluster).

Recently on this list there was a message about using a command inside
cyrus (as the cyrus user) that showed messages and flags from the database.
You could use that command (search for the command first in the archives)
then '$cmd | grep -v -c \\Seen'. Seems like that would work.

Mike


More information about the Info-cyrus mailing list