bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-mailutils] Large file support in Mailutils


From: Kostas Zorbadelos
Subject: [bug-mailutils] Large file support in Mailutils
Date: Wed, 21 Dec 2005 13:16:05 +0200
User-agent: Mutt/1.5.9i

Greetings to all.
First of all I'd like to announce that our custom mail.local based on
GNU Mailutils is operational on our production mail servers. Our mail
servers have about 200K users and we deliver ~1-1.5 million messages
to mailboxes daily. We observed no issues, however we have not 'turned
on' the sieve features yet (though our stress tests showed no
problems). A big thanks to all you for the great 
software and the support offered.

Now to the point of my post. We have mbox mailboxes and we need to
support large files (> 2GB on 32bit architectures). The document [1]
describes very well all the issues involved on linux
systems. Therefore, I compiled both my mda and GNU Mailutils (snapshot
20051102) with -D_FILE_OFFSET_BITS=64. However this by itself was not
enough. I investigated the issue and the problem was the use of fseek(3)
instead of feeko(3), so I substituted all occurences of fseek() with
feeko() in Mailutils sources (found in
./mailbox/file_stream.c,./lib/getpass.c,
./mimeview/mimetypes-gram.c,./mimeview/mimetypes.y). This was enough
to fix the issues observed and have large file support.
So I ask for these changes to be included upstream. Of course I am not
sure if this is enough to cover all possible issues involved.

Regards,
Kostas   
 
[1] Large File Support in Linux http://www.suse.de/~aj/linux_lfs.html

-- 
  Kostas Zorbadelos
  address@hidden contact: kzorba (at) otenet.gr
  
  Out there in the darkness, out there in the night
  out there in the starlight, one soul burns brighter
  than a thousand suns.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]