You have 2 different ways of installing courier-auth-postfix. The first one should work on any system or any distribution, and involves getting the source from www.postfix.org and compiling it. The second one consists in installing the .deb packages on any debian distribution. You should find at least one method that suits your needs. The debian packages used to be available on my own site, but they are now available upon request. If you need them, just mail me... I'll send you either precompiled binaries or a patch to build the debian packages.
Note, however, that since courier-auth-postfix is linked against some libraries provided with postfix, you must have installed the same version of postfix you used to compile courier-authpostfix with.
$ gzip -cd courier_authpostfix.tar.gz | tar -xv
$ gzip -cd postfix-x.x.x.tar.gz | tar -xv
$ cp -a courier_authpostfix/authpfix postfix-x.x.x/src
DIRS = src/util src/global src/dns src/master src/postfix src/smtpstone \
to look like
DIRS = src/util src/global src/authpfix src/dns src/master src/postfix src/smtpstone \
(Note the additional src/authpfix) That way, you tell postfix makefiles to build
authpfix right after src/util and src/global.
$ locate auth | grep ^/usr | grep courier
or using the ``libexecdir'' parameter printed by
$ courier-config
No special rights are needed (0755 should be good for both, with root:root as owner).
/usr/bin/env - PATH="$PATH" SHELL="$SHELL" POP3AUTH="$POP3AUTH" \
$TCPD -pid=$PIDFILE -stderrlogger=${sbindir}/courierlogger \
-maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \
$TCPDOPTS -address=$ADDRESS $PORT \
${prefix}/lib/courier/courier/courierpop3login $AUTHMODULELIST \
${prefix}/lib/courier/courier/courierpop3d Maildir
in something like:
/usr/bin/env - POP3_MAILDIR_CREATOR="$POP3_MAILDIR_CREATOR" PATH="...and so on
Note, however, that this file may be different from system to sytem.Look to courier-authpostfix(1) for more details.
# apt-get install courier-base courier-pop courier-imap
# dpkg -i postfix*
or using apt with:
# apt-get install postfix.*
# dpkg -i courier-authpostfix.deb
In order to do this, just download the latest postfix sources from www.debian.org and patch them with the diff provided on the same site.
Apply the patch on my site only at last, before compiling everything.
Follow the standard procedure to rebuild debian packages.