reading seen state as cyrus priviledged user

Dan White dwhite at
Mon May 11 10:37:22 EDT 2009

LALOT Dominique wrote:
> Hello,
> I would like to run scripts for deleting unread old mails. But using 
> the imap API, I can only read the good seen status if I logged as the 
> user. Checking as cyrus tells me, that nothing has been read.
> Is there an su option for imap?
> How can I do that?

You can authenticate as an admin, and authz as the user you wish to see 
seen state for.


imtest -m DIGEST-MD5 -a cyrus -u dwhite at localhost

Depending on your environment, the '/vendor/cmu/cyrus/imapd/sharedseen' 
annotation may be useful. See the 'cyradm' man page for details.

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Info-cyrus mailing list