php's imap_set_quota() function

dimon at intellinetinc.com dimon at intellinetinc.com
Fri Oct 17 19:11:31 EDT 2003


Hi,

I'm trying to use PHP's imap_set_quota() function to manage user's quotas. I 
can set user's quota to 0 with:
imap_set_quota($mbox, "user/afif", none); or
imap_set_quota($mbox, "user/afif", 0);
And for sure I can set user's quota to any other value > 0
imap_set_quota($mbox, "user/afif", -1);
imap_errors() gives me this error:
"IMAP protocol error: Invalid quota list in Setquota"
I have compiled PHP with c-client 2001 FINAL as suggested at php.net site.
But it still doesn't work :-)
So I thought It might be problem with Cyrus IMAP-2.2

My configuration is:
name       : Cyrus IMAPD
version    : v2.2.1-BETA 2003/07/16 21:18:54
os         : FreeBSD
os-version : 4.7-RELEASE
environment: Built w/Cyrus SASL 2.1.13
             Running w/Cyrus SASL 2.1.15
             Sleepycat Software: Berkeley DB 3.3.11: (July 12, 2001)
             Built w/OpenSSL 0.9.6h  5 Dec 2002
             Running w/OpenSSL 0.9.6h  5 Dec 2002
             CMU Sieve 2.2
PHP-4.3.3
Apache/1.3.27 
c-client 2001 FINAL 

Have anyone had any issues or luck doing the same thing?
May be I missed something?

Any help would greatly appreciated!
Dmitry




More information about the Info-cyrus mailing list