Hello,

I'm already a week suffering a problem to try and get vpopmail (5.3.9-devel), courier-imap (1.61) and mysql (3.23.51a) to work, but without succes so far.

Find below my vpopmail config parameters:

first edited vmysql.h and filled out a user/pw who has necessary permissions. And then:

./configure --enable-mysql-logging=y --enable-learn-passwords=y --enable-mysql=y --enable-defaultquota=20000000S

make
make install-strip

set /home/vpopmail/lib/libvpopmail.a to 644

placed following two files into /home/vpopmail/etc: (as they didn't exist):

echo "-I/home/vpopmail/include” > ~vpopmail/etc/inc_deps
echo "-L/home/vpopmail/lib -L/home/vpopmail/lib/libvpopmail.a -L/usr/lib/mysql -lmysqlclient -lz" > ~vpopmail/etc/lib_deps
chown vpopmail.vchkpw ~vpopmail/etc/*

After that I'm able to authenticate via qmail-pop3d on port 110.

after that:

./configure --without-ipv6 --enable-workarounds-for-imap-client-bugs --without-authcustom --without-authcram --without-authuserdb --without-authpam --without-authshadow --without-authpwd --without-authldap --with-authmysql --with-authvchkpw

make

make[2]: Entering directory `/tmp/courier-imap-1.6.1/authlib'
gcc -I/home/vpopmail/include -g -O2 -Wall -I.. -I./.. -L/usr/lib/mysql -lmysqlclient -lz -o authvchkpw modauthvchkpw.o libauthmod.a libauth.a ../numlib/libnumlib.a ../md5/libmd5.a ../sha1/libsha1.a -L/home/vpopmail/lib/libvpopmail.a -L/usr/lib/mysql -lmysqlclient -lz -lm -lcrypt
libauth.a(authvchkpw.o): In function `auth_vchkpw_changepass':
/tmp/courier-imap-1.6.1/authlib/authvchkpw.c:141: undefined reference to `vget_assign'
/tmp/courier-imap-1.6.1/authlib/authvchkpw.c:142: undefined reference to `vauth_getpw'
/tmp/courier-imap-1.6.1/authlib/authvchkpw.c:159: undefined reference to `vpasswd'
libauth.a(preauthvchkpw.o): In function `auth_vchkpw_pre':
/tmp/courier-imap-1.6.1/authlib/preauthvchkpw.c:54: undefined reference to `parse_email'
/tmp/courier-imap-1.6.1/authlib/preauthvchkpw.c:55: undefined reference to `vget_assign'
/tmp/courier-imap-1.6.1/authlib/preauthvchkpw.c:56: undefined reference to `vauth_getpw'
/tmp/courier-imap-1.6.1/authlib/preauthvchkpw.c:59: undefined reference to `make_user_dir'
/tmp/courier-imap-1.6.1/authlib/preauthvchkpw.c:60: undefined reference to `vauth_getpw'
/tmp/courier-imap-1.6.1/authlib/preauthvchkpw.c:63: undefined reference to `vset_lastauth'
/tmp/courier-imap-1.6.1/authlib/preauthvchkpw.c:68: undefined reference to `vclose'
collect2: ld returned 1 exit status
make[2]: *** [authvchkpw] Error 1
make[2]: Leaving directory `/tmp/courier-imap-1.6.1/authlib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/courier-imap-1.6.1/authlib'
make: *** [all-recursive] Error 1


When I compile courier-imap with the same config options but without-authvchkpw then everything compiles fine but I'm not able to authenticate then (after I set authmysqlrc, supposing I did this allright).


I hope someone can help me out or can give some tips.

Regards,
Kevin



_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to