m�ndagen den 25 augusti 2003 12.13 skrev B�rd Tommy Nilsen: > Hello > > Trying to use courier-imap with vpopmail, but it fails > > > i use courier-imap-2.0.0 > > > > $ export CFLAGS="-DHAVE_OPEN_SMTP_RELAY" > $ ./configure --without-authdaemon --with-authvchkpw > $ make > > then it fails > > /usr/bin/ld: cannot find -lvpopmail > *** Error code 1 > > Stop in /usr/home/bardtomm/courier-imap-2.0.0/authlib. > *** Error code 1 > > Stop in /usr/home/bardtomm/courier-imap-2.0.0/authlib. > *** Error code 1 > > Stop in /usr/home/bardtomm/courier-imap-2.0.0. > > > What could i be doing wrong ?? > > > B�rd Tommy
Reading the docs? Well..., you could do it like I do, check attached files. -- Regards // Oden Eriksson, Deserve-IT.com
courier-imap
Description: application/shellscript
--- authlib/preauthvchkpw.c 2003-03-12 03:51:27.000000000 +0100
+++ authlib/preauthvchkpw.c.oden 2003-06-09 12:50:17.000000000 +0200
@@ -27,7 +27,7 @@
static const char rcsid[]="$Id: preauthvchkpw.c,v 1.18 2003/03/12 02:45:55 mrsam Exp $";
-#undef HAVE_OPEN_SMTP_RELAY
+/* #undef HAVE_OPEN_SMTP_RELAY */
/* Disabled, pending fix */
int auth_vchkpw_pre(const char *userid, const char *service,
@@ -63,9 +63,9 @@
make_user_dir(User, Domain, uid, gid);
vpw=vauth_getpw(User, Domain);
}
-#ifdef ENABLE_AUTH_LOGGING
+/* #ifdef ENABLE_AUTH_LOGGING */
vset_lastauth(User, Domain, service);
-#endif
+/* #endif */
}
free(usercopy);
@@ -84,19 +84,19 @@
if ( vpw->pw_gid & NO_POP ) {
return(-1);
} else {
-#ifdef HAVE_OPEN_SMTP_RELAY
+/* #ifdef HAVE_OPEN_SMTP_RELAY */
/* open the relay to pop users */
open_smtp_relay();
-#endif
+/* #endif */
}
} else if ( strcmp("imap", service) == 0 ) {
if ( vpw->pw_gid & NO_IMAP ) {
return(-1);
} else {
-#ifdef HAVE_OPEN_SMTP_RELAY
+/* #ifdef HAVE_OPEN_SMTP_RELAY */
/* open the relay to imap users */
open_smtp_relay();
-#endif
+/* #endif */
}
}
