Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: poppassd - password change Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
bluesun08
Newbie
Newbie


Joined: 14 May 2014
Online Status: Offline
Posts: 11
Posted: 14 May 2014 at 12:23am | IP Logged Quote bluesun08

Hi,

Just activate the poppassd plugin on my installation in data/settings/config.php with the following options:

     'plugins.poppassd-change-password' => true,
     'plugins.poppassd-change-password.config.host' => "IP-Address",
     'plugins.poppassd-change-password.config.port' => 106

Also i have installed POPPASSD on my serverto allow user to change their password. A "telnet localhost 106" give me
Escape character is '^]'.
200 poppassd v1.2 hello, who are you?

Now i can't see a new field in WebMail Pro to change the password.
Where is the field? What goes wrong?

Best regards

Alex
Back to Top View bluesun08's Profile Search for other posts by bluesun08
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 14 May 2014 at 12:36am | IP Logged Quote Igor

There should be "Change Password" button under Settings > Email Accounts > Properties.

Note that it's not enough to activate the plugin in config.php file, make sure the plugin itself is actually placed to data/plugins/poppassd-change-password/index.php location. By default it resides under examples directory, just copy or move it from there.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
bluesun08
Newbie
Newbie


Joined: 14 May 2014
Online Status: Offline
Posts: 11
Posted: 14 May 2014 at 1:16pm | IP Logged Quote bluesun08

o.k. now i placed the plugin-index.php to data/plugins/poppassd-change-password/index.php. But there isn't a "Change Password" button under Settings > Email Accounts > Properties.

Is there a log-file where i can see, what went wrong?
Can i see the Button in the Webmail-Live-Demo?
Back to Top View bluesun08's Profile Search for other posts by bluesun08
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 14 May 2014 at 10:53pm | IP Logged Quote Igor

Assuming the plugin is placed and activated correctly, there's probably one explanation why it won't work in a particular case. Plugin runs a check if user can change password for the account, and since that's possible for local accounts only, it compares IMAP hostname of an account with IMAP hostname supplied in default domain settings (which is 127.0.0.1 by default). So you need to make sure those are set to the same value for your domain/account.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
bluesun08
Newbie
Newbie


Joined: 14 May 2014
Online Status: Offline
Posts: 11
Posted: 15 May 2014 at 6:49am | IP Logged Quote bluesun08

ok. only for my understanding: i run a dovecot-imap-server and authenticate the user with two types:
1. Virtual users via password-file: http://wiki2.dovecot.org/AuthDatabase/PasswdFile
2. System users via pam: http://wiki2.dovecot.org/PasswordDatabase/PAM

Can i use the the POPPASSD-plugin for both authentication types or only für 1) or 2) ?

Back to Top View bluesun08's Profile Search for other posts by bluesun08
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 15 May 2014 at 6:54am | IP Logged Quote Igor

That's unrelated to the plugin, it's up to actual POPPASSD service you have running there next to your mailserver, plugin merely talks to the service.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
bluesun08
Newbie
Newbie


Joined: 14 May 2014
Online Status: Offline
Posts: 11
Posted: 17 May 2014 at 12:49pm | IP Logged Quote bluesun08

I can't get working POPPASSD with my File-based authentication in Dovecot.
So i decide to switch to data-based authentication. Is there a Webmail-Plugin to change passwords which stored in a MySQL database?
Back to Top View bluesun08's Profile Search for other posts by bluesun08
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 19 May 2014 at 1:38am | IP Logged Quote Igor

Yes there is one: Password change for ISPConfig

It was actually created by one of our clients, they used POPPASSD plugin as a starting point. And though it was designed for specific control panel software, all it does is changing password in the database so you should be able to adapt that to MySQL database structure you use.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide