Hi, Robin, On Sat, 2 Aug 2003, Robin Bowes wrote: >I'm in the process of migrating to binc from courier. I run my own redhat >8.0 box at home to handle mail for my domain (qmail/vpopmail) and use >outlook 2000 on my local PC and squirrelmail on the same server to access my >mail remotely. >I've run into one "problem" and have a suggestion for how to fix it. >When each folder is first accessed by binc, two new files are created in the >folder Maildir: bincimap-uidvalidity and bincimap-cache. This is fine, but >it takes a long time when a folder containing thousands of messages is >accessed. To compound this, when squirrelmail starts it checks all >subscribed folders for new messages. These two new files must be created for >every folder that has not been accessed before and, frankly, it takes too >long!
The cache files are always created when a mailbox is selected in 1.1.8. The unreleased 1.1.9 only creates this cache file if there is none already, or if the mailbox state changed during the session. Now, if SquirrelMail does a SELECT on all folders the first time one logs in, then that is a serious design error with Squirrel. It can get all info it needs from STATUS, which is a cheap operation, rather than SELECT which is expensive. I would like to see the communication between SquirrelMail and Binc IMAP. That would make it easier to debug this situation. I will make such a trace on my own system, but it seems fast so I'm not sure I will find anything useful. If you can, please provide a trace (using recordio or similar). :-) >My suggestion is to create an administrative utility that can be run in >batch mode from the command line that will create these files. Does that >sound like a reasonable suggestion? I hope we can avoid this. :-) Andy -- Andreas Aardal Hanssen | http://www.andreas.hanssen.name/gpg Author of Binc IMAP | "It is better not to do something | than to do it poorly."

