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 General Discussion
  • Search

RainLoop unable to change password.

General questions about VestaCP
Post Reply
  • Print view
Advanced search
7 posts • Page 1 of 1
TopeZ
Posts: 18
Joined: Mon Nov 03, 2014 11:50 pm

RainLoop unable to change password.
  • Quote

Post by TopeZ » Fri Jan 22, 2016 7:25 pm

As far as I know Rainloop is not talking to the VestaCP mail accounts for domains to change the password.

I discovered a VestaCP Change Password plugin @ https://github.com/RainLoop/rainloop-we ... e-password at the RainLoop GitHub, I was concerned that it would not work because it was not listed in their downloadable plugins from the RainLoop Admin section. After installing it manually, turns out I was right unless I am doing something wrong in the configuration.

Only way my users can change passwords successfully is having my users go to their roundcube change the password there and then continue to use RainLoop, lets be honest that's retarded.

Can anyone help me out? I've tried POPPASSD but that doesn't seem to work as well.

I'm loving RainLoop and it's so much better than RoundCube so far when it comes to ease of use and similarity to Gmail which my users love.
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: RainLoop unable to change password.
  • Quote

Post by imperio » Sat Jan 23, 2016 1:08 pm

Rainloop officially is not supported by Vesta
Top

sacredwebsite
Posts: 29
Joined: Sun Dec 13, 2015 6:18 pm

Re: RainLoop unable to change password.
  • Quote

Post by sacredwebsite » Sat Feb 20, 2016 12:59 am

@TopZ

I am seeking a similar answer.
I am getting "Could not save new password" even after assigning the fields in the configuration.

Plugin in question:
https://github.com/RainLoop/rainloop-we ... e-password

I am questioning if it is my configuration.
Vesta Host
Allowed patterns: {user:host-imap}, {user:host-smtp}, {user:domain}

I will look into it further. I am not expecting vesta support. just using this as discussion for others using this same plugin.
Top

quatroweb
Posts: 31
Joined: Wed Aug 20, 2014 8:21 am

Re: RainLoop unable to change password.
  • Quote

Post by quatroweb » Wed Apr 06, 2016 4:06 pm

Hi sacredwebsite,

Did you find a solution for this changing password in Rainloop?
Top

SS88
Posts: 336
Joined: Thu Nov 19, 2015 12:40 pm

Re: RainLoop unable to change password.
  • Quote

Post by SS88 » Fri Jul 08, 2016 3:21 pm

This works for me? I just made sure the field Vesta Host was set to localhost
Top

danielz
Posts: 9
Joined: Sat Oct 07, 2017 6:36 pm

Re: RainLoop unable to change password.
  • Quote

Post by danielz » Sat Oct 07, 2017 6:47 pm

This is old of course, but I have a work setting.

First:
You need to configure your panel SSL settings;
Read this How-To: https://blog.flaunt7.com/how-to-use-let ... gin-panel/

Second:
You need to download the vesta-changepassword-rainloop here:
https://github.com/RainLoop/rainloop-we ... e-password

Third:
You need to edit the file:
VestaChangePasswordDriver.php

Then change this lines:

$sHost = \trim($this->sHost);
$sHost = \str_replace('{user:host-imap}', $oAccount->Domain()->IncHost(), $sHost);
$sHost = \str_replace('{user:host-smtp}', $oAccount->Domain()->OutHost(), $sHost);
$sHost = \str_replace('{user:domain}', \MailSo\Base\Utils::GetDomainFromEmail($sEmail), $sHost);
$sHost = \rtrim($this->sHost, '/\\');
$sHost = 'https://'.$sHost;
To:

$sHost = \trim($this->sHost);
$sHost = \rtrim($this->sHost, '/\\');
$sHost = 'https://'.$sHost;
Just remove the lines:
$sHost = \str_replace('{user:host-imap}', $oAccount->Domain()->IncHost(), $sHost);
$sHost = \str_replace('{user:host-smtp}', $oAccount->Domain()->OutHost(), $sHost);
$sHost = \str_replace('{user:domain}', \MailSo\Base\Utils::GetDomainFromEmail($sEmail), $sHost);
Then in Plugin "vesta-change-password" - RainLoop ADMIN, set the value:
your-panel.your-domain.com (SSL, letsencrypt with right settings).

Sample error with WRONG SSL CONFIG:
INFO[WARNING]: cURL: Error: SSL: certificate subject name 'mypanel.mydomain.com' does not match target host name '127.0.0.1'

Here work 100%.

If you have any problem tell me.
Top

Elfy
Posts: 11
Joined: Thu Aug 09, 2018 4:08 pm

Os: Ubuntu 15x
Web: apache + nginx
Re: RainLoop unable to change password.
  • Quote

Post by Elfy » Wed May 15, 2019 2:07 am

Working great for me @danielz! Thanks for coming back and posting the solution!
Top


Post Reply
  • Print view

7 posts • Page 1 of 1

Return to “General Discussion”



  • 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
 

 

cron

Login  •  Register

I forgot my password