[sork] Passwd with Vpopmail
Rodrigo Monteiro
mrodrigox at gmail.com
Wed Mar 8 05:42:51 PST 2006
Hello all!
My problem is in the backends.php of Passwd. I don't know how to
configure to let it work with the Vpopmail database in MySQL. The
database name is "vpopmail", but the table name isn't "vpopmail". The
name is the domain name, domain_com for domain.com. There are multiple
virtual domains... how should I configure Passwd to get this table
name dinamically? Or there are otherway to get Passwd change the
user's e-mail password?
the conf.php
<?php
$backends['vpopmail'] = array (
'name' => 'Example Vpopmail Server',
'preferred' => '',
'password policy' => array(
'minLength' => 3,
'maxLength' => 8,
'maxSpace' => 0,
'minUpper' => 0,
'minLower' => 0,
'minNumeric' => 0
),
'driver' => 'vpopmail',
'params' => array(
'phptype' => 'mysql',
'hostspec' => 'localhost',
'username' => 'vpopmail',
'password' => 'test',
'encryption' => 'crypt',
'database' => 'vpopmail',
'table' => 'vpopmail', <----- ?????????
'name' => 'pw_name',
'domain' => 'pw_domain',
'passwd' => 'pw_passwd',
'clear_passwd' => 'pw_clear_passwd',
'use_clear_passwd' => true,
'show_encryption' => true
)
);
regards,
Rodrigo.
More information about the sork
mailing list