On Fri, 9 Dec 2005, Arkadiusz Miskiewicz wrote:

> exim 4.60:
> 
> # rm /var/mail/arekm/maildirsize; echo test | mail arekm
> # cat /var/mail/arekm/maildirsize  | head
> -2147483648S,0C
> 3716 6
> 472 1
> #         
> 
> Looks like overflow. Another thing is that it seems that quota is limited to 
> 2GB (which is preety low).

I have now got round to looking at this. On my Linux box, where Exim is 
compiled with -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE, the quota is 
NOT limited to 2G. I have just run a test with quota=3G, and I end up 
with a maildirsize that contains

3221225472S,0C
0 0
298 1

So, the question is, what system were you using and how was Exim 
compiled? What I think I'll do is insert a test of the size of off_t
into the code of Exim, and have it generate an error if you try to set a
quota > 2G on a 32-bit system.

Philip

-- 
Philip Hazel            University of Cambridge Computing Service,
[EMAIL PROTECTED]      Cambridge, England. Phone: +44 1223 334714.

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to