last time a user has consulted his/her mailbox

Dave McMurtrie dgm+ at
Wed May 21 07:47:24 EDT 2003

On Wed, 21 May 2003, Laurent LAVAUD wrote:

> Hello,
>   Is there a way to know when a user has read his/her mailbox for the last time ?

I think you should be able to get this info from the "seen" files for each

The location and name of the "seen" files differ between cyrus versions.
I don't know exactly when the change was made, either.  Probably somewhere
around 2.0.  You don't specify which version of cyrus you're running.

For older cyrus versions, look in the user's mail spool directory for a
file named cyrus.seen.

For newer cyrus versions, look in the /var/imap/user directory.  They're
stored in here by username, so for a user "nachoman", you'd want to look
in the file named "nachoman.seen".

I think one of these timestamps indicates the last time a message was

If this fails you, parse the server logs.


Dave McMurtrie, Systems Programmer
University of Pittsburgh
Computing Services and Systems Development,
Development Services -- UNIX and VMS Services
717P Cathedral of Learning

More information about the Info-cyrus mailing list