Author Topic: Password change  (Read 19979 times)

Offline bagu

  • Full Member
  • ***
  • Posts: 109
    • Bagu.biz
Password change
« Reply #30 on: February 02, 2010, 12:07:32 PM »
Quote from: rosali;25146

Can you access it after you close browser instead of rebooting/clearing?

No, i can't...
I don't understant why, but i must erase all rouncube related cookies (even if password or session are not into it) to be able to log in...

My roundcube version is the last release (Version 0.3.1-20091031) and there is non modification except one (i just remember it)

I think the log in problem come from it...
Let me explain...I have one roundcube installation and i have many domain which use it...Before, i use squirrelmail and with squirrelmail, if i log in from http://www.bagu.biz with user bagu, there is a plugin with auto complete the username to log in with bagu@bagu.biz without any need to declare every domain...(too long, and hard to maintain)

So, when i install rouncube, i have search to have the same possibility, and i found this solution :

In main.inc.php i put this code :
Code: [Select]
$host = $_SERVER['HTTP_HOST'];
$refer_array = str_replace('www.', '', $host);

So, i modify these parameters :
Code: [Select]
$rcmail_config['username_domain'] = $refer_array;
$rcmail_config['mail_domain'] = $refer_array;
$rcmail_config['smtp_user'] = '%u';
$rcmail_config['smtp_pass'] = '%p';

Is these modifications wrong or can it be the origin of the bug ?

Thanks and sorry for wasting your time.
« Last Edit: February 02, 2010, 12:32:05 PM by bagu »

Offline HTF

  • Jr. Member
  • **
  • Posts: 20
Password change
« Reply #31 on: February 02, 2010, 07:52:01 PM »
Hi,

Quote
Require hmailemail database version 5300 Detected database 5310


Can you help me with this error of the register plugin,
I'm using hmailserver 5.3.1 and MySQL 5.1.42

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Password change
« Reply #32 on: February 03, 2010, 12:44:36 AM »
Download latest plugin version and register appropriate driver in ./config/config.inc.php

/* driver */
$rcmail_config['register_driver'] = 'hmail_sql_db_5310';
« Last Edit: February 03, 2010, 06:02:01 AM by rosali »
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline HTF

  • Jr. Member
  • **
  • Posts: 20
Password change
« Reply #33 on: February 03, 2010, 03:02:24 AM »
Quote from: rosali;25171
Download latest plugin version and register appropriate driver in ./config/config.inc.php

/* driver */
$rcmail_config['register_driver'] = 'hmail_sql_db_5310';


It says user successful created but login fails and I cannot find it both in MySQL database and hMailserver  domain account node

Regs
« Last Edit: February 03, 2010, 06:02:08 AM by rosali »

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Password change
« Reply #34 on: February 03, 2010, 06:01:51 AM »
Give me remote access (IMAP test account, FTP full permissions, PHPMyAdmin). PM'me.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Password change
« Reply #35 on: February 03, 2010, 06:22:33 AM »
@ bagu: I can reproduce the issue now. Hope to solve it today evening ... I think if I do not redirect to login page immeditely after password change it should do the trick.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline bagu

  • Full Member
  • ***
  • Posts: 109
    • Bagu.biz
Password change
« Reply #36 on: February 03, 2010, 07:20:43 AM »
If i can help for test, say me...

P.S. : if you want i can make french translations witch are missing for every plugins of myroundcube...

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Password change
« Reply #37 on: February 03, 2010, 01:08:03 PM »
@ bagu: YEP, translations are welcome.

Test again (new version attached).
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline HTF

  • Jr. Member
  • **
  • Posts: 20
Password change
« Reply #38 on: February 03, 2010, 03:46:29 PM »
Quote from: rosali;25195
Test again (new version attached).


I've just tested it and at the first time was ok but then when I changed the password to the previous one I had to loged in twice with old password then I refreshed browser and it started accept new password.

Offline HTF

  • Jr. Member
  • **
  • Posts: 20
Password change
« Reply #39 on: February 03, 2010, 06:17:40 PM »
Quote from: rosali;25180
Give me remote access (IMAP test account, FTP full permissions, PHPMyAdmin). PM'me.


PM has been sent

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Password change
« Reply #40 on: February 04, 2010, 01:35:50 AM »
@ HTF

You can confirm that it works after a simple page reload? It works on IE without this reload. I could add a javascript reload, if that is the last remaining problem with Firefox.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline ptester

  • Newbie
  • *
  • Posts: 2
Error runing
« Reply #41 on: February 21, 2010, 02:53:50 AM »
I have installed password plugin as the instructions (I think!) but it doesn't give me the option to change password in webmail.

The bit I was confused by is section 2
2: change your database connection string in: \plugins\hmail_password\config\config.inc.php.dist
   then copy it as \plugins\hmail_password\config\config.inc.php
   **config.inc.php.dist must be present in the folder

$rcmail_config['db_hmail_password_dsn'] = 'mysql://:@/?new_link=true';

What should I change?, should I add my mailserver.org.uk ??


Thanks

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,845
Password change
« Reply #42 on: February 21, 2010, 05:28:50 AM »
you need to set the connection string for the database which holds your passwords, this is seperate from your RoundCube database.

copy \plugins\hmail_password\config\config.inc.php.dist and rename it so \plugins\hmail_password\config\config.inc.php. Keep both the .dist and .php files in the dir but in the .php one change the value of $rcmail_config['db_hmail_password_dsn'] to the details needs to connect to your email user database.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline ptester

  • Newbie
  • *
  • Posts: 2
Password change
« Reply #43 on: February 21, 2010, 08:08:46 AM »
sorry for sounding silly, but I am still not clear what details I need to change !
$rcmail_config['db_hmail_password_dsn'] = 'mysql://root:@localhost/hmailserver?new_link=true';

only mailserver details I know are:
mail.mydomain.co.uk

Do I need to find out more info from my ISP?
Many thanks for your help
--------------


you need to set the connection string for the database which holds your passwords, this is seperate from your RoundCube database.

copy \plugins\hmail_password\config\config.in c.php.dist and rename it so \plugins\hmail_password\config\config.in c.php. Keep both the .dist and .php files in the dir but in the .php one change the value of $rcmail_config['db_hmail_password_dsn'] to the details needs to connect to your email user database.

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,845
Password change
« Reply #44 on: February 21, 2010, 08:46:52 AM »
ahhh ok. see changing your email password has nothing to do with your IMAP server (there is just no way over IMAP to change passwords). So the various password changer plugins available for roundcube need to connect directly to what ever it is which stores your email usernames and passwords. In the case of this plugin that needs to a database. I'm guessing your ISP runs your email for you so try telling them you have installed a webmail on your hosting and you would like to be able to change your email password and ask if there is some method or API available for this. If there is then have a look at the various password changers available for RC and see if there is one which uses the method you need.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…