Roundcube Community Forum

 

Password change

Started by HTF, January 28, 2010, 04:36:45 AM

Previous topic - Next topic

bagu

#30
Quote from: rosali;25146Can 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 [email protected] 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 :
$host = $_SERVER['HTTP_HOST'];
$refer_array = str_replace('www.', '', $host);

So, i modify these parameters :
$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.

HTF

Hi,

QuoteRequire 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

rosali

#32
Download latest plugin version and register appropriate driver in ./config/config.inc.php

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

HTF

#33
Quote from: rosali;25171Download 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

rosali

Give me remote access (IMAP test account, FTP full permissions, PHPMyAdmin). PM'me.
Regards,
Rosali

rosali

@ 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

bagu

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...

rosali

@ bagu: YEP, translations are welcome.

Test again (new version attached).
Regards,
Rosali

HTF

Quote from: rosali;25195Test 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.

HTF

Quote from: rosali;25180Give me remote access (IMAP test account, FTP full permissions, PHPMyAdmin). PM'me.

PM has been sent

rosali

@ 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

ptester

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

JohnDoh

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...

ptester

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.

JohnDoh

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...