Hey all. I guess I'm not understanding how sqwebmail authenticates.

Here's what I'm running:

qmail with vpopmail for my pop user authentication with mysql support.

pop3 is working perfectly. usernames/passwords are being stored in mysql in 
a clear text fashion.

After installing sqwebmail with the following options:
./configure --with-module authvchkpw  \
--enable-imageurl=/images \
--enable-cgibindir=/www/mail.xxxx.net/cgi-bin \
--enable-imagedir=/www/mail.xxxx.net/html/images \
--enable-mysql=y

And I forced the authdaemon to startup using "plain" mode (the 
/usr/local/share/sqwebmail/libexec/authlib/ did not have an sql module).

When i first fired this up, this looked ok. My existing accounts did get 
the .sqwebmail files generated in the respective maidirs and I could log in 
from sqwebmail just fine.

The problem came when I created a new account with qmailadmin.

The account created successfully. (read: proper entries were made in mySQL 
database and directories created.)
However, the .sqwebmail files are not there and I fail authentication when 
trying to log in from sqwebmail.

I know I am missing a step here. How do I keep my .sqwebmail files and 
mysql files in sync or better yet, how can I get the sqwebmail to read and 
authenticate against my existing username/pass table in mysql?

Thanks!!
-A



Reply via email to