Re: [vchkpw] Strane problem with vmoddomlimits and 2GB limit

2011-02-07 Thread Alessio Cecchi

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!



Re: [vchkpw] Strane problem with vmoddomlimits and 2GB limit

2011-02-07 Thread Matt Brookings
-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

# ~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?
- -- 
/*
Matt BrookingsGnuPG 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/

iEYEARECAAYFAk1QF7IACgkQIwet2/rgZyyvVACfRx+7Fsvjo6RLASCY9QNn6PsN
m7kAn2Bs9XyszBXUYAnZvDaiUxPtiCmB
=aArr
-END PGP SIGNATURE-


Re: [vchkpw] Strane problem with vmoddomlimits and 2GB limit

2011-02-07 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

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.
- -- 
/*
Matt BrookingsGnuPG 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/

iEYEARECAAYFAk1QFwwACgkQIwet2/rgZyy2ugCeOkOnIYvOXrzzAJXm69VBOy0B
aLQAoIj7+VEJgvcuHLWEKdrZxA7Pvj0L
=iY92
-END PGP SIGNATURE-


Re: [vchkpw] Strane problem with vmoddomlimits and 2GB limit

2011-02-07 Thread Alessio Cecchi
Il 03/02/2011 17:38, Matt Brookings ha scritto:
> On 02/01/2011 10:17 AM, Alessio Cecchi wrote:
>> with vpopmail 5.4.32 (but also older version) I have problem to set
>> the quota for domains to 2GB (2048MB)
> 
>> If I set quota like this:
> 
>> /home/vpopmail/bin/vmoddomlimits -q2147483648 domain.com
>> or
>> /home/vpopmail/bin/vmoddomlimits -q2048M domain.com
> 
>> /home/vpopmail/bin/vmoddomlimits -S domain.com show a wrong quota of:
> 
>> Default User Quota: -2147483648 bytes
> 
>> If I set quota to:
> 
> 
>> /home/vpopmail/bin/vmoddomlimits -q2147483647 domain.com
> 
>> works fine:
> 
>> Default User Quota: 2147483647 bytes
> 
>> Is vpopmail/vmoddomlimits unable to manage quota more than 2GB but can
>> manage quota of 2GB -1 byte?
> 
> Please try the 5.4.33 development version.
> Thanks!

Hi Matt,

thank you for your interesting in my problem, but I think the problem is
worse now :-)

# /home/vpopmail/bin/vmoddomlimits -q 1024M qboxmail.com
# /home/vpopmail/bin/vmoddomlimits -S qboxmail.com | grep "Default User
Quota"

Default User Quota: 1073741824 bytes

and works fine,

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

Very very big quota!

And for quota over 2GB:

www:~# /home/vpopmail/bin/vmoddomlimits -q 4096M qboxmail.comwww:~#
/home/vpopmail/bin/vmoddomlimits -S qboxmail.com | grep "Default User Quota"

Default User Quota: 0 bytes

vmoduser with "-q 4096M" works fine.

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:4d4fbd3532711933788344!