Setting QUOTA through PHP ...
Marc G. Fournier
scrappy at hub.org
Fri Feb 17 02:20:18 EST 2006
On Tue, 14 Feb 2006, Scott Russell wrote:
> Marc G. Fournier wrote:
>> So, it would be passing:
>>
>> SETQUOTA "user.cotton" (STORAGE none)
>>
>> to the backend ... again, if none == an integer #, the quota gets set, so
>> it looks like the syntax itself is right, but 'none' is wrong ...
>>
>> Is anyone doing this with PHP that has gotten around the above issue? Is
>> there something obviously wrong with the way the SETQUOTA is being
>> generated?
>
> Based on pear bug http://pear.php.net/bugs/bug.php?id=2657 I created a
> patch against IMAPProtocol.php the solves this problem and a few others
> I saw with quota support. I updated the bug but it appears as if some
> line wrapping happened. Try the patch from
> http://files.bluecamel.imap.cc/ instead.
Patch didn't apply cleanly on the version of Net_IMAP I have (1.0.3), but
I manually applied it, and all appears to work great ... thx :)
----
Marc G. Fournier Hub.Org Networking Services (http://www.hub.org)
Email: scrappy at hub.org Yahoo!: yscrappy ICQ: 7615664
More information about the Info-cyrus
mailing list