Friday, November 30, 2007

Apple Mail, Courier IMAP redeemed

About a year ago, I wrote about Apple Mail's infuriating habit of falling "offline" when reading mail over IMAP. I've been running the Courier IMAP mailserver on FreeBSD for years, and there's been quite a bit written about Mail not co-operating too well with it. I suppose I went as far as blaming Mail in my previous post, and others have blamed Courier IMAP. On a whim last night, I did two things: upgraded Courier IMAP to 4.2.1,1 (not the latest version, but the latest FreeBSD Port), and increased the MAXPERIP configuration variable (which controls how many simultaneous connections can be made to the IMAP server from a single host) to 20, from the default of 4. Mail and Courier IMAP now Just Work. (Well, Mail hasn't gone "offline" in about 24 hours.) I can't be sure, but I suspect that increasing MAXPERIP alone would have been sufficient.


  1. Have you figured out how to get sent items back to the server? It can't figure out how to set this up. If I can't get this to work I guess I'll go back to Entourage.

  2. Nevermind, I found out on another thread that if you do not prefix IMAP path with INBOX which something that I always did in Windows with OE to get it to work.

    I had to rename my Sent Items folder to Sent. Sure enough when I checked in via Squirrelmail all my sent email was on the server!