[imp] imp_show_quota + cyrus-imapd

Gary C. New garycnew at yahoo.com
Thu Jul 3 23:33:21 PDT 2003


I'm trying to get imp_show_quota to work with IMP-3.1,
php-4.2.3, and cyrus-imapd-2.0.16.  It seems that the
php imap_get_quota function is erroring at the
following line with the respective error:

LINE:
$quota = imap_get_quota($stream, 'user.' .
$imp['user']);

ERROR:
Warning: c-client imap_getquota failed

I have also tried using the imap_get_quotaroot
function, but it gives me a separate error:

LINE:
$quota = imap_get_quotaroot($stream, 'user.' .
$imp['user']);

ERROR:
Fatal error: Call to undefined function:
imap_get_quotaroot()

I tried a few of the imap php sample functions from
the php website and they seem to work fine.  The
strange thing is that when an account is actually over
quota IMP states such, but the imp_show_quota function
doesn't seem to be able to get it.  I've watched the
syslogs and can see when the imp_show_quota function
can't connect with a bad user/pass pair, but it still
doesn't work with with good authentication, either.

Yes...  cyrus-imapd is compiled with QUOTA.

Any ideas what it might be from the errors I've
provided.  Any thoughts on how to better trouble shoot
it?

You assistance is greatly appreciated.

Respectfully,


Gary

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com


More information about the imp mailing list