Hi!

I thought so. But one think i don't know. I have some script for
getting qouta info for some users. But it's working on cyrus.

I wan't to know what is the command to get this data, because cyrus
have some administrator user to check this. How can i login to
courier, to get this info.


Here is a PHP script to do this.

$mbox = imap_open("{your.imap.host}","mailadmin","password",OP_HALFOPEN)
      or die("can't connect: ".imap_last_error());
 
$quota_value = imap_get_quota($mbox, "user.kalowsky");
if(is_array($quota_value)) {
    print "Usage level is: " . $quota_value['usage'];
    print "Limit level is: " . $quota_value['limit'];
} 
 
imap_close($mbox);

You can see that there is some mailadmin. How can i use this with
courier.

-- 
bye and thanks for help,
 Uros                            mailto:[EMAIL PROTECTED]


Wednesday, December 19, 2001, 6:39:56 PM, you wrote:

JEW> Basically (I'm not the developer, I just use this functionality), support
JEW> for the IMAP commands GETQUOTA and GETQUOTAROOT were added. They operate in
JEW> a fairly straight-forward way, and for the most part all you need to know
JEW> is to log in to the server, then issue a ". GETQUOTA ROOT" command. If you've
JEW> got maildirquota support setup (IMPORTANT: Your mailer must be creating the
JEW> maildirsize files), then courier will parse it and return the quota used
JEW> and quota total.

JEW> On Wed, Dec 19, 2001 at 01:16:52PM +0100, Uros Gruber wrote:
>> Hi!
>> 
>> In changelog i found some partial of imap qouta support. I want to
>> know more about this. What is the diference from version 1.3.x.
>> 
>> Can anybody tell me more about this.
>>   
>> 
>> -- 
>> by,
>>  Uros
>> 
>> 
>> _______________________________________________
>> courier-users mailing list
>> [EMAIL PROTECTED]
>> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to