Roundcube Community Forum

 

Password plugin - vpopmaild and qmail

Started by gsmsupp, December 19, 2009, 09:19:22 PM

Previous topic - Next topic

gsmsupp

Hello
I am using the newest version of Roundcube 0.3.1 and Password plugin.
All seems to be fine, but it is not possible to change password.
Error is caused by $result = password_save($curpass, $passwd); and it returns case PASSWORD_ERROR: (code error 2)
What does it mean ?
It is NOT one of the following errors:
case PASSWORD_CONNECT_ERROR
case PASSWORD_CRYPT_ERROR
'message' => "Password plugin: Unable to open driver file $driver"

Furthermore there is communication with port:
tcpserver: status: 1/40
                      tcpserver: pid 23065 from 127.0.0.1
                                                         tcpserver: ok 23065 localhost:::ffff:127.0.0.1:89 :::ffff:127.0.0.1::49675
                               tcpserver: end 23065 status 65280
                                                                tcpserver: status: 0/40

Please help how to solve it.

osos

Could you please attach your config.inc (the one for password plugin)?

Have you tried to manually log into your vpopmaild daemon?
Quote$ telnet localhost 89
slogin [email protected] password

Look in /tags/roundcubemail/v0.3.1/plugins/password/drivers/vpopmaild.php ? Roundcube Webmail line 29, 37 and 45 should give you an idea of the commands possible failing.

gsmsupp

When I try to upload attachment it shows
config.inc.php:
Invalid File

osos

just rename til confic.inc.php.txt (<-- .txt extension does the trick)

gsmsupp


osos

Your config seems fine.

Did you try to connect manually to vpopmaild, using telnet and issuing the commands ?

gsmsupp

Hello
Yes, I tried and it shows the following:

$ telnet localhost 89
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK
login [email protected] <*password*>
+OK+
vpopmail_dir /home/vpopmail
domain_dir /home/vpopmail/domains/cleanus.pl
uid 508
gid 503
name kontakt
comment kontakt
quota NOQUOTA
user_dir /home/vpopmail/domains/cleanus.pl/kontakt
encrypted_password $<*encrypted_password*>
clear_text_password <*password*>
no_password_change 0
no_pop 0
no_webmail 0
no_imap 0
bounce_mail 0
no_relay 0
no_dialup 0
user_flag_0 0
user_flag_1 0
user_flag_2 0
user_flag_3 0
no_smtp 0
domain_admin_privileges 0
override_domain_limits 0
no_spamassassin 0
delete_spam 0
system_admin_privileges 0

osos

Seems fine.

Try out all the commands in the driver

Something like:

$ telnet localhost 89

+OK
slogin [email protected]
+OK
mod_user [email protected]
+OK
clear_text_password
.
+OK
quit