[sork] how to configure (passwd,vacation,forward) ?
Roel Paule
roelpaule at hotmail.com
Wed Nov 5 04:09:45 PST 2003
hi!
my horde is working properly.. and i dont see any
problem with my config.. except the 3 module: passwd,
forward and vacation.. its always gives me an error..
and its always say, not properly configured.. my
backend is sql.. im using postfix/mysql and
courier-imap..
i also check my horde database.. theres no table for vacation, passwd, and
forward..
any idea what is the right config if your backend is sql..
this is the another error when i try to change my email password:
Fatal error: Call to undefined function: getdriverconfig() in
/www/horde.owel/html/horde/passwd/lib/Driver/sql.php on line 41
thanks.. and god bless you all.
some info:
Horde Versions:
* Horde: 2.2.3
* IMP: 3.2.2 (run IMP tests)
* Turba: 1.1
* Passwd: 2.2
* Kronolith: 1.1
* Accounts: 2.1
* Vacation: 2.2
* Forwards: 2.2
Vacation:
/horde/vacation/config/conf.php
// For sql driver, we need to define the database info.
$conf['server']['params'] = array();
$conf['server']['params']['phptype'] = 'mysql';
$conf['server']['params']['hostspec'] = 'localhost';
$conf['server']['params']['username'] = 'horde';
$conf['server']['params']['password'] = 'secret';
$conf['server']['params']['vacation'] = 'vacation'; // y/n ENUM
$conf['server']['params']['message'] = 'vacation_msg';
$conf['server']['params']['subject'] = 'vacation_sub';
$conf['server']['params']['database'] = 'users';
$conf['server']['params']['table'] = 'users';
$conf['server']['params']['user_col'] = 'user';
$conf['server']['params']['pass_col'] = 'password';
passwd:
/horde/passwd/config/backends.php
$backends['sql'] = array (
'name' => 'Owel Account',
'preferred' => '',
'password policy' => array(
'minLength' => 3,
'maxLength' => 8,
'maxSpace' => 0,
'minUpper' => 1,
'minLower' => 1,
'minNumeric' => 1
),
'driver' => 'sql',
'params' => array(
'phptype' => 'mysql',
'hostspec' => 'localhost',
'username' => 'horde',
'password' => 'owel',
'encryption' => 'md5-hex',
'database' => 'horde',
'table' => 'horde_users',
'user_col' => 'user_uid',
'pass_col' => 'user_pass'
)
);
Forward:
// For sql we use usual horde sql settings plus some more:
$conf['server']['params'] = array();
$conf['server']['params']['phptype'] = 'mysql';
$conf['server']['params']['hostspec'] = 'localhost';
$conf['server']['params']['username'] = 'horde';
$conf['server']['params']['password'] = 'owel';
$conf['server']['params']['altemail'] = 'alternative_email_column_name';
$conf['server']['params']['forward'] = 'email_forward_y_or_n';
$conf['server']['params']['database'] = 'database';
$conf['server']['params']['table'] = 'users_table';
$conf['server']['params']['user_col'] = 'column_which_contains_usernames';
$conf['server']['params']['pass_col'] = 'column_with_passwords';
_________________________________________________________________
>From Beethoven to the Rolling Stones, your favorite music is always playing
on MSN Radio Plus. No ads, no talk. Trial month FREE!
http://join.msn.com/?page=offers/premiumradio
More information about the sork
mailing list