Author Topic: PWTOOLS not working  (Read 4877 times)

Offline dharmesh

  • Newbie
  • *
  • Posts: 7
PWTOOLS not working
« on: October 09, 2012, 03:11:56 AM »
Dear All,

SETUP = php-5.4.7 , mysql-5.5.27, hMailServer 5.3.3 - Build 1879, Roundcube Webmail 0.8.1
After 18 hours R&D I am still not able to configure pwtools

its giving error " PASSWORD REMINDER IS DISABLED "

First I want to know how to enable password remider?
second there is password reminder in account administration look like below

New identity
Settings
Display Name   
Email   
Organization   
Reply-To   
Bcc   
Set default   
Signature
Signature   
HTML signature   

but no any secret question and answer?

Offline Yoni

  • Full Member
  • ***
  • Posts: 164
    • MyRoundcube
Re: PWTOOLS not working
« Reply #1 on: October 09, 2012, 05:24:55 PM »
PWTOOLS works for us just fine (with plugin_manager). First, make sure you are configuring the plugin accordingly. ( config.inc.php )
As per documentation pwtools plugin requires ’savepassword’ plugin so the password can be retrieved from the database.

savepassword plugin loads automatically when using plugin_manager. You do not need to register it. Also, savepassword requires database adjustments (look for the SQL folder included in this plugin and run the SQL script against your roundcube database.

Once that's done, you should create an Identity to be used with password reminder. That's why you are taken to the identity creation section. Please do create the new identity and then go back to Settings -> Account Administration -> Password Reminder. Select your new created identity and you will be prompted for the secret question and answer.


Offline dharmesh

  • Newbie
  • *
  • Posts: 7
Re: PWTOOLS not working
« Reply #2 on: October 10, 2012, 02:20:37 AM »
Dear Yoni,

I found that the problem with query so I short it out but problem is that when I submit that giving error " There was an error while sending the message. "
this is my demo model server.


« Last Edit: October 10, 2012, 03:30:04 AM by dharmesh »

Offline Yoni

  • Full Member
  • ***
  • Posts: 164
    • MyRoundcube
Re: PWTOOLS not working
« Reply #3 on: October 10, 2012, 07:01:53 PM »
That error can be caused due to:

1- database has not been adjusted
2- savepassword plugin is not installed (savepassword plugin has to be present in plugins folder).

Or the SMTP settings for pwtools are incorrect.

Code: [Select]
/* pwtools plugin */
...
$GLOBALS['settingsnav'][] = array('part' => '', 'label' => 'pwreminder', 'href' => './?_task=settings&_action=plugin.pwtools&_framed=1', 'onclick' => '', 'descr' => 'pwtools');
// admin email
$rcmail_config['admin_email'] = "admin@domain.ltd";
// smtp
$rcmail_config['default_smtp_server'] = "smtp.domain.ltd";  // must match your smtp from .../config/main.inc.php
$rcmail_config['default_smtp_user'] = "no-reply@domain.ltd";
$rcmail_config['default_smtp_pass'] = "pass";
...
« Last Edit: October 10, 2012, 07:03:47 PM by Yoni »

Offline dharmesh

  • Newbie
  • *
  • Posts: 7
Re: PWTOOLS not working
« Reply #4 on: October 11, 2012, 03:02:54 AM »
Dear Yoni,

I done that yesterday. Thanks a lot to Myroundcube Team for created the awesome MANAGER.

« Last Edit: October 11, 2012, 03:48:41 AM by dharmesh »