[sork] passwd 3.0.1 and remote vpopmail server

Miguel mmiranda at 123.com.sv
Thu Feb 7 18:22:32 UTC 2008


Hi to all, im installing a new webmail server and i cant make passwd to 
work with a remote vpopmail server, passwd was installed in the same 
vpopmail server and it was working flawlessly (i need to migrate the 
webmail service ot a new one because of high load), this is the working 
config

$backends['vpopmail'] = array (
    'name' => 'Mail Server',
    'preferred' => true,
    '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'   => 'vpop4m3',
        'encryption' => 'crypt-md5',
        'database'   => 'vpopmail',
        'table'      => 'vpopmail',
        'name'    => 'pw_name',
        'domain'  => 'pw_domain',
        'passwd' =>  'pw_passwd',
        'clear_passwd' => 'pw_clear_passwd',
        'use_clear_passwd' => true,
        'show_encryption' => false
    )

Now, in the new server i just change the hostspec param from localhost 
to the remote ip and i got error:

Failure in changing password on Mail Server: Unable to connect to SQL 
server.

If i do a tcp trace, i dont see the query going to
the vpopmail server, i think passwwd is not obeying the change and is 
still trying to connect to localhost,  if i make a manual connection 
using mysql client, i can connect to the remote mysql service
what can i check?
regards


More information about the sork mailing list