Simon Bennick (Intelligo) writes:
Hi,
It seems that sqwebmail version 4.0.7.20041103 is missing
courierauth.h and therefore can't 'make'.
Maybe this is due to the 'new' courier-authlib module, which I have
compiled and installed. Ideas any one?
courierauth.h is installed by courier-authlib.
Unless specified otherwise, it will be installed in
/usr/local/include.
If your C compiler does not search /usr/local/include by
default, then you
should've either specified a different header installation
directory when
you've built authlib, or specified CCFLAGS=-I/usr/local/include to
sqwebmail's configure script.
Okay, but I really haven't done any changes, my /usr/local/include is empty.
I found the .h files in the /usr/local/lib/courier-authlib/include
directory.
I then copied them to /usr/local/include, and then it worked.
My config is a new SuSE 9.1 box starting from scratch with qmail, vpopmail,
ez..., qmailadmin.
Started on sqwebmail when I found out that I needed the courier-auth module
and started the installation this way:
1. install libtools
2. add courier groupid & userid
3. ./configure --prefix=/usr/local/lib/courier-authlib
4. make
5. umask 022
6. make install
7. make install-configure
8. did the rm stuff
I didn't do the make install-migrate because this was a new system. (maybe
an error)
So the .h files ended up in /usr/local/lib/courier-authlib/include.
The authdaemond in /usr/local/lib/courier-authlib/sbin and not
/usr/local/sbin
Anyway(where) they are up and running.
The only thing still missing is howto envoke authvchkpw? Because I can't
login.
As you can see (from log) adding authvchkpw isn't enought:
Nov 6 03:54:29 is03 authdaemond: modules="authpwd authcustom authvchkpw",
daemons=5
Nov 6 03:54:29 is03 authdaemond: Installing libauthpwd
Nov 6 03:54:29 is03 authdaemond: Installation complete: authpwd
Nov 6 03:54:29 is03 authdaemond: Installing libauthcustom
Nov 6 03:54:29 is03 authdaemond: Installation complete: authcustom
Nov 6 03:54:29 is03 authdaemond: Installing libauthvchkpw
Nov 6 03:54:29 is03 authdaemond: libauthvchkpw.so: cannot open shared
object file: No such file or directory
How do I get vchkpw to work with courier-authlib (vpopmail integration) ?
Regards
Simon