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
12 hours 57 min ago
19 hours 38 min ago
23 hours 29 min ago
1 day 1 hour ago
1 day 9 hours ago
1 day 19 hours ago
1 day 19 hours ago
1 day 23 hours ago
2 days 3 hours ago
2 days 4 hours ago