Re: [exim] Quota over 2GB supported?

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Philip Hazel
Data:  
Para: Michael Haardt
CC: exim-users
Asunto: Re: [exim] Quota over 2GB supported?
On Wed, 13 Apr 2005, Michael Haardt wrote:

> Here is a patch that works for me [tm]. It allows quota of 2 GB and more
> on machines with large file support, but does not support maildirsize
> and large messages. It is probably not complete in other ways, too.
>
> I don't particularly like the loop to convert values, but Philip will
> probably make his own patch anyway. This patch may suffice until then.


I have put a new snapshot in

ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/Testing/exim-snapshot.tar.gz

This contains my version of Michael's patch, plus the necessary changes
to handle large directories of maildir files, maildirsize, etc. I found
a better way of converting off_t values for printing, namely

printf("%.30g", (double)off_t_value);

This, I hope, will work in all environments.

What I have not done is the work to allow individual messages to be
larger than 2G. No doubt in a few years' time such monstrosities will be
upon us - but it's not a totally trivial change, and I'm wondering if it
would actually slow things down noticeably to do 64-bit arithmetic
instead of 32-bit arithmetic? Perhaps this should stay on the wish list
for a while.

The snapshot, of course, contains a number of other changes. My test
suite runs clean, but it would be nice if a few other people could run
some tests on this, as I poked in quite a few places.

Philip

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.