Roundcube Community Forum

Third Party Contributions => API Based Plugins => Topic started by: (:Pro:) on October 19, 2009, 09:12:02 AM

Title: Plugin "password" how to configure for hmailserver? On IIS 6.0
Post by: (:Pro:) on October 19, 2009, 09:12:02 AM
Subject. =)
I use hmailserver with base mysql, the current password of the user is defined correctly, but to change it does not want. Writes "Could not save new password".
Title: Plugin "password" how to configure for hmailserver? On IIS 6.0
Post by: rosali on October 20, 2009, 10:17:01 AM
Try to use hmail_password from MyRoundCube bundle (see link in footer).
Title: Plugin "password" how to configure for hmailserver? On IIS 6.0
Post by: (:Pro:) on October 20, 2009, 10:28:32 AM
Quote from: rosali;22397
Try to use hmail_password from MyRoundCube bundle (see link in footer).
Ingeniously!!! Specially for such idiots as I =) am strange that I so long looked forward to hearing ;)
Title: Plugin "password" how to configure for hmailserver? On IIS 6.0
Post by: (:Pro:) on October 20, 2009, 10:50:24 AM
It is impossible to me; (
I do as is written:
 * #1- Configure "hmail_password/config/config.inc.php.dist".
 * #2- Copy file to "config.inc.php" ("config.inc.php.dist" must still be present !!!).
 * #3- Register plugin ("./config/main.inc.php ::: $rcmail_config['plugins']").

But in customisations appears nothing...

Here is how I have customised config.inc.php
Quote

/* hmail_password plugin */

// navigation config (requires plugin settings @website http://myroundcube.googlecode.com)
$rcmail_config['settingsnav'][] = array('part' => '', 'locale' => 'settings.password', 'href' => './?_task=settings&_action=plugin.hmail_password', 'onclick' => '', 'descr' => 'hmail_password');

// user needs current password to perform change request
$rcmail_config['password_confirm_current'] = TRUE;

// password min length (min 6 digitis)
$rcmail_config['password_min_length'] = 4;

// hmailserver database configuration
$rcmail_config['db_hmail_password_dsn'] = 'mysql://hmail:hmailmysql@localhost/hmail?new_link=true';

?>

I not absolutely understand that it means ;( "requires plugin settings @website"

The plug-in reggister works for me...
Title: Plugin "password" how to configure for hmailserver? On IIS 6.0
Post by: rosali on October 20, 2009, 10:53:01 AM
Read top of hmail_password.php. The plugin depends on settings plugin and may be other mentioned there.
Title: Plugin "password" how to configure for hmailserver? On IIS 6.0
Post by: (:Pro:) on October 20, 2009, 10:57:47 AM
Quote from: rosali;22403
Read top of hmail_password.php. The plugin depends on settings plugin and may be other mentioned there.
To use a translator it is madness %D to me it is necessary to drink...
Title: Plugin "password" how to configure for hmailserver? On IIS 6.0
Post by: (:Pro:) on October 21, 2009, 02:41:00 AM
I do not understand that I do not so. Write please it is more developed that I need to make.
I have included to you access. The user and the password for mail as for FTP.


Я не понимаю, что я делаю не так. Напишите пожалуйста более развёрнуто, что мне нужно сделать.
Я включил вам доступ. Пользователь и пароль для почты как для FTP.

Ich verstehe nicht, dass ich nicht so mache. Schreiben Sie bitte es ist mehr entfaltet, dass ich machen muss.
Ich habe Ihnen den Zugang aufgenommen. Der Benutzer und das Kennwort für die Post wie für FTP.
Title: Plugin "password" how to configure for hmailserver? On IIS 6.0
Post by: rosali on October 21, 2009, 02:54:32 PM
Sorry, I don't understand. I will try to login remotely tomorrow with credentials you PM'ed me. To work with a translator is a pain. Don't you have a buddy who is able conversate in basic English or German with me?
Title: Plugin "password" how to configure for hmailserver? On IIS 6.0
Post by: (:Pro:) on October 22, 2009, 07:50:30 AM
Quote from: rosali;22436
Sorry, I don't understand. I will try to login remotely tomorrow with credentials you PM'ed me. To work with a translator is a pain. Don't you have a buddy who is able conversate in basic English or German with me?
Yes, I have sexy girl-friend =) She is studing to be an english teacher. :P
I`ll ask her to help me.
Were you succed in remote connection?
Title: Plugin "password" how to configure for hmailserver? On IIS 6.0
Post by: rosali on October 22, 2009, 08:09:31 AM
#1- I can't connect to webmail though port 81 (firewall on my side).
#2- FTP access does not point to Roundcube root folder ...
Title: Plugin "password" how to configure for hmailserver? On IIS 6.0
Post by: (:Pro:) on October 22, 2009, 08:49:05 AM
Quote from: rosali;22448
#1- I can't connect to webmail though port 81 (firewall on my side).
#2- FTP access does not point to Roundcube root folder ...

What a stupid firewall wich blocks port 81? Couldn`t you turn it off?
As for FTP, it is my mistake. fogot to give a way. Corrected.
Title: Plugin "password" how to configure for hmailserver? On IIS 6.0
Post by: rosali on October 22, 2009, 08:52:09 AM
No, it is out of my control. Use port 80 or 8080.
Title: Plugin "password" how to configure for hmailserver? On IIS 6.0
Post by: (:Pro:) on October 22, 2009, 09:45:14 AM
Quote from: rosali;22456
No, it is out of my control. Use port 80 or 8080.
Ok... 8080
Title: Plugin "password" how to configure for hmailserver? On IIS 6.0
Post by: rosali on October 22, 2009, 09:53:15 AM
Check your private messages.
Title: thread stealing?
Post by: toetag on November 06, 2009, 10:05:36 AM
rosali,

i'm jumping in on his thread since i'm dealing with IIS 6, roundcube and hmail_password.

How will i know if it is working?  I checked your demo and see that under settings there is a new section "Account Administration".  Will that appear magically if I configured hmail_password correctly.

It's my understanding that I need to do the following to get it to work:

1: add 'hmail_password' to my plugin array in the main.inc.php
2: change my mysql information in config.inc.php
3: copy config.inc.php as config.inc.php.dist

I've restarted IIS and i'm unable to find any errors in the logs or anywhere in the settings where i can change my password.

in #2, for testing i'm using the root account and password with a db name of "hmail_dbo".

$rcmail_config['db_hmail_password_dsn'] = 'mysql://root:*********@localhost/hmail_dbo?new_link=true';

Is there anything i missed?


/edit:  i checked the source of the settings page and i see the plugin:

Title: Plugin "password" how to configure for hmailserver? On IIS 6.0
Post by: rosali on November 06, 2009, 10:29:59 AM
#1-Please download recently released plugin collection (just committed)
#2-You missed that all hmail plugins require 'settings' plugin (see README and top of hmail_password.php)

NOTICE: All my stuff requires RoundCube v.0.3.1 or even better the SVN snapshot (see link @ myroundcube.googlecode.com)
Title: Plugin "password" how to configure for hmailserver? On IIS 6.0
Post by: toetag on November 06, 2009, 10:33:58 AM
Thank you for responding.

You beat me to the punch. I had just noticed the word "settings" in the main file.  I wasn't reading that as a seperate plugin.

I just grabbed the latest.

I'll test in a few moments and report back on how wonderful you are as a person, code supporter, hmail supporter and lastly but not least, RoundCube supporter.

/end brown nosing comments.
Title: Plugin "password" how to configure for hmailserver? On IIS 6.0
Post by: toetag on November 06, 2009, 10:58:54 AM
Thank you.  That worked wonderfully.  Now to go through all your plugins and play for a few hours!

off topic: I've never delved into PHP (yet) but how hard do you think it would be to make a plugin that can be configure with an address to automatically forward a message to a given address

(i use ASSP and would love to have a "button" to report spam/not spam automatically)
Title: Plugin "password" how to configure for hmailserver? On IIS 6.0
Post by: rosali on November 06, 2009, 11:19:12 AM
@ off topic:

If you come from CC+, Javascript or any other object orientated programming language it is easy. Personally I have problems to code in VB/VBS/ASP as the syntax and the object referencing is completely different.

@ report spam/ham
That depends on your spam handling backend. There is already a plugin by JohnDoh ... see plugin repository @ trac.roundcube.net
Title: Plugin "password" how to configure for hmailserver? On IIS 6.0
Post by: rosali on November 06, 2009, 11:27:19 AM
... Would be nice to get a basic 'HowTo' for my plugins (purpose, install, configure) from a native English speaker ;-)
Title: Plugin "password" how to configure for hmailserver? On IIS 6.0
Post by: toetag on November 06, 2009, 01:28:53 PM
I'll see what I can come up with.  Once I got it all working, it was surprisingly quite simple.
Title: windows + Hmail + roundcube... cannot change pass
Post by: tmsam on April 08, 2010, 04:16:28 AM
Hi every body, I have install :
1. windows xp
2. wampserver 2.0
3. Hmail 5.3.2
4. Roucube mail 0.3.1

Now can send/Reicv with webmail, pop.. but cannot change password. I have try password

plugin but now success. I think infomation data of user in hmail\database

folder\hmailserver.sdf not in mysql (mysql.initial.sql) . Pls help me.
Title: Re: Plugin "password" how to configure for hmailserver? On IIS 6.0
Post by: bugof on July 27, 2012, 05:14:28 AM
plugins\password\config.inc.php
-----------------------------
$rcmail_config['password_db_dsn'] = 'mysql://username:password@hostname/databasename';
$rcmail_config['password_query']='UPDATE hm_accounts SET accountpassword=md5(%p),accountpwencryption = 2 WHERE accountaddress=%u LIMIT 1'; $rcmail_config['password_hash_algorithm'] = 'md5';
-----------------------------