| Author |  | 
      
        | bluesun08 Newbie
 
  
 
 Joined: 14 May 2014
 Online Status: Offline
 Posts: 11
 | 
          Hi,
           | Posted: 14 May 2014 at 12:23am | IP Logged |   |  
           | 
 |  
 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 |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          There should be "Change Password" button under Settings > Email Accounts > Properties.
           | Posted: 14 May 2014 at 12:36am | IP Logged |   |  
           | 
 |  
 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 |     | 
       
       
        |  | 
        | bluesun08 Newbie
 
  
 
 Joined: 14 May 2014
 Online Status: Offline
 Posts: 11
 | 
          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.
           | Posted: 14 May 2014 at 1:16pm | IP Logged |   |  
           | 
 |  
 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 |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          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.
           | Posted: 14 May 2014 at 10:53pm | IP Logged |   |  
           | 
 |  
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | bluesun08 Newbie
 
  
 
 Joined: 14 May 2014
 Online Status: Offline
 Posts: 11
 | 
          ok. only for my understanding: i run a dovecot-imap-server and authenticate the user with two types:
           | Posted: 15 May 2014 at 6:49am | IP Logged |   |  
           | 
 |  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 |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          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.
           | Posted: 15 May 2014 at 6:54am | IP Logged |   |  
           | 
 |  
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | bluesun08 Newbie
 
  
 
 Joined: 14 May 2014
 Online Status: Offline
 Posts: 11
 | 
          I can't get working POPPASSD with my File-based authentication in Dovecot.
           | Posted: 17 May 2014 at 12:49pm | IP Logged |   |  
           | 
 |  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 |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          Yes there is one: Password change for ISPConfig
           | Posted: 19 May 2014 at 1:38am | IP Logged |   |  
           | 
 |  
 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 |     | 
       
       
        |  |