Re: [vchkpw] RE: problem with compiling courier-imap with vchkpw

2004-08-27 Thread Michael Bowe
Perhaps compare the steps you have followed against my guide here
http://www.pipeline.com.au/staff/mbowe/isp/webmail-server.htm#COURIER_IMAP

Michael.

- Original Message - 
From: Michiels Tom [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, August 27, 2004 7:20 PM
Subject: [vchkpw] RE: problem with compiling courier-imap with vchkpw


Is there anyone who actually compiled courier-imap using vpopmail
authentication ?

Thx

Tom

-Original Message-
From: Michiels Tom 
Sent: donderdag, augustus 26, 2004 17:13
To: [EMAIL PROTECTED]
Subject: problem with compiling courier-imap with vchkpw


Hello,

When i try to compile courier-imap, it stops at the error below. I use
the following configure parameters : ./configure --prefix=/usr/local
--exec-prefix=/usr/local --with-authvchkpw --without-authldap
--disable-root-check --with-ssl
--with-authchangepwdir=/usr/local/libexec/authlib

this is on a Debian testing machine.

Compiling modauthcustom.c
gcc  -I/vpopmail/include -DHAVE_OPEN_SMTP_RELAY -DHAVE_VLOGAUTH -Wall
-I.. -I./..   -o authcustom  modauthcustom.o libauthmod.a libauth.a
../numlib/libnumlib.a ../libhmac/libhmac.a ../md5/libmd5.a
../sha1/libsha1.a -lcrypt
Compiling modauthcram.c
gcc  -I/vpopmail/include -DHAVE_OPEN_SMTP_RELAY -DHAVE_VLOGAUTH -Wall
-I.. -I./..   -o authcram  modauthcram.o libauthmod.a libauth.a
../numlib/libnumlib.a ../libhmac/libhmac.a ../userdb/libuserdb.a
../gdbmobj/libgdbmobj.a ../md5/libmd5.a ../sha1/libsha1.a -lgdbm
Compiling modauthuserdb.c
gcc  -I/vpopmail/include -DHAVE_OPEN_SMTP_RELAY -DHAVE_VLOGAUTH -Wall
-I.. -I./..   -o authuserdb  modauthuserdb.o libauthmod.a libauth.a
../numlib/libnumlib.a ../userdb/libuserdb.a ../gdbmobj/libgdbmobj.a
../libhmac/libhmac.a -lgdbm  ../md5/libmd5.a ../sha1/libsha1.a -lcrypt
Compiling modauthvchkpw.c
gcc  -I/vpopmail/include -DHAVE_OPEN_SMTP_RELAY -DHAVE_VLOGAUTH -Wall
-I.. -I./..   -o authvchkpw  modauthvchkpw.o libauthmod.a libauth.a
../numlib/libnumlib.a ../md5/libmd5.a ../sha1/libsha1.a -L/vpopmail/lib
-lvpopmail -L/usr/lib/  -lmysqlclient -lz -lm -lcrypt  -lm -lcrypt
libauth.a(authvchkpw.o)(.text+0x248): In function `auth_vchkpw':
: undefined reference to `open_smtp_relay'
collect2: ld returned 1 exit status
make[2]: *** [authvchkpw] Error 1
make[2]: Leaving directory
`/downloads/qmailrocks/courier-imap-3.0.7/authlib'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/downloads/qmailrocks/courier-imap-3.0.7/authlib'
make: *** [all-recursive] Error 1


Can someone help me ?

thx in advance !

regards,

Tom Michiels




RE: [vchkpw] RE: problem with compiling courier-imap with vchkpw

2004-08-27 Thread Michiels Tom
Title: RE: [vchkpw] RE: problem with compiling courier-imap with vchkpw







thx Michael,

your steps worked to compile, but now i have the following issue, when i start courier-imap, and try to connect using a vpopmail user (which works fine using the vpopmail pop3 access) i get a timeout and then a 'login failed' mesage:

Aug 27 14:21:19 piggie authdaemond.plain: restarting authdaemond children
Aug 27 14:21:19 piggie authdaemond.plain: modules=authvchkpw, daemons=5
Aug 27 14:21:20 piggie authdaemond.plain: modules=authvchkpw, daemons=5
Aug 27 14:21:38 piggie imapd: Connection, ip=[:::127.0.0.1]
Aug 27 14:21:38 piggie imapd: LOGIN: DEBUG: ip=[:::127.0.0.1], command=LOGIN
Aug 27 14:21:38 piggie imapd: LOGIN: DEBUG: ip=[:::127.0.0.1], [EMAIL PROTECTED]
Aug 27 14:21:43 piggie imapd: LOGIN FAILED, ip=[:::127.0.0.1]
Aug 27 14:21:43 piggie imapd: Disconnected, ip=[:::127.0.0.

any ideas ?

thx

Tom

-Original Message-
From: Michael Bowe [mailto:[EMAIL PROTECTED]]
Sent: vr 27/08/2004 11:43
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] RE: problem with compiling courier-imap with vchkpw

Perhaps compare the steps you have followed against my guide here
http://www.pipeline.com.au/staff/mbowe/isp/webmail-server.htm#COURIER_IMAP

Michael.

- Original Message -
From: Michiels Tom [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, August 27, 2004 7:20 PM
Subject: [vchkpw] RE: problem with compiling courier-imap with vchkpw


Is there anyone who actually compiled courier-imap using vpopmail
authentication ?

Thx

Tom

-Original Message-
From: Michiels Tom
Sent: donderdag, augustus 26, 2004 17:13
To: [EMAIL PROTECTED]
Subject: problem with compiling courier-imap with vchkpw


Hello,

When i try to compile courier-imap, it stops at the error below. I use
the following configure parameters : ./configure --prefix=/usr/local
--exec-prefix=/usr/local --with-authvchkpw --without-authldap
--disable-root-check --with-ssl
--with-authchangepwdir=/usr/local/libexec/authlib

this is on a Debian testing machine.

Compiling modauthcustom.c
gcc -I/vpopmail/include -DHAVE_OPEN_SMTP_RELAY -DHAVE_VLOGAUTH -Wall
-I.. -I./.. -o authcustom modauthcustom.o libauthmod.a libauth.a
../numlib/libnumlib.a ../libhmac/libhmac.a ../md5/libmd5.a
../sha1/libsha1.a -lcrypt
Compiling modauthcram.c
gcc -I/vpopmail/include -DHAVE_OPEN_SMTP_RELAY -DHAVE_VLOGAUTH -Wall
-I.. -I./.. -o authcram modauthcram.o libauthmod.a libauth.a
../numlib/libnumlib.a ../libhmac/libhmac.a ../userdb/libuserdb.a
../gdbmobj/libgdbmobj.a ../md5/libmd5.a ../sha1/libsha1.a -lgdbm
Compiling modauthuserdb.c
gcc -I/vpopmail/include -DHAVE_OPEN_SMTP_RELAY -DHAVE_VLOGAUTH -Wall
-I.. -I./.. -o authuserdb modauthuserdb.o libauthmod.a libauth.a
../numlib/libnumlib.a ../userdb/libuserdb.a ../gdbmobj/libgdbmobj.a
../libhmac/libhmac.a -lgdbm ../md5/libmd5.a ../sha1/libsha1.a -lcrypt
Compiling modauthvchkpw.c
gcc -I/vpopmail/include -DHAVE_OPEN_SMTP_RELAY -DHAVE_VLOGAUTH -Wall
-I.. -I./.. -o authvchkpw modauthvchkpw.o libauthmod.a libauth.a
../numlib/libnumlib.a ../md5/libmd5.a ../sha1/libsha1.a -L/vpopmail/lib
-lvpopmail -L/usr/lib/ -lmysqlclient -lz -lm -lcrypt -lm -lcrypt
libauth.a(authvchkpw.o)(.text+0x248): In function `auth_vchkpw':
: undefined reference to `open_smtp_relay'
collect2: ld returned 1 exit status
make[2]: *** [authvchkpw] Error 1
make[2]: Leaving directory
`/downloads/qmailrocks/courier-imap-3.0.7/authlib'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/downloads/qmailrocks/courier-imap-3.0.7/authlib'
make: *** [all-recursive] Error 1


Can someone help me ?

thx in advance !

regards,

Tom Michiels