Setting up a mailserver
From FreeBSDwiki
Install Qmail Install Apache Install VQadmin Install Qmailadmin Install Dovecot Install sqwebmail
Configure all of them
Voila, Qmail-based mailserver that supports POP3, IMAP, blindingly fast webmail interface, web-based controls for setup of multiple mail domains, and control of user accounts / catch-alls / mail forwards / auto-responders / you-name it fine-grained enough to be handed down to the user level, both the "individual user" level and the "single domain admin on a multi-domain mailserver" level.
Obviously, this article needs some a lot of polishing, but there's a start.