2009/5/11 Dan White <dwh...@olp.net> > 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 dwh...@olp.net localhost >
Interesting, I'll look at what is generated using debug mode of cyrus Thanks Dom > > > Depending on your environment, the '/vendor/cmu/cyrus/imapd/sharedseen' > annotation may be useful. See the 'cyradm' man page for details. > > -- Dominique LALOT Ingénieur Systèmes et Réseaux http://annuaire.univmed.fr/showuser.php?uid=lalot
---- 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