We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Impossible to change email user password from Rouncube
Impossible to change email user password from Rouncube
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 ?
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 ?
Re: Impossible to change email user password from Rouncube
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?
Re: Impossible to change email user password from Rouncube
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.
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.
-
- Posts: 74
- Joined: Wed Nov 18, 2015 12:16 am
Re: Impossible to change email user password from Rouncube
Sorry. But this method does not work. I checked several times, the password is not changed.I did the points as you have written.
-
- Posts: 74
- Joined: Wed Nov 18, 2015 12:16 am
Re: Impossible to change email user password from Rouncube
OS: Debian 8.2 Jessie
VestaCP 0.9.8 - 15
Updates all relevant. But still it does not work to change your password.
VestaCP 0.9.8 - 15
Updates all relevant. But still it does not work to change your password.
Re: Impossible to change email user password from Rouncube
In SSH as root run:
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.
Code: Select all
chown admin:admin /var/log/roundcube
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.
Re: Impossible to change email user password from Rouncube
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.
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.
-
- Posts: 74
- Joined: Wed Nov 18, 2015 12:16 am
Re: Impossible to change email user password from Rouncube
Hi,
He performed all the items, but to no avail.
An error occurred!
Could not save new password.
He performed all the items, but to no avail.
An error occurred!
Could not save new password.
-
- Posts: 74
- Joined: Wed Nov 18, 2015 12:16 am
Re: Impossible to change email user password from Rouncube
Thanks for the help. But something does not come out.