Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Mail Server
  • Search

Impossible to change email user password from Rouncube

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Locked
  • Print view
Advanced search
20 posts
  • 1
  • 2
  • Next
Spheerys
Posts: 225
Joined: Tue Dec 29, 2015 12:36 pm

Os: Debian 7x
Web: apache + nginx
Impossible to change email user password from Rouncube

Post by Spheerys » Thu Jan 21, 2016 10:47 pm

Hi,

I want my customers be able to change their email password account directly from Roundcube.
The fonction is there but if I try to change it, I have this error : "Impossible to register the new password"

The new password has more than 6 characters...

What's wrong ?
Top

joem
Posts: 378
Joined: Thu Nov 13, 2014 8:33 am

Os: CentOS 6x
Web: nginx + php-fpm
Re: Impossible to change email user password from Rouncube

Post by joem » Fri Jan 22, 2016 9:06 am

Spheerys wrote:Hi,

I want my customers be able to change their email password account directly from Roundcube.
The fonction is there but if I try to change it, I have this error : "Impossible to register the new password"

The new password has more than 6 characters...

What's wrong ?

What os are you using?
Top

Spheerys
Posts: 225
Joined: Tue Dec 29, 2015 12:36 pm

Os: Debian 7x
Web: apache + nginx
Re: Impossible to change email user password from Rouncube

Post by Spheerys » Fri Jan 22, 2016 10:35 am

Debian 8.2 :)
Top

dpeca
VestaCP Team
Posts: 473
Joined: Wed Nov 25, 2015 7:30 pm

Re: Impossible to change email user password from Rouncube

Post by dpeca » Sun Jan 31, 2016 12:09 am

After a lot of debuging, I finaly figured out what is going on.

Someone who wrote a ''Rondcube password changer driver for VestaCP'' should convert a function to class in file /usr/share/roundcube/plugins/password/drivers/vesta.php
Plugin 'passwod' is expecting a class in that file, but there is only a function.

Anyway, here is a solution to fix this.

1. Open file /usr/share/roundcube/plugins/password/drivers/vesta.php

2. Find a line that contain: function password_save($curpass, $passwd)

3. Delete that line

4. On the same place, write: class rcube_vesta_password {
function save($curpass, $passwd)


5. At the end of file write: }

6. Save the file.
Top

MrConstantine
Posts: 74
Joined: Wed Nov 18, 2015 12:16 am

Re: Impossible to change email user password from Rouncube

Post by MrConstantine » Sun Jan 31, 2016 12:34 pm

Sorry. But this method does not work. I checked several times, the password is not changed.I did the points as you have written.
Top

MrConstantine
Posts: 74
Joined: Wed Nov 18, 2015 12:16 am

Re: Impossible to change email user password from Rouncube

Post by MrConstantine » Sun Jan 31, 2016 12:35 pm

OS: Debian 8.2 Jessie
VestaCP 0.9.8 - 15

Updates all relevant. But still it does not work to change your password.
Top

dpeca
VestaCP Team
Posts: 473
Joined: Wed Nov 25, 2015 7:30 pm

Re: Impossible to change email user password from Rouncube

Post by dpeca » Sun Jan 31, 2016 3:50 pm

In SSH as root run:

Code: Select all

chown admin:admin /var/log/roundcube
Now try to change a password.
Then open /var/log/roundcube/errors and paste log here.

It's very possible that you also have a second bug (I had it too), fsockopen can not connect to SSL.
Patching is easy, just confirm my suspicion.
Last edited by dpeca on Fri Feb 05, 2016 2:52 pm, edited 1 time in total.
Top

dpeca
VestaCP Team
Posts: 473
Joined: Wed Nov 25, 2015 7:30 pm

Re: Impossible to change email user password from Rouncube

Post by dpeca » Sun Jan 31, 2016 4:12 pm

To speed up things, here is what I also did:

1. Open /etc/roundcube/plugins/password/config.inc.php
2. Find: $rcmail_config['password_vesta_host'] = 'localhost';
3. Change localhost to your server hostname (if you are not sure what is your hostname, open /etc/hostname file)
4. Also, if you changed Vesta port, change it here too, you will find in next line $rcmail_config['password_vesta_port']
5. Save the file.

Keep in mind that this will works only if you applied my first patch too.
Top

MrConstantine
Posts: 74
Joined: Wed Nov 18, 2015 12:16 am

Re: Impossible to change email user password from Rouncube

Post by MrConstantine » Mon Feb 01, 2016 12:40 pm

Hi,
He performed all the items, but to no avail.

An error occurred!
Could not save new password.
Top

MrConstantine
Posts: 74
Joined: Wed Nov 18, 2015 12:16 am

Re: Impossible to change email user password from Rouncube

Post by MrConstantine » Mon Feb 01, 2016 1:00 pm

Thanks for the help. But something does not come out.
Top


Locked
  • Print view

20 posts
  • 1
  • 2
  • Next

Return to “Mail Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password