Install mail servers
From The Network People, Inc.
Contents |
Step 7: Install Web/POP3/IMAP servers
Install either of the following IMAP & POP3 servers (see note):
toaster_setup.pl -s courier toaster_setup.pl -s dovecot
and then a webmail client or three:
toaster_setup.pl -s squirrelmail toaster_setup.pl -s sqwebmail toaster_setup.pl -s roundcube
Courier -vs- Dovecot -vs- Binc
Courier has been the default IMAP server for many years. However, vpopmail support has always been a second class citizen to most of the courier developers. It has also been a persistent nuisance to keep working reliably due to frequent changes. However, it works well, scales well, and is still a supported feature of Mail Toaster.
BincIMAP = Binc is not Courier = a replacement for Courier. I evaluated it a long time ago and wasn't impressed. I don't remember why, but IIRC, my biggest complaints were performance related.
Then came Dovecot. I've watched the project for well over a year and have had Dovecot running on a personal mail server. Other than being a pain to get set up (because there wasn't any docs yet!) so long ago, it has been an extremely dependable POP3/IMAP server. It also builds much, much faster than Courier. Configuration is not yet intuitive but is no longer frightening. I highly recommend Dovecot.
Configure Courier-IMAP (optional)
Courier includes some generic settings in its SSL config files (*d.conf). If you edit those files, you can have your own values reflected in your SSL certificates that are used for the IMAP-SSL and POP3-SSL servers.
cd /usr/local/etc/courier-imap vi pop3d.cnf imapd.cnf quotawarnmsg cd /usr/local/share/courier-imap ./mkimapdcert; ./mkpop3dcert
Courier FreeBSD note
Newer version of courier-imap and sqwebmail require courier-authlib to be installed. toaster_setup.pl will do that for you. When it does, you will be prompted to select an authentication type. The only one you want to have selected is for vpopmail, AUTH_VCHKPW. In general, if one of these pops up and you don't know what to select, try with only the defaults and AUTH_VCHKPW.
If you don't see this popup, that means the ports maintainer (finally) gave me a way to pass along the right settings and suppress the dialog box. :-)
Sqwebmail FreeBSD note



