Passwd with Vpopmail

"Rodrigo Monteiro" <[email protected]>
Newsgroups gmane.comp.horde.sork
Message-ID <[email protected]>
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.
-- 
Sork mailing list - Join the hunt: http://horde.org/bounties/#sork
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.