Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

postfixadmin-change-password plugin #251

Closed
sctt opened this issue Jul 22, 2014 · 15 comments
Closed

postfixadmin-change-password plugin #251

sctt opened this issue Jul 22, 2014 · 15 comments

Comments

@sctt
Copy link

sctt commented Jul 22, 2014

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

@RainLoop
Copy link
Owner

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.

@sctt
Copy link
Author

sctt commented Jul 23, 2014

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

@RainLoop
Copy link
Owner

Thanks!

@armtir
Copy link

armtir commented Nov 2, 2014

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

@sctt
Copy link
Author

sctt commented Nov 3, 2014

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.

@armtir
Copy link

armtir commented Nov 3, 2014

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

@RainLoop
Copy link
Owner

RainLoop commented Nov 5, 2014

You need to add the plugin to the data folder.

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

@davi-dns
Copy link

It is possible to use PLAIN-MD5?

@RainLoop
Copy link
Owner

postfix2

@imeldesign
Copy link

imeldesign commented Aug 1, 2016

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

@RainLoop
Copy link
Owner

RainLoop commented Aug 1, 2016

This is strange.

Try this: postfixadmin-change-password.zip

@imeldesign
Copy link

Hi,
The zip version is working perfectly. Thanks alot

@zilon84
Copy link

zilon84 commented Sep 17, 2016

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

@Schroeffu
Copy link

Same as zilon84, cannot find it too.

@Bbertatum
Copy link

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;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants