Courier-IMAP hated new FreeBSD 6.1 server, so Dovecot now
Lovely fast new Intel D840 box with SATA drives, Gigabyte i955 Royal motherboard and fresh install of FreeBSD 6.1. I know, there's quicker hardware out ther, but compared to the old 3.06GHz P4 with PATA disks the new system replaces, I'm happy. It's quieter too, thanks to bigger, slow-spinning fans.
Annoyingly though, Courier-IMAP from the ports collection hated the new system. As soon as I fired up Thunderbird and tried to connect to the server, Courier-IMAP's processes died and dumped core - rapidly. I could've sat down and figured out why, but have long felt that Courier-IMAP isn't as good fit for FreeBSD as it was. It insists on FAM (File Alteration Monitor) which chews up CPU for no good reason for instance.
So out went Courier-IMAP, Courier-Authdaemond and in, Dovecot. Unfortunately, the ports version is only 1.0-RC7, whereas Tim has RC10 out already, but apart from a single instance of a corrupted index, nothing bad has happened yet.
Dovecot seems faster than Courier-IMAP, but I can't judge fairly here as the latter never worked properly on the new system. It was very easy to set up and make work with Exim.
One thing I'm not sure how to do yet is to set up Dovecot to work with both system and virtual accounts. Should be possible, but the defailt_mail_env setting is a bit confusing.