Rainloop-webmail: postfixadmin-change-password plugin

Created on 22 Jul 2014  路  15Comments  路  Source: RainLoop/rainloop-webmail

hello,

in my environment we use postfixadmin to manage mailboxes and domains, i know it is pretty common as a solution.

i wrote a plugin to enable password change with postfixadmin.

i wanted to write a more generic MySQL password changer, but i needed a fast solution due to production deadlines, but i think it can be useful even in this way, for who has postfixadmin and doesn't want to set up raw table and fields configurations.

it currently supports md5crypt, md5, system, mysql_encrypt and cleartext encryption methods, it doesn't support yet authlib and dovecot, i hope ill have time to add them in the future.

here is the tar:
http://speedy.sh/mhNJn/postfixadmin-change-password.tar.gz

Most helpful comment

Is this plugin already included in the standard version of Rainloop? Cannot find it.

All 15 comments

I made a few edits in your code before committing.

https://github.com/RainLoop/rainloop-webmail/tree/master/plugins/postfixadmin-change-password
mysql -> PDO and others.

Can test it on your server, as I do not have this capability :(.

Thanks.

i confirm it works on my server.
thanks for the improvement.

Thanks!

Hello,

can someone tell me how to install this plugin?
I can't find any information about that...

I'am running a ubuntu server 14.04.

regards

i dont know if the plugin has been included in the last release.

if it is not present in your installation, download it from git at /plugins/postfixadmin-change-password and place it in the same folder of your installation.

then you will see the plugin in your web application's plugin manager, so you will be able to enable it.

thank you for your advise but I'm afraid I can't follow you.
I put the files: index.php, ChangePasswordPostfixadminDriver.php and md5crypt.php in a folder at my rainloop directory
(var/www/html/rainloop/postfixadmin-change-password) but nothing shows up...

regards

You need to add the plugin to the data folder.

/var/www/html/rainloop/data/_data_xxxxx/_default_/plugins/*

It is possible to use PLAIN-MD5?

postfix2

Hello to everyone,
please can someone help me on "postfixadmin-change-password" plugin install ?
1 - i download it on https://github.com/RainLoop/rainloop-webmail/tree/master/plugins/postfixadmin-change-password
2 - put it on: "/var/www/rainloop/data/_data_/_default_/plugins" in a folder called postfixadmin-change-password
3 - Check for the correct permissions and owner

But when i go to the admin page, i can't activate it, i receive an error message: "Invalid plugin package"

My Environment is a Ubuntu Server / Postfix / PostfixAdmin / Dovecot and virtuals users stored in a MySQL database.

This is what appear in package admin page
image

Any help would be appreciate. Thanks

This is strange.

Try this: postfixadmin-change-password.zip

Hi,
The zip version is working perfectly. Thanks alot

Is this plugin already included in the standard version of Rainloop? Cannot find it.

Same as zilon84, cannot find it too.

Very usefull comment for the directory to unzip into "/var/www/rainloop/data/_data_/default/plugins"
Also the plugin works with postgreSQL with a little patch in ChangePasswordPostfixAdminDriver.php :
Just replace mysql with pgsql, and then in the config 5432 instead of 3306
218 $sDsn = 'pgsql:host='.$this->sHost.';port='.$this->iPort.';dbname='.$this->sDatabase;

Was this page helpful?
0 / 5 - 0 ratings

Related issues

raszkiewicz picture raszkiewicz  路  3Comments

MurzNN picture MurzNN  路  5Comments

ZUNbado picture ZUNbado  路  3Comments

wngroves picture wngroves  路  5Comments

axos88 picture axos88  路  3Comments