Today I configured the Holy Mail Triumvirate on Scummbox. Postfix, Courier IMAP and Squirrelmail.
Postfix confused me early on by sending mail fine, but not receiving mail. It turns out that the main.cf file needed a bit of editing (like telling postfix to listen on all interfaces) I have working e-mail!
Next up, Courier IMAP. This is required for webmail and for checking mail via a mail client. Courier installed fine, but I was getting errors when I tried to connect to port 143. Turns out that you have to manually enable the scripts in /etc/rc.d/
So I enable the courier-imapd script and run it. Now when I telnet into port 143, I see the proper imap banner. You would think that everything is go now, right? Wrong! I had forgotten to enable the courier-authdaemond startup script (the authdaemon is what verifies that you are you.) So after starting the authdaemon (and editing postfix’s main.cf again to enable writing to /home/$user/Maildir,) I have working IMAP service!
Now last (but not least) it’s squirrelmail time! I (wisely) decide to blow away the archived squirrelmail install and re-extract it from the archive. A simple setup and a quick install of php5-session (to enable the php sessions that squirrelmail requires) and it’s up and running.
Thus far FreeBSD is a dream to configure. I think I’m dangerously close to being a BSD Zealot