Re: [vchkpw] New development release

2009-01-22 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

vch...@developersdesk.com wrote:
> I've now compiled and installed on a 64 bit machine.  This is a low usage
> live server, and seems to be working.  I use the CDB back end on all of my
> installs.  I did not need to use any of the tricks that used to be
> required to get older versions to compile on a 64 bit processor.  I
> believe the 64 bit problems were fixed sometime after 5.4.18 when I
> switched build system files to something created after 64 bit processors
> became popular.

Good to hear.  We're getting closer to a stable tag :)

> I have spotted one small problem...  On both of these installs the first
> thing  make  did was run aclocal then run ./configure again.  I believe
> this is a bug in the files created by the gnu build system.  The fix may
> be to run the following:

Thanks for the heads up.

> If you haven't done the svn conversion yet, you might want to fix this
> before you do.  Build system file updates are messy since we have many of
> the output files in cvs/svn.

I'm not sure doing this inside the version control system is a good idea.
More important would be to do this before tagging a version and creating
a file release.
- --
/*
Matt BrookingsGnuPG Key D9414F70
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJeHkv6QgvSNlBT3ARAmNuAKCrmboZ+cIu0Dsth8hCUMhEpRcLvACaA73X
q7R3CKopAcJVczsCPa5TkE0=
=1Mzu
-END PGP SIGNATURE-


Re: [vchkpw] Opinions needed - Bignum Arithmetic

2009-01-22 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Manvendra Bhangui wrote:
> At this point, I am not sure if bignum is an overkill, but I will be
> trying this soon and will keep you folks posted

Heh, yes, this library is more suited for crypto research :P
- --
/*
Matt BrookingsGnuPG Key D9414F70
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJeHhk6QgvSNlBT3ARAv0JAKCjjJcelk/FbAe0i6wnR6k9nm41IQCfYzH0
71lePN4iQXIxE1GypSkro+c=
=uvN8
-END PGP SIGNATURE-


Re: [vchkpw] Opinions needed - Bignum Arithmetic

2009-01-22 Thread Manvendra Bhangui
On Wed, 2009-01-21 at 21:13 -0800, Tom Collins wrote:
> Two thoughts on quotas.
> 
> You're going to have to deal in sub-megabyte numbers, since the size  
> of most messages are measured in KB.  Maybe you could track the quota  
> in kbytes, rounding up/down as necessary?
> 
> All programs that deal with the quota (maildirsize file) will have to  
> use 128-bit numbers (long long?) or whatever new method you come up  
> with.  This includes not just vpopmail, but your IMAP server and  
> potentially maildrop and qmail (if you have any .qmail files that are  
> handled by qmail and not vdelivermail).  Maybe they can use a  
> dynamically linked library?
> 
In computer science, arbitrary-precision arithmetic, also called bignum
arithmetic, is a technique whereby programs perform calculations on
integers or rational numbers with an arbitrary number of digits of
precision.

I am planning to use GMP GNU Multiple Precision Arithmentic Library. It
claims to be the fastest bignum library on planet.
GMP is a free library/ There is no practical limit to the precision
except the ones implied by the available memory in the machine. GMP has
a rich set of functions to help you deal with these large numbers.

http://gmplib.org

At this point, I am not sure if bignum is an overkill, but I will be
trying this soon and will keep you folks posted

Regards Manvendra
(http://www.indimail.org)


!DSPAM:4978452a32681009520127!



Re: [vchkpw] Opinions needed

2009-01-22 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Tom Collins wrote:
> Two thoughts on quotas.
> 
> You're going to have to deal in sub-megabyte numbers, since the size of
> most messages are measured in KB.  Maybe you could track the quota in
> kbytes, rounding up/down as necessary?

Yeah.  Pretty much every response in regards to my question has shown me this.

> All programs that deal with the quota (maildirsize file) will have to
> use 128-bit numbers (long long?) or whatever new method you come up
> with.  This includes not just vpopmail, but your IMAP server and
> potentially maildrop and qmail (if you have any .qmail files that are
> handled by qmail and not vdelivermail).  Maybe they can use a
> dynamically linked library?

Where do you come up with 128bit from?  On most systems a 'long long' is going
to be a 64bit integer.  That's what I'm currently using.
- --
/*
Matt BrookingsGnuPG Key D9414F70
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJeD/E6QgvSNlBT3ARAhs8AKCUFyzpx66+NdLcviesKlMazN/h/QCgoXHX
KhNy9/Zep8/R2mSFvrXWX3Q=
=IeCm
-END PGP SIGNATURE-