On Wed, Jan 17, 2007 at 06:08:16PM +0200, Iulian Ionescu wrote: > I am running courier-imap on some very large systems.
http://www.catb.org/~esr/faqs/smart-questions.html#beprecise Exactly what version of courier-imap? On exactly what systems? > 1. The limit for a mailbox is 2 GB. Do you plan on increasing the > limit in a future version of courier-imap? (1) You won't have this problem on 64-bit systems (2) You shouldn't have this problem on 32-bit systems with a 64-bit off_t, if you are running courier-imap-4.1.2 You can check the size of your off_t with a small C program: #include <sys/types.h> #include <stdio.h> int main(void) { printf("off_t=%d bits\n", sizeof(off_t)*8); return 0; } Write this into a file e.g. offt.c and compile and run it using: gcc -Wall -o offt offt.c ./offt If your platform only has a 32-bit off_t, then it does not support files over 2GB. It makes it very difficult for courier-imap (or any other program in fact) to support quotas over 2GB in a portable way. And even if courier-imap did manage to make this work, it probably wouldn't work for other programs which deliver into your maildir (such as exim) > 2. For IMAP users having a large number of emails or for very busy > servers, it takes a long time to scan all files in a directory. So an > indexing of the information exchanged by the IMAP server and client > before requesting messages is very useful beyond a certain point. Do > you plan on having this feature in the future? courier-imap already indexes message headers. However it cannot control what commands IMAP clients send to it, and some IMAP clients are very stupid; for example if there are 10,000 messages in the folder they will send 10,000 separate commands to look at them. So, if you have a specific problem case that you wish to demonstrate, then capture the IMAP commands sent from the client to the server (e.g. using tcpdump tcp port 143, or set IMAPDEBUGFILE=log.txt in the imapd config file, which will record all commands received into log.txt within the maildir). And also post a summary of the contents of the maildir. Brian. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Courier-imap mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
