That was done already. What we are looking for is some way to speed up the sorting and listing of the mailbox.
These mail boxes contain nothing but spam tagged email and we need to be able to open the box for a day and search it for email from someone or to someone. Part of the slowdown is that when the box is first opened (20K messages in Maildir/new) the imap server then moves them to Maildir/cur and rebuilds the "courierimapuiddb" file for that box. These boxes have no subfolders and are flush of all messages after 5 days. Ideally I would like to cron a command that will touch each box on a schedule and force the mail move as well as rebuild the "courierimapuiddb" file. Short of having the IMAP server use a SQL db for storage of the message headers with a link to the message file on the file system if you need to view the message I don't know of any additional optimization options. Thanks Ron On Mon, 2006-12-18 at 16:30 -0500, Jay Lee wrote: > Ron Culler wrote: > > We have a courier-imap-4.1.0 server with the a vpopmail - mysql > > back-end and squirrelmail as a webmail client. > > > > Running on Centos 4.4 (P4 3.2Ghz 4G Ram) The vpopmail home is on its > > own hardware mirror drives with the OS on a separate drive. > > > > The problem that we are seeing is that this server only has a few > > mailboxes on it but they may have as much as 50k files in them. The > > end user is using the squirrelmail front end to access the boxes via > > IMAP. When someone opens a box it can take 2-3 min for it to > > display or even time-out with an IMAP error back to SM. Is there > > any thing that can be done to improve the performance both from a > > box load and a search angle? > Do you have: > > $allow_thread_sort = true; > $allow_server_sort = true; > > set in squirrelmail/config/config.php? This will make a huge > difference in performance since it will use Courier to sort through > the messages instead of php. > > Jay -- Ron Culler ------------------------------------------------------------------------- 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
