Hi,
I'm doing Debian Etch + Postfix + DSPAM + WebUI + MySQL auth.
My problem is I can’t pass thru the authorization window.
Root user can’t pass it either. Logs show:
/var/log/apache2/error.log
.
[Wed Apr 16 09:52:33 2008] [error] [client 192.168.1.222] MySQL user
user@adomain.com not found: /dspam/
I added the /etc/dspam/admins
user@domain.com
Add the md5 method to functions.inc.php :
Code:
function pacrypt ($pw, $pw_db="")
{
global $CONF;
$password = "";
$salt = "";
if ($CONF['encrypt'] == 'md5')
{
$password = md5($pw);
}
Under config.inc.php change the method used :
Code:
$CONF['encrypt'] = 'md5';
My Apache configuration:
/etc/apache2/sites-available/default :
Code:
AuthName "DSPAM Authentication"
AuthType Basic
Require valid-user
AuthUserFile /dev/null
AuthBasicAuthoritative Off
AuthMySQLAuthoritative on
AuthMySQLHost 127.0.0.1
AuthMySQLUser root
AuthMySQLPassword pass
AuthMySQLDB postfix
AuthMySQLUserTable mailbox
AuthMySQLNameField username
AuthMySQLPasswordField password
AuthMySQLPwEncryption md5
I can successfully log into Mysql using the following accounts but failed during web authentication.
Any thoughts?
TIA
Recent comments
3 hours 16 min ago
12 hours 44 min ago
13 hours 33 min ago
17 hours 7 min ago
21 hours 31 min ago
21 hours 53 min ago
1 day 2 min ago
1 day 10 hours ago
1 day 15 hours ago
1 day 16 hours ago