Hello,

I asked that question a week ago but didn't get any response. So I'll try 
again :-)

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
But when I'm trying to delete quota (set unlimited quota) for the user with
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 :-)

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 luck with removing quotas on Cyrus IMAP server using 
imap_set_quota() function?
May be I missed something?

Any help would be greatly appreciated!
Dmitry

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to