lördagen den 30 augusti 2003 00.07 skrev Jason Silverglate: > I just installed Sqwebmail and I am running the latest version of > vpopmail but sqwebmail won't let me login. Can anyone provide a good > configure string that would work?
- cut - #!/bin/sh export CC="gcc" export CFLAGS="-O3 -march=pentium -DHAVE_OPEN_SMTP_RELAY -DHAVE_VLOGAUTH" export CXXFLAGS="-O3 -march=pentium -DHAVE_OPEN_SMTP_RELAY -DHAVE_VLOGAUTH" export LDFLAGS="-L/home/vpopmail/lib" export CPPFLAGS="-I/home/vpopmail/include" export PREFIX="/usr/local/sqwebmail" export PERL="/usr/bin/perl" export ispell="/usr/bin/ispell" export mailer="/var/qmail/bin/usendmail -oi -t" export sendmail="/var/qmail/bin/usendmail" ./configure \ --prefix=$PREFIX \ --with-cachedir=/var/cache/sqwebmail \ --with-db=gdbm \ --enable-webpass=vpopmail \ --enable-cgibindir=/var/www/cgi-bin \ --enable-imagedir=/var/www/html/images/sqwebmail \ --enable-imageurl=/images/sqwebmail \ --enable-webpass=yes \ --enable-unicode \ --enable-mimetypes=$PREFIX/mime.types \ --with-authvchkpw \ --without-authuserdb \ --without-authpam --with-authpam-libraries="" \ --without-authpwd \ --without-authshadow \ --without-authldap --with-authldaprc="" --with-ldap-libs="" --with-ldap-includes="" \ --without-authpgsql --with-authpgsqlrc="" --with-pgsql-libs="" --with-pgsql-includes="" \ --without-authmysql --with-authmysqlrc="" --with-mysql-libs="" --with-mysql-includes="" \ --without-authcram \ --without-authcustom \ --without-authdaemon --with-authdaemonrc="" --with-authdaemonvar="" \ --without-fcgi --disable-fcgi \ --without-gzip --disable-gzip \ --without-makedatprog --disable-makedatprog \ --with-dirsync \ --with-ipv6 \ --with-trashquota \ --with-cacheowner=vpopmail \ --enable-bannerprog=/var/www/cgi-bin/ads.cgi \ --enable-hardtimeout=7200 \ --enable-softtimeout=3600 \ --enable-autopurge=5 \ --enable-maxpurge=90 make -j2 && make install chown -R vpopmail.vchkpw /var/cache/sqwebmail - cut - plus the attached patch? Cheers.
--- 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 */ } }