Sam,
The following is what I did:
got courier-imap-0.99.tar.gz
/configure --prefix=/usr/local/courier --with-authmysql --with-authpam
--with-authdaemon \
--with-waitfunc=wait3 --without-ipv6 --without-authldap --without-authcram
--without-authuserdb
edit imap/Makefile
make
make check
su root
make install
edit authmysqlrc
authlib/authtest -m authpam username password
authlib/authtest -m authmysql username password
All seemed to be successful, then I ran "imapd.rc start".
however,I could not log in as a client and could not find any mysql'log about
login
The error:
telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK Courier-IMAP ready. Copyright 1998-2000 Double Precision, Inc. See COPYING
for distribution information.
a001 LOGIN username password
a001 NO Login failed.
why?
cd /usr/local/courier
The authdaemon module could not be found.
make authdaemon , got the error:
gcc -g -O2 -Wall -I.. -I./.. -L /usr/local/lib -o authdaemon modauthdaemon.o
libauthmod.a libauth.a ../numlib/libnumlib.a -lsocket -lnsl
Undefined first referenced
symbol in file
auth_daemon modauthdaemon.o
ld: fatal: Symbol referencing errors. No output written to authdaemon
collect2: ld returned 1 exit status
make: *** [authdaemon] Error 1
what can I do ? Thanks for your help!
environment:solaris 7