.current_size was maked by vdelivermail , vpopmail applicaton. And will
renew the size in .current_size if there is a new incoming mail, and of
course if you still in default setting of vdelivermail application, it will
renew .current_size if the size of new mail is more than 1 k.
Sqwebmail doesn't use .current_size but maildirsize.
Sqwebmail and vpopmail have a different metode to read or write the quota.

I never try to make vpopmail calculation of .current_size of courier-imap's
folder. But i have try with standart sqwebmail's folder.
I make a new application, and it's just like vdelivermail, but i combine
with the logika of sqwebmail. This application write maildirsize like
sqwebmail and write the .current_size. Like vdelivermail, this application
recount the all size of mailbox (but it mean including the trash folder)
and write the size in .current_size. Then, I read the hard quota in my
database (mySQL). And I write both in maildirsize. In the first line I write
the hard quota .And I write the nominal of .current_size at the second line.
At sqwebmail application, I write some tag to activate this application. I
write in sqconfig.c. And I rebuild the sqwebmail, and install to my system.


----- Original Message -----
From: Ken Jones <[EMAIL PROTECTED]>
To: Bill Shupp <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, June 22, 2001 2:07 PM
Subject: Re: quota calculation for courier-imap folders


> Bill Shupp wrote:
> >
> > .current_size doesn't appear to account for messages in
> > courier-imap/sqwebmail folders.  Is that correct?  If so, this makes the
> > quota support in vpopmail only work for pop accounts, which is probably
all
> > it was designed for.
> >
> > Has anyone tried to make vpopmail's calculation of .current_size account
for
> > courier-imap's folders?  Is this a bad idea?
> >
> > Regards,
> >
> > Bill Shupp
>
> Hey Bill,
>
> That might be a good idea. I wonder what is involved,
> just the .current_size file? what's supposed to be
> in that file?
>
> Ken
>

Reply via email to