raw access to imap quotas, with mail user
Carl P. Corliss
rabbitt at xaraya.com
Mon Sep 20 00:26:42 EDT 2004
Michael Loftis wrote:
[snip]
> Read it once, and then cache the result in the session information (or
> even in a cookie) along with a 'freshness' -- and when the timeout has
> expired, re-check it (say 1 minute, or five). Same thing with the LDAP
> auth. Re-authing every single page load is not necessary.
Better yet, only update it when you absolute need to (meaning: only when you
are checking mail or making a change to your mailbox by deleting, moving or
renaming). That should work - of course providing your web portal is
functioning as a mail client (checking mail/etc) and not -only- interacting
with imap to retrieve the quota.
HTH,
--
Carl
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
More information about the Info-cyrus
mailing list