Author Topic: Password plugin - vpopmaild and qmail  (Read 8313 times)

Offline gsmsupp

  • Newbie
  • *
  • Posts: 4
Password plugin - vpopmaild and qmail
« on: December 19, 2009, 09:19:22 PM »
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.

Offline osos

  • Jr. Member
  • **
  • Posts: 11
Password plugin - vpopmaild and qmail
« Reply #1 on: December 21, 2009, 03:43:37 PM »
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@adress.tld 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.

Offline gsmsupp

  • Newbie
  • *
  • Posts: 4
Password plugin - vpopmaild and qmail
« Reply #2 on: December 21, 2009, 08:07:52 PM »
When I try to upload attachment it shows
config.inc.php:
Invalid File

Offline osos

  • Jr. Member
  • **
  • Posts: 11
Password plugin - vpopmaild and qmail
« Reply #3 on: December 22, 2009, 01:22:45 AM »
just rename til confic.inc.php.txt (<-- .txt extension does the trick)

Offline gsmsupp

  • Newbie
  • *
  • Posts: 4
Password plugin - vpopmaild and qmail
« Reply #4 on: December 22, 2009, 01:42:55 AM »
Ok thx for the info. Here it is.

Offline osos

  • Jr. Member
  • **
  • Posts: 11
Password plugin - vpopmaild and qmail
« Reply #5 on: December 22, 2009, 04:49:25 AM »
Your config seems fine.

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

Offline gsmsupp

  • Newbie
  • *
  • Posts: 4
Password plugin - vpopmaild and qmail
« Reply #6 on: December 23, 2009, 08:53:16 AM »
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 kontakt@cleanus.pl <*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

Offline osos

  • Jr. Member
  • **
  • Posts: 11
Password plugin - vpopmaild and qmail
« Reply #7 on: December 31, 2009, 04:02:18 AM »
Seems fine.

Try out all the commands in the driver

Something like:

$ telnet localhost 89

+OK
slogin email@ddress.tld
+OK
mod_user email@address.tld
+OK
clear_text_password
.
+OK
quit