Archive for November, 2006

Geek beer

Tuesday, November 14th, 2006

I am in the 4 courts grabbing a beer and I didn’t see a paper lying around so I grabbed my palm. I switched too reader.google.com for my rss feeds. I love the full web version but I just noticed that the mobile version www.google.com/reader/m/view/ is almost as cool. You are presented with a headline list. Once you click on link it brings back the summary for that story. Then you just press 1 to read and 0 to skip to next sumarry. This is a great tool and beats the pants off livejournals rss reader
Photo_111406_001.jpg

Making squirrelmail and cyrus imap run fast

Thursday, November 2nd, 2006

I have noticing that one of my webmail servers has been running slower than the other. At first I put it down to being a single disk compared to a raid array, then I thought it might be that the hard disk controller had issues under linux (it took for ever to build a mirror disk). I just swapped the drives to dedicated controller card and it seemeda little faster. Then I came across this today http://www.squirrelmail.org/wiki/SquirrelMailPerformance


You should be able to check whether your IMAP server supports SORT and Threading by talking to it:

> telnet imapserver.example.com imap
* OK
2 capability
* CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=PLAIN STARTTLS
2 OK CAPABILITY completed

Notice the SORT and THREAD capabilities. So this server (courier-imap in this case) supports these.

Now tell SquirrelMail to use them, in the “configure” program:

4. General Options
11. Allow server thread sort: false (default) -> true
12. Allow server-side sorting: false (default) -> true

I enabled the two options and now it is really fast.