Re: unread messages in filesystem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux