[imp] imp_show_quota + cyrus-imapd
Gary C. New
garycnew at yahoo.com
Fri Jul 4 01:50:40 PDT 2003
I believe I've made a little progress. The reason I'm
getting the first error is due to permission problems
(i.e., trying to use user's permissions to check quota
when imap_get_quota will only allow the admin user to
do so--i verified this with a raw socket connection on
port 143 using getquota and getquotaroot).
I would rather us imap_get_quotaroot with the
imp_show_quota functio, so I think I am now trying to
focus on the second error message using
imap_get_quotaroot. Does the undefined function error
mean that imap_get_quotaroot is missing? I'm trying
to get it working with php example code for
imap_get_quotaroot, but I am receiving the same error.
If imap_get_quota is available shouldn't
imap_get_quotaroot be available also?
I appreciate your assistance.
Respectfully,
Gary
--- "Gary C. New" <garycnew at yahoo.com> wrote:
> 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
>
> --
> IMP mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
More information about the imp
mailing list