There appears to be a problem with ./configure in courier-0.29.1 (i.e. the
whole package, rather than just courier-imap which was what I was using
before)
I am trying to configure it to authenticate only using authdaemon, and
for authdaemon to perform only ldap authentication, using this command:
------------------------------------------------------------------------
./configure \
--prefix=${PREFIX}/courier \
--sysconfdir=${CONFDIR}/courier \
--with-piddir=${VARDIR}/courier/run \
--with-authdaemonvar=${VARDIR}/courier/authdaemon \
--localstatedir=${VARDIR}/courier \
--without-ipv6 \
--with-authdaemon \
--with-authldap \
--without-authpam \
--without-authpwd \
--without-authmysql \
--without-authshadow \
--without-authuserdb \
--without-authcustom \
--without-authvchkpw \
--without-authcram \
--with-mailuser=exim \
--with-mailgroup=exim \
--with-cachedir=${VARDIR}/courier/cache \
--with-cacheowner=exim \
--enable-webpass=no \
--with-htmllibdir=${CONFDIR}/courier/html \
--enable-mimetypes=${CONFDIR}/courier/mime.types \
--enable-imageurl=/images/
------------------------------------------------------------------------
It aborts while trying to configure in the 'courier' directory. The error
is:
configure: error: You must use authdaemon with authldap
configure: error: ./configure failed for courier
*** Error code 1
Now, this in turn is because authlib/modulelist contains only "authldap",
and there is some code in courier/configure which explicitly bombs out in
this case. If I remove this test, it compiles fine - although I now have to
see if it actually works :-)
Regards,
Brian.