Re: passwd h3 with vpopmail cdb user database

"mhz bogomips" <[email protected]>
Newsgroups gmane.comp.horde.sork
Message-ID <[email protected]>
Sorry that it takes a while before replying.  I have a "home-grown" solution
1 year ago so that I need to update my solution for the latest password h3.
Please evaluate the security risk before installation.  But it works for
sure.

1 - chmod u+s /home/vpopmail/bin/vchangepw
    chmod g+s /home/vpopmail/bin/vchangepw

2 - When configuring passwd in horde, make sure the option
    to use full user name is checked.

3 - copy the vpopmail_expect script to horde/passwd/scripts
     (yes, you need to have "expect" installed, script attached)

4 - modify backends.php to have the following lines only

        $backends['expect'] = array(
            'name' => 'Email System',
            'preferred' => '',
            'password policy' => array(),
            'driver' => 'expect',
            'params' => array(
                'program' => '/usr/bin/expect',
                'script' => dirname(__FILE__) .
'/../scripts/vpopmail_expect',
                'params' => ''
            )
        );

That's it.  Hope it works for you, too.

Gary


On 3/11/06, ADRIAN GOREA < [email protected]> wrote:
>
> helo i am not able to search through the archive so i post my dilema here:
> how can i use passwd h3 to change vpopmail passwd. i am using vpomail
> without mysql
>   thank you very much
>
>
> ---------------------------------
> Yahoo! Mail
> Bring photos to life! New PhotoMail  makes sharing a breeze.
> --
> Sork mailing list - Join the hunt: http://horde.org/bounties/#sork
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: [email protected]
>

-- 
Sork mailing list - Join the hunt: http://horde.org/bounties/#sork
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
vpopmail_expect (application/octet-stream, 1.7 KB) - not displayed
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.