I'm running an OBSD 3.5 box with vpopmail 5.4.0. When I run make I get the
following error...not getting far trying to resolve it. Thanks in advance
for any help you can steer my way.
./configure --prefix=/usr/local/courier-imap \
--disable-root-check \
--without-authpam \
--without-authldap \
--without-authpwd \
--without-authmysql \
--without-authpgsql \
--without-authshadow \
--without-authuserdb \
--without-authcustom \
--without-authcram \
--without-authdaemon \
--with-authvchkpw \
--with-ssl
gcc -I/home/vpopmail/include -DHAVE_OPEN_SMTP_RELAY -Wall -I.. -I./..
-o authvchkpw modauthvchkpw.o libauthmod.a libauth.a
../numlib/libnumlib.a ../md5/libmd5.a ../sha1/libsha1.a
-L/home/vpopmail/lib -lvpopmail -lm
libauth.a(authvchkpw.o): In function `auth_vchkpw':
authvchkpw.o(.text+0x257): undefined reference to `open_smtp_relay'
collect2: ld returned 1 exit status
*** Error code 1
Stop in /usr/local/src/courier-imap-3.0.7/authlib (line 940 of Makefile).
*** Error code 1
Stop in /usr/local/src/courier-imap-3.0.7/authlib (line 1228 of Makefile).
*** Error code 1
courier-imap-3.0.7/authlib/configure.in
dnl Check if vpopmail has open_smtp_relay() function
if test "$HAVE_VCHKPW" = 1; then
_SAVE_LIBS=$LIBS
LIBS="$VPOPMAILLIBS $CRYPTLIBS $LIBS"
AC_CHECK_FUNC(open_smtp_relay,
AC_DEFINE(HAVE_OPEN_SMTP_RELAY, 1,
[ Whether -lvpopmail has the open_smtp_relay() function ]) )
vpopmail 5.4.0
Current settings
---------------------------------------
vpopmail directory = /home/vpopmail
uid = 89
gid = 89
roaming users = ON --enable-roaming-users
tcpserver file = /home/vpopmail/etc/tcp.smtp
open_smtp file = /home/vpopmail/etc/open-smtp
rebuild tcpserver file = ON --enable-rebuild-tcpserver-file (default)
password learning = OFF --disable-learn-passwords (default)
md5 passwords = ON --enable-md5-passwords (default)
file locking = ON --enable-file-locking (default)
vdelivermail fsync = OFF --disable-file-sync (default)
make seekable = ON --enable-make-seekable (default)
clear passwd = OFF --disable-clear-passwd
user dir hashing = ON --enable-users-big-dir (default)
address extensions = ON --enable-qmail-ext
ip alias = ON --enable-ip-alias-domains
domain quotas = ON --enable-domainquotas
auth module = cdb --enable-auth-module=cdb (default)
auth inc = -Icdb
auth lib =
system passwords = OFF --disable-passwd (default)
pop syslog = show only failed attempts
--enable-logging=e (default)
auth logging = ON --enable-auth-logging (default)
echo $CFLAGS
-DHAVE_OPEN_SMTP_RELAY