Re: Strane problem with vmoddomlimits and 2GB limit

Alessio Cecchi <[email protected]>
Newsgroups gmane.mail.vpopmail
Message-ID <[email protected]>
Il 07/02/2011 17:02, Matt Brookings ha scritto:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 02/07/2011 10:00 AM, Matt Brookings wrote:
>> On 02/07/2011 03:36 AM, Alessio Cecchi wrote:
>>> but with 2048M (or 2147483648 byte)
>>
>>> www:~# /home/vpopmail/bin/vmoddomlimits -q 2048M qboxmail.com
>>> www:~# /home/vpopmail/bin/vmoddomlimits -S qboxmail.com | grep "Default
>>> User Quota"
>>
>>> Default User Quota: 18446744071562067968 bytes
>>
>> Odd.  Looking into this.
>
> Hmm.  Are you sure you're using 5.4.33?
>
> # ~vpopmail/bin/vmoddomlimits -v
> version: 5.4.33

Yes:

www:~# /home/vpopmail/bin/vmoddomlimits -v | grep version
version: 5.4.33

www:/var/src/vpopmail-5.4.33# head config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by vpopmail configure 5.4.33, which was
generated by GNU Autoconf 2.65.  Invocation command line was

   $ ./configure --enable-mysql-limits --enable-auth-module=mysql 
--enable-logging=p --enable-maildrop --enable-valias

www:/var/src/vpopmail-5.4.33# uname -a
Linux www.test.com 2.6.26-2-amd64 #1 SMP Thu Nov 25 04:30:55 UTC 2010 
x86_64 GNU/Linux


> # ~vpopmail/bin/vmoddomlimits -q 2048M test.com
> # ~vpopmail/bin/vmoddomlimits -S test.com
> Default User Quota: 2147483648 bytes
>
> Can you please post the
> ~vpopmail/domains/qboxmail.com/.qmailadmin-limits file contents?

I'm using mysql limits, could be this the problem?

When -S report "18446744071562067968 bytes" in mysql limit's table -> 
"defaultquota" report: -2147483648 (the same value before vpopmail upgrade).

Note that if I update quota manually in mysql limit's table -> 
"defaultquota" vmoddomlimits -S test.com show the right quota.

Thanks
-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG -> Socio http://www.lolug.net

!DSPAM:4d50eea532713707094004!
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.