[sork] Forwards H3 (3.1-cvs), Vexim and Mysql does not work, maybe problem with encryption

Hermann Wilken hermann at schwi.de
Tue Aug 15 04:34:35 PDT 2006


Hello,

I'm trying to make the above mentioned configuration work. When I define 
a forward in Horde, it reports success, but the information in my 
usertable is not updated. In mysql.log I found:

16 Query       UPDATE users SET on_forward = 'y' WHERE username = 
'hermann (at) schwi.de' AND crypt = 'd51475f98f9d02cedada9b7cd8d22839'

The value d51475f98f9d02cedada9b7cd8d22839 does not match the value in 
my vexim usertable, so nothing happens, of course. Obviously the 
password is not encrypted through crypt-md5, but it should be.

If I set $conf['enabled']['authenticate'] = false; some other password 
will be used (according to mysql.log). Where is this password from? From 
Horde? I am quite confused. Authentication in Horde is done by IMP.

This is my conf.php:

$conf['server']['params']['persistent'] = false;
$conf['server']['params']['protocol'] = 'unix';
$conf['server']['params']['splitread'] = false;
$conf['server']['params']['driverconfig'] = 'custom';
$conf['server']['driver'] = 'sql';
$conf['enabled']['keeplocal'] = true;
$conf['enabled']['authenticate'] = true;
$conf['user']['refused'] = array('root', 'bin', 'daemon', 'adm', 'lp', 
'shutdown', 'halt', 'uucp', 'ftp', 'anonymous', 'nobody', 'httpd', 
'operator', 'guest
$conf['menu']['apps'] = array();
$conf['server']['params'] = array();
$conf['server']['params']['phptype'] = 'mysql';
$conf['server']['params']['hostspec'] = 'localhost';
$conf['server']['params']['username'] = '*****';
$conf['server']['params']['password'] = '*****';
$conf['server']['params']['altemail'] = 'forward';
$conf['server']['params']['forward'] = 'on_forward';
$conf['server']['params']['database'] = 'vexim';
$conf['server']['params']['table'] = 'users';
$conf['server']['params']['user_col'] = 'username';
$conf['server']['params']['pass_col'] = 'crypt';

How can I make Horde and/or Forwards make to use crypt-md5 passwords? 
BTW, passwd works fine here!

Maybe I'm just missing a small detail or I'm doing completely wrong 
(please don't hit ;-)).

Any help is appreciated.

Regards,

Hermann


More information about the sork mailing list