On Mon, May 11, 2009 at 11:37 AM, Dan White <dwhite@xxxxxxx> wrote: > 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. > > E.g.: > > imtest -m DIGEST-MD5 -a cyrus -u dwhite@xxxxxxx localhost > > Depending on your environment, the '/vendor/cmu/cyrus/imapd/sharedseen' > annotation may be useful. See the 'cyradm' man page for details. > Where can I find (not in the code) all supported annotations by cyrus? -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net ---- 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