The following applies for the entire the Courier mail server source code distribution, and sub-modules (the Courier IMAP server, sqwebmail, maildrop).
In order to build from the CVS repository, you must the following additional software installed:
autoconf
.automake
.libtool
gettext
gmake
,
of course.configure.in
These additional dependencies are only required if building from CVS, and not the packaged tarballs.
The source code can be checked out with the following commands:
CVSROOT=:pserver:anonymous@courier.cvs.sourceforge.net:/cvsroot/courier export CVSROOT cvs login
Press ENTER when asked for a password (blank password).
cvs -z3 checkout -r courier-latest courier
- get the entire the Courier mail server mail server source code, or:
cvs -z3 checkout -r courier-imap-latest courier-imap
- get just the standalone IMAP server source code, or:
cvs -z3 checkout -r sqwebmail-latest sqwebmail
- get just the standalone webmail server source code, or:
cvs -z3 checkout -r maildrop-latest maildrop
- get just the standalone version of the Courier mail server's mail filter's source code.
cvs -z3 checkout -r courier-authlib-latest courier-authlib
- get the the Courier mail server authentication library module.
NOTE: Automatically-generated configure
and
Makefile
, libtool
, and
sysconftool
scripts are NOT stored in the
repository, and you must build them yourself. Fortunately, it's
very easy to do this. Simply run the following command after
checking out any one of these modules:
sh autobloat
The autobloat
script automatically runs
automake
, autoconf
,
libtool
, sysconftool
, from the current
directory.
NOTE: The "courier" module is the entire mail server. The
other modules extract selected portions, with a different
top-level makefile that builds a standalone package. You only
need to obtain the courier
module, to get the source
code for the Courier mail server. See Introduction for more information.
NOTE: the HEAD
s of each module contain the latest
development versions, which may not be very stable. Use the tags
specified above to obtain the latest "semi" stable release.
Usually the "latest" tags will match the source code in the most
recent tarball, but they may include some additional patches for
the next release.