[sork] Vpopmail+Mysql+Passwd

hardik hbpandya at gnvfc.net
Mon Aug 4 02:47:14 PDT 2003


Hi all,

I m using vpopmail for virtual domain support on a qmail/imap server
installed on RedHat7.2.

I've installed passwd to allow users to change their passwords. My
backends.php looks like:
--------------------------------------------------------------------
$backends['sql'] = array (
    'name' => 'Horde Authentication',
    'preferred' => '',
    'password policy' => array(
        'minLength' => 3,
        'maxLength' => 8,
        'maxSpace' => 0,
        'minUpper' => 1,
        'minLower' => 1,
        'minNumeric' => 1
    ),
    'driver' => 'sql',
    'params' => array(
        'phptype'    => 'mysql',
        'hostspec'   => 'localhost:/tmp/mysql.sock',
        'username'   => 'hordenew',
        'password'   => 'hordenew',
        'encryption' => 'md5-hex',
        'database'   => 'hordenew',
        'table'      => 'horde_users',
        'user_col'   => 'user_uid',
        'pass_col'   => 'user_pass'
    )
);

$backends['vpopmail'] = array (
    'name' => 'vpopmail Authentication',
    'preferred' => '',
    'password policy' => array(
        'minLength' => 3,
        'maxLength' => 8,
        'maxSpace' => 0,
        'minUpper' => 0,
        'minLower' => 0,
        'minNumeric' => 0
    ),
    'driver' => 'vpopmail',
    'params' => array(
        'phptype'    => 'mysql',
        'hostspec'   => 'localhost:/tmp/mysql.sock',
        'username'   => 'hordenew',
        'password'   => 'hordenew',
        'encryption' => 'crypt',
        'database'   => 'hordenew',
        'table'      => 'vpopmail',
        'name'    => 'pw_name',
        'domain'  => 'pw_domain',
        'passwd' =>  'pw_passwd',
        'clear_passwd' => 'pw_clear_passwd',
        'use_clear_passwd' => ture
    )
);
--------------------------------------------------------------------
My conf.php looks like:
--------------------------------------------------------------------
$conf['menu']['apps'] = array('imp');
$conf['backend']['backend_list'] = 'shown';
$conf['password']['strengthtests'] = true;
$conf['hooks']['username'] = true;
$conf['hooks']['default_username'] = true;
--------------------------------------------------------------------
When i apply full username like user at domain.com , old passwod & new
password, returns nothing except a blank screen, using both 'Horde
Authentication' and 'vpopmail Authentication'. The URL it shows this time
http://mail.ourdomain.com/horde/passwd/main.php.

Also i dont have any mysql table with name 'vpopmail'. I do have table
'horde_users' but doesnt carry any value init.

rgds,

Hardik





More information about the sork mailing list