There’s a couple of guides out there on how to set up Exim, MySQL, Courier and Spamassassin in a virtual user environment but I thought I’d put together a high level basic guide myself.
My installation is running on debian etch 4.0 stable (2.6.18-6-686)
As this is a vdomain/vuser setup, you will not require a system shell/login for the users you add.
To start off, just install the packages you’ll need with apt-get:
Now if you already have exim4-* installed which is the default, you have two choices. We want to install our own exim version from source but without breaking the repository. The choices are to either just rename exim4 to exim4.old and then create your new exim install, or alternatively create a dummy empty exim4 package remove exim4-* and install your dummy package. This will resolve the dependancies issue in the package manager. Neither method is particularly clean – I have installed a dummy package personally and removed the real exim4 set of packages.
(more…)
Tags: courier, courier-authlib-mysql, courier-imap, courier-pop, courier-pop3, exim, exim4, make, make install, MySQL, source, spamassassin, spamc, spamd, tar, vdomain, vuser