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
Depending on your environment, the '/vendor/cmu/cyrus/imapd/sharedseen'
annotation may be useful. See the 'cyradm' man page for details.
----
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