unread messages in filesystem
Wolfgang Hennerbichler
wogri at wogri.com
Sun Jan 27 04:34:19 EST 2008
Mike Eggleston wrote:
> 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.
> 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.
It turned out to be way easier than that:
man fud:
FUD is a long lived datagram daemon started from cyrmaster that
provides information about when a user last read their mail, when
mail last arrived in a user's mailbox, and how many messages
are recent for that user.
this is INTEGRATED into cyrus. very easy. very cool.
> Mike
wogri
--
wogri at wogri.com
http://www.wogri.com
http://www.einradfilm.at
More information about the Info-cyrus
mailing list