Hi all!

Here's some background:

Gone through the mailing list exhaustively. Only one reference to my problem 
existed, with no reply, from Nov. '00, I believe. I've read all the relevant 
files (INSTALL, etc) and have checked several different places for any sort 
of clue. No such luck.

vpopmail 4.9.10 w/SMTP-relay-list-in-MySQL patch
(Please don't suggest I upgrade - we're settled into this version since 
there's no patch for relay-list-stored-in-mysql for anything newer than 
4.9.10)

We're using the type of authentication where vpopmail/vchkpw queries MySQL. 
I don't believe this is the same as sqwebmail's native MySQL plugin. Perhaps 
I've misunderstood the docs.

The documentation isn't obvious enough when it comes to my setup. :(

qmail 1.03 (obviously)

Vpopmail/Qmail/MySQL are working perfectly and authenticating users, etc. 
That's all set.

sqwebmail-2.1.1

My configure:

./configure --prefix=/path/to/webmail \
            --sysconfdir=/etc/sqwebmail \
            --enable-cgibindir=/path-to-apache/cgi-bin/ \
            --without-authpwd \
            --without-authshadow \
            --without-authpam \
            --without-authuserdb \
            --with-authvchkpw \
            --without-authldap \
            --without-authdaemon \
            --enable-unicode \
            --with-ispell=/usr/bin/ispell \
            --enable-autopurge=1 \
            --enable-maxpurge=10 \
            --enable-mimetypes=/path-to-apache/conf/mime.types \
            --with-maxformargsize=5000000 \
            --with-cachedir=/var/cache/sqwebmail \
            --with-cacheowner=vpopmail \
            --enable-imagedir=/path-to-apache/webmail \
            --enable-webpass=vpopmail

I'd like for users *not* to be able to change their passwords from within 
sqwebmail - should I omit "--enable-webpass" altogether? Or is it required 
in some form for my setup to work?

/var/cache/sqwebmail exists and is owned by vpopmail. The /etc/sqwebmail 
directory contains an authmodulelist file with "authcustom authvchkpw" in 
it. This was generated by the compile.

I finally got the thing to compile using:

export LIBS=-L/opt/mysql/lib/mysql -lmysqlclient -lz \
./configure ...whatever
(thanks mailing list archives!)

I can get to the page and everything appears correctly. When I attempt to 
login, I get the error:

"Your request cannot be authenticated. Either your session has
timed out, or your IP address has changed. If you are dialing in via a 
modem, this can happen if you get disconnected. After reconnecting, you must 
log in again"

My vpopmail/qmail/vchkpw logs don't show any sort of authentication attempt. 
Should something appear there?

Is there a way to get more debugging information I can extract from 
sqwebmail? Perhaps a way to log what it's attempting to do? I'm stuck at 
this point. The apache error logs don't show anything either. The username 
and password are correct and confirmed in another application. We're using 
[EMAIL PROTECTED] -style usernames.

Does anyone have any suggestions? Please let me know if you need any output 
to assist, or can clear up any confusion. Any help would be great (as long 
as you don't suggest I upgrade vpopmail to some dev build. hehe. It looks 
almost like a running joke in every single vpopmail-related list. :)

Thanks again for any help you can offer.

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

Reply via email to