+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15

Thread: New File Added: Plesk Password Change

  1. #1
    mromero's Avatar
    mromero is offline Subscriber
    Join Date
    Apr 2008
    Location
    Lubbock, TX
    Posts
    20
    Downloads
    1
    Uploads
    1

    Default New File Added: Plesk Password Change

    Downloads: A new file has been added by mromero:

    Plesk Password Change

    UPDATE: This release is for RoundCube v0.1.1

    I am pleased to release a modification to the cPanel patch released by Heritz to make it Plesk compatible. I have developed it work on the same machine that the IMAP server is running on, and have only tested it on Plesk 8.3 for Linux.

    For instructions on how to setup Roundcube to be the default webmail client for Plesk check out this post: http://roundcubeforum.net/forum/index.php?topic=1667.0 (Requires root access)
    Original CPanel Patch by Heritz: http://roundcubeforum.net/forum/index.php?topic=711.0

    How to install:
    1. Download the patch from the first link above.
    2. Extract the uploaded files on your local hard drive, or into a temp directory on your server
    3. Upload / move the files to the extracted files to your Roundcube installation directory, replacing as necessary.

    How to install (Advanced, *nix):
    Requirements: FTP & SSH access, info-zip (or other unzip utility)

    1. Upload the .zip into your roundcube installation directory
    2. SSH into your server
    3. cd /my/install/dir (replace /my/install/dir with the base directory of your roundcube installation)
    4. unzip -o roundcubemail-0.1.1_patch_Plesk.zip

    Standard Legal Notice: I make absolutely, positively NO guarantee that this patch will work with your server. I am not responsible for any damages that may result from the installation, or utilization of this patch to your Roundcube installation or your server. USE AT YOUR OWN RISK.
    Last edited by mromero; 05-18-2008 at 11:37 PM. Reason: Fixed some typos

  2. #2
    mromero's Avatar
    mromero is offline Subscriber
    Join Date
    Apr 2008
    Location
    Lubbock, TX
    Posts
    20
    Downloads
    1
    Uploads
    1

  3. #3
    crusher is offline Registered User
    Join Date
    May 2008
    Posts
    24
    Downloads
    1
    Uploads
    0

    Default

    thanks for doing this great addon!

    but unfortunalety it says "current password incorrect"
    password is 100% correct as i can successfully login with it.

    any ideas?
    i'm using plesk 8.4.0 & rc 0.1.1

    kind regards
    crusher

  4. #4
    mromero's Avatar
    mromero is offline Subscriber
    Join Date
    Apr 2008
    Location
    Lubbock, TX
    Posts
    20
    Downloads
    1
    Uploads
    1

    Default

    Did you upgrade your Plesk install before after you applied the patch? Also what OS is your server running.

  5. #5
    nickfromdc is offline Registered User
    Join Date
    May 2008
    Posts
    2
    Downloads
    2
    Uploads
    0

    Default

    I was having the same issue. It turned out to be a problem with my poppassd authentication system. After I made the change, I had no problems at all.

    Thanks for the great plugin!

  6. #6
    crusher is offline Registered User
    Join Date
    May 2008
    Posts
    24
    Downloads
    1
    Uploads
    0

    Default

    Quote Originally Posted by mromero View Post
    Did you upgrade your Plesk install before after you applied the patch? Also what OS is your server running.
    Yes, Upgrade to 8.4.0 was done before applying the patch. I'm on OpenSuse 10.1.

    Quote Originally Posted by nickfromdc View Post
    After I made the change, I had no problems at all.
    What change did you exactly mean?

    Edit: After realizing that first there was no poppassd installed i dit that. Now I got:

    whereis poppassd
    poppassd: /usr/sbin/poppassd
    ---
    telnet localhost 106
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    200 h1393804 poppassd v1.6a hello, who are you?

    500 Username required.
    Connection closed by foreign host.

    So I think poppassd is up and running now.
    But further on I can't change password under RC. Same Error "Current Password incorrect"
    Last edited by crusher; 05-30-2008 at 11:07 AM.

  7. #7
    mromero's Avatar
    mromero is offline Subscriber
    Join Date
    Apr 2008
    Location
    Lubbock, TX
    Posts
    20
    Downloads
    1
    Uploads
    1

    Default

    I am wondering if it is because poppassd was installed after the mailboxes were created. Have you test to see if you can change a password manually via telnet?

    In case you need instructions:

    telnet localhost 106
    Trying 127.0.0.1...
    Connected to localhost.localdomain (127.0.0.1).
    Escape character is '^]'.
    200 poppassd hello, who are you?
    user myfullemail@mydomain.com
    200 Your password please.
    pass myOldPassword
    200 Your new password please.
    newpass myNewPassword
    200 Password changed, thank-you.

  8. #8
    crusher is offline Registered User
    Join Date
    May 2008
    Posts
    24
    Downloads
    1
    Uploads
    0

    Default

    Hmm I can't change the password manually. Even for new created mailbox.

    telnet localhost 106
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    200 h1393804 poppassd v1.6a hello, who are you?
    test@schindler-net.org
    500 Username required.
    Connection closed by foreign host.

    I installed poppassd as described here -> http://blog.irwan.name/?p=228

    I really don't know what's wrong.

    If you have no more idea, I guess I have to restore a backup with default Horde installation.
    I think poppassd is installed there because Horde does use the same technique, does it?
    Probably poppassd got deinstalled when I deinstalled horde packages (without knowing Plesk update will install it again) and new installation of poppassd as mentioned above doesn't work for any reason.

  9. #9
    mromero's Avatar
    mromero is offline Subscriber
    Join Date
    Apr 2008
    Location
    Lubbock, TX
    Posts
    20
    Downloads
    1
    Uploads
    1

    Default

    You have to type user in front of the username, it should be:
    user test@schindler-net.org

    EDIT: Also I am curious as to what Horde used to change your passwords, in your old horde directory look in the /passwd/config/backends.php file and look for something similar to :

    (Mine is poppassd, yours will probably be different)
    $backends['poppassd'] = array(
    'name' => 'Poppassd Server',
    'preferred' => '',
    'password policy' => array(),
    'driver' => 'poppassd',
    'params' => array(
    'host' => 'localhost',
    'port' => 106
    )
    );
    Last edited by mromero; 05-31-2008 at 02:18 PM.

  10. #10
    crusher is offline Registered User
    Join Date
    May 2008
    Posts
    24
    Downloads
    1
    Uploads
    0

    Default

    I completely reinstalled the server. Poppassd is working now. I can change password manually through telnet and so in horde (backends.php: poppassd).
    But RC still refuses to change password with alert "Current Password incorrect".
    Firewall setting is OK I think as it allows all connections for changing mail password: /usr/sbin/iptables -A INPUT -p tcp --dport 106 -j ACCEPT
    It's very strange that horde now is able to change password but RC isn't as for both use poppassd on port 106...

    What can the problem now be? I go crazy with this
    Last edited by crusher; 06-02-2008 at 07:01 PM.

+ Reply to Thread
Page 1 of 2 1 2 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts