Re: Strane problem with vmoddomlimits and 2GB limit

Eric Shubert <[email protected]>
Newsgroups gmane.mail.vpopmail
Organization Eric Shubert & Associates
Message-ID <[email protected]>
On 02/02/2011 10:03 AM, Tom Collins wrote:
> On Feb 1, 2011, at 8:17 AM, Alessio Cecchi wrote:
>> Is vpopmail/vmoddomlimits unable to manage quota more than 2GB but can manage quota of 2GB -1 byte?
>
> Some quota code uses a signed 32-bit value so, yes, 2GB - 1 is the maximum you can represent in that datatype.
>
> I believe more recent versions of vpopmail have a new "vusage" client/daemon to manage quotas, and it supports larger quotas.
>
> Keep in mind that the old "maildirsize standard" is implemented in multiple locations.  vdelivermail, qmail-local, your POP and IMAP server, QmailAdmin, vmoddomlimits, vmoduser, etc.  All of them would need to be reviewed to ensure they work correctly for larger sizes.
>
> One proposed fix is to switch to unsigned 32-bit, but that only gets you to 4GB.  I think others have proposed 64-bits, or even just storing kbytes instead of bytes in the file.  I'm sure others will chime in with advice and guidance.
>
> -Tom
>

Is this true for v5.4.32?
Is this true for v5.5.x?

I don't use quotas personally, but I'd like to see this get fixed. I'd 
even consider doing (some of) the coding.

Matt, what's the status of this?

-- 
-Eric 'shubes'


!DSPAM:4d49aba632711295317521!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.