<br><br><div class="gmail_quote">2009/5/11 Dan White <span dir="ltr"><<a href="mailto:dwhite@olp.net">dwhite@olp.net</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000"><div class="im">
LALOT Dominique wrote:
<blockquote type="cite">
Hello,<br>
<br>
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.<br>
<br>
Is there an su option for imap?<br>
<br>
How can I do that?<br>
</blockquote>
<br></div>
You can authenticate as an admin, and authz as the user you wish to see
seen state for.<br>
<br>
E.g.:<br>
<br>
imtest -m DIGEST-MD5 -a cyrus -u <a href="mailto:dwhite@olp.net" target="_blank">dwhite@olp.net</a> localhost</div></blockquote><div><br>Interesting, I'll look at what is generated using debug mode of cyrus<br><br>Thanks<br>
<br>Dom <br><br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div bgcolor="#ffffff" text="#000000"><br>
<br>
Depending on your environment, the '/vendor/cmu/cyrus/imapd/sharedseen'
annotation may be useful. See the 'cyradm' man page for details.<br>
<pre style="margin: 0em;"></pre>
</div>
</blockquote></div><br><br clear="all"><br>-- <br>Dominique LALOT<br>Ingénieur Systèmes et Réseaux<br><a href="http://annuaire.univmed.fr/showuser.php?uid=lalot">http://annuaire.univmed.fr/showuser.php?uid=lalot</a><br>