reading seen state as cyrus priviledged user
Dan White
dwhite at olp.net
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.
E.g.:
imtest -m DIGEST-MD5 -a cyrus -u dwhite at olp.net 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...
URL: http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20090511/d4a8d753/attachment.html
More information about the Info-cyrus
mailing list