Re: [vchkpw] quotas and imap

2002-11-08 Thread Bill Shupp
On Thursday, November 7, 2002, at 10:27  PM, Vladimir Kabanov wrote:


yes, it works,
but you should add word QUOTA to imap capability list


This is correct.  As a PHP example, you might check out my SquirrelMail
plugin that does the same thing:

http://squirrelmail.org/plugin_view.php?id=59

It's really simple, but might be helpful in getting started writing
something similar for IMP.

Regards,

Bill Shupp





Re: [vchkpw] quotas and imap

2002-11-08 Thread Iain
Hi,

On Sat, 9 Nov 2002 04:25, Bill Shupp wrote:
 On Thursday, November 7, 2002, at 10:27  PM, Vladimir Kabanov wrote:
  yes, it works,
  but you should add word QUOTA to imap capability list


I'm not sure what you mean by this. 

 This is correct.  As a PHP example, you might check out my SquirrelMail
 plugin that does the same thing:

 http://squirrelmail.org/plugin_view.php?id=59

Great thanks for that. Is there are a reason you didn't use the imap_getquota 
function in PHP? Also do you have to use GETQUOTAROOT or would GETQUOTA work 
too.

thanks, Iain.


 It's really simple, but might be helpful in getting started writing
 something similar for IMP.

 Regards,

 Bill Shupp





Re: [vchkpw] quotas and imap

2002-11-08 Thread Bill Shupp
On Friday, November 8, 2002, at 01:56  PM, Iain wrote:


Hi,

On Sat, 9 Nov 2002 04:25, Bill Shupp wrote:

On Thursday, November 7, 2002, at 10:27  PM, Vladimir Kabanov wrote:

yes, it works,
but you should add word QUOTA to imap capability list




I'm not sure what you mean by this.


The QUOTA extension in courier-imap is considered experimental.  
Therefore, it's not listed as a capability in the capability string be 
default in the imapd config file.  You need to manually add it.  See 
the FAQ in my SM plugin.

This is correct.  As a PHP example, you might check out my 
SquirrelMail
plugin that does the same thing:

http://squirrelmail.org/plugin_view.php?id=59

Great thanks for that. Is there are a reason you didn't use the 
imap_getquota
function in PHP?

SquirrelMail doesn't use the c-client library from the UW-IMAP server, 
it uses its own IMAP functions.

Also do you have to use GETQUOTAROOT or would GETQUOTA work
too.


Check out the rfc here: ftp://ftp.rfc-editor.org/in-notes/rfc2087.txt

You can use either, but GETQUOTAROOT accounts for multiple roots.

Bill





Re: [vchkpw] quotas and imap

2002-11-08 Thread Bill Shupp
On Friday, November 8, 2002, at 02:55  PM, Vladimir Kabanov wrote:


Bill, that functionality already implemented in IMP, and it works for 
me, at
least
so everything even more simple :)

Really?  Why are we having this discussion then?  I don't use IMP 
anymore.  : |

Bill




Re: [vchkpw] quotas and imap

2002-11-08 Thread T.J. Drennan

Iain said:
 Hi,

 On Sat, 9 Nov 2002 04:25, Bill Shupp wrote:
 On Thursday, November 7, 2002, at 10:27  PM, Vladimir Kabanov wrote:
  yes, it works,
  but you should add word QUOTA to imap capability list


 I'm not sure what you mean by this.

 This is correct.  As a PHP example, you might check out my SquirrelMail plugin that
 does the same thing:

 http://squirrelmail.org/plugin_view.php?id=59

 Great thanks for that. Is there are a reason you didn't use the imap_getquota
 function in PHP? Also do you have to use GETQUOTAROOT or would GETQUOTA work  too.


Squirrelmail doesn't use the standard php imap functions (they wrote their own). Not
sure about the QUOTA stuff.

 thanks, Iain.


 It's really simple, but might be helpful in getting started writing something
 similar for IMP.

 Regards,

 Bill Shupp




-- 
*
T.J. Drennan
Software Engineer, Wireless Systems
   Spectrum Signal Processing
[EMAIL PROTECTED]
*






Re: [vchkpw] quotas and imap

2002-11-08 Thread Vladimir Kabanov
yes,
but there only one small problem, for quota-less users,
so additional check has to be done.

 On Friday, November 8, 2002, at 02:55  PM, Vladimir Kabanov wrote:
 
  Bill, that functionality already implemented in IMP, and it works for 
  me, at
  least
  so everything even more simple :)
 
 Really?  Why are we having this discussion then?  I don't use IMP 
 anymore.  : |





[vchkpw] quotas and imap

2002-11-07 Thread Iain
Hi,

I was wondering if vpopmail quotas are visible in IMAP. I.e. will the imap get 
quota calls return the quota as set by vpopmail?

In particular I would like the show quota function in IMP 3.1 to work when 
using courier-imap.

cheers, Iain.




Re: [vchkpw] quotas and imap

2002-11-07 Thread Vladimir Kabanov
yes, it works,
but you should add word QUOTA to imap capability list

- Original Message -
From: Iain [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, November 08, 2002 3:45 PM
Subject: [vchkpw] quotas and imap


Hi,

I was wondering if vpopmail quotas are visible in IMAP. I.e. will the imap
get
quota calls return the quota as set by vpopmail?

In particular I would like the show quota function in IMP 3.1 to work when
using courier-imap.

cheers, Iain.