>
> You need to upgrade to either vpopmail 4.9.9 or courier-imap 1.3.7 --
either
> one.  Or you can manually delete the call to vlogauth() in
> authlib/preauthvchkpw.c
>
> --
> Sam

Sam,

Great, I upgraded to 1.3.7 compile went ok. Unfortunately I cannot upgrade
to vpopmail 4.9.9 or 4.9.10 cause simply it never compiled on FreeBSD
4.2/4.3 w/ OpenLDAP module. I was only able to get 4.9.8-1 (from ports) to
compile. The funnier thing is, if you configure vpopmail --enable-ldap
and --enable-hardquota=xxx and then you make it will compile ok. However,
once you get to vadddomain domain.com it will prompt for postmaster password
and then it would coredump. Qmailadmin 0.39, 0.41 and 0.43 do not compile
with vpopmail+ldap module (even with -lldap and -llber in the Makefile). I
get a lot of vauth.o undefined references to vchkpw functions (not ldap*).

Here is what I had to do to get Courier IMAP + Vpopmail w/ OpenLDAP module
to work:

./configure --with-authvchkpw
cd authlib; vi Makefile

1. add "-lldap -llber" to "authvchkpw_LDADD"
2. add "-L/usr/local/lib" to "LDFLAGS"
3. add "-I/usr/local/include -lldap -llber" to "CFLAGS"

cd ..;make

It will compile ok. make install-strip fails at imapd.rc (make install
works)
make install-configure stops at the very beginning (I didn't get an error,
just a stupid stop***)

cp /usr/local/libexec/imapd.rc /usr/local/etc/rc.d/imapd.sh
mv /usr/local/etc/imapd.dist /usr/local/etc/imapd (and modified it)
mv /usr/local/etc/imapd-ssl.dist /usr/local/etc/imapd-ssl
/usr/local/etc/rc.d/imapd.sh start

Finally Courier IMAPD authenticating from vchkpw+openldap --without
hardquotas :(
I will run some stress tests on that configuration, email me if you are
interested to look at some results.
Thanks for all your help,

Tim


Reply via email to