Re: Strane problem with vmoddomlimits and 2GB limit

Matt Brookings <[email protected]>
Newsgroups gmane.mail.vpopmail
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02/11/2011 08:33 AM, Alessio Cecchi wrote:
> But with vmoddomlimits I can not set quota over 2GB:
> 
> vpopmail-5.4.33# /home/vpopmail/bin/vmoddomlimits -q 4069M test.com
> or with
> vpopmail-5.4.33# /home/vpopmail/bin/vmoddomlimits -q 4294967296 test.com
> 
> vpopmail-5.4.33# /home/vpopmail/bin/vmoddomlimits -S test.com | grep Quota
> Domain Quota: 0 MB
> Default User Quota: 2147483647 bytes
> 
> Quota is always 2GB.

Oh, I may not have mentioned, there had to be a database schema change
for MySQL limits to work.  You can either drop the entire limits
table, and vpopmail will re-create it, or you can modify the table.
Check out vmysql.h for the layout.  Notice the disable_maildrop
addition, and the changes from INT to BIGINT.
- -- 
/*
    Matt Brookings <[email protected]>       GnuPG Key FAE0672C
    Software developer                     Systems technician
    Inter7 Internet Technologies, Inc.     (815)776-9465
*/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1VSrIACgkQIwet2/rgZyypcwCfQO6ubgLrslG0bU0zqa3omfGW
/jQAmgI5pcq+MhknA2/HdMBQvyUIWhDy
=aAi5
-----END PGP SIGNATURE-----
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.