> But, from what you say, is there an alternative to imapd that will not > read the entire mailbox to find the last 15?
You are probably using the "mbox" format to store your mail. This puts all the messages for a folder into one file. So, to get the last 15 messages, it has to read in the entire file to get them. An alternative is "Maildir", which uses a directory to hold a folder, one file per message. You can also use an IMAP server that uses an entirely different backend, such as Cyrus (which uses a system similar to, but entirely incompatible with Maildir) or dbmail (which puts all the messages into a SQL database. Freaky, but it works. I don't know how well it scales though.) If you decide to switch to Maildir format, you've got some work ahead of you. 1) Disable the receipt of incoming mail (kill fetchmail, and/or your SMTP server) 2) Create the Maildir structure for each user 3) Migrate existing mbox folders to the new Maildir structure. (Keep backups of the old mboxes just in case) 4) Configure your IMAP server to access the Maildir instead. Depending upon which server you use, you may need to recompile. Worst case, you have to choose a different server. 5) Configure your delivery agent (postfix, procmail, fetchmail, whatever) to deliver incoming mail to the Maildir. 6) Cross your fingers. Pray to $deity. Restart incoming mail service. You may want to insert some testing of the IMAP server before you turn things back on. Good luck. There are documents on the web about migrating systems from mbox to Maildir, so you shouldn't have too much trouble finding a more detailed guide than this. -- Chris Hilts [EMAIL PROTECTED] ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. -- squirrelmail-users mailing list List Address: [EMAIL PROTECTED] List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id)95 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users