[imp] IMP 3rc2, imp_show_quota and Courier-IMAP

German Poo Caaman~o gpoo@ubiobio.cl
Thu, 29 Nov 2001 16:39:06 -0300 (CLST)


On Thu, 29 Nov 2001, Joshua E Warchol wrote:
> Has anyone gotten imp_show_quota to work with Courier-IMAP. I'm using the
> latest courier snapshot which claims to support IMAP's QUOTA extention.
>
> How can I test if quota's are working on the imap server? Does anyone know
> the syntax?

$ telnet <imapserver> 143
. login <user> <password>
. getquota user.almunoz
. logout

The problem with GETQUOTA: you must log in as admin.  So, is quite
unsafe for PHP scripts.  Much better is GETQUOTAROOT, because you
can use user's logins and passwords.

--
German Poo Caaman~o
mailto:gpoo@ubiobio.cl
http://www.ubiobio.cl/~gpoo/chilelindo.html