1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

Duplicate users in poppassd ?

Discussion in 'Plesk for Linux - 8.x and Older' started by chroniton, Feb 27, 2005.

  1. chroniton

    chroniton Guest

    0
     
    When a user changes their password through the web mail (horde imp or squirrelmail) it appears to fail because the old password still works. Actually, both the old and new passwords work.

    The password change is done through the poppassd service (port 106) and I've confirmed that the duplicate password issue exists even when telneting to port 106 and changing the password directly.

    If you look in /var/qmail/users/poppasswd you will see a password entry for each past password.

    Is this a bug or an issue with my server?
     
  2. defencer

    defencer Guest

    0
     
    This is a bug in plesk. See this Hotfix for Plesk 7.5.2:

    http://www.sw-soft.com/en/download/plesk/patches/

    Don't forget to start mchk after hotfix applying
     
  3. chroniton

    chroniton Guest

    0
     
    Thanks for the suggestion. According to rpm, it's already installed:

    [root@host root]# rpm -Uhv psa-hotfix-7.5.2-rhel3.build75050204.16.i586.rpm
    Preparing... ########################################### [100%]
    package psa-hotfix-7.5.2-rhel3.build75050204.16 is already installed

    I tried running mchk again, the problem is still there.
     
  4. defencer

    defencer Guest

    0
     
    Try to start mchk with -v option

    # mchk -v

    and see it's output.
     
  5. chroniton

    chroniton Guest

    0
     
    mchk

    There is no output, it just returns a few seconds later:

    [root@host root]# /usr/local/psa/admin/sbin/mchk -v
    [root@host root]#

    In my /var/log/messages file, I see that qmail restarts during the mchk.

    When I look inside the psa patch rpm, I don't see where it updates the poppassd daemon ?
     
  6. defencer

    defencer Guest

    0
     
    This means that mchk works correct.

    I suppose, that bug is in mailmng utility, and poppassd daemon just call that utility. So just check once more your file with pop3 users.
     
  7. chroniton

    chroniton Guest

    0
     
    Duplicate users in poppassd

    Ok, I checked the file again, same issue. Now what ?
     
  8. defencer

    defencer Guest

    0
     
    SWsoft support, I think.
     
  9. zeki79

    zeki79 Guest

    0
     
    i have the same problem here...
     
  10. zeki79

    zeki79 Guest

    0
     
    chroniton, you resolved the problem?

    i get this messages when i try mchk -v :

    dreambox:~ # /usr/local/psa/admin/sbin/mchk -v
    mchk: popen_exec: command failed code: 64 , Specified mailname is invalid.
    For usage information start utility with '--help' option.

    mchk: popen_exec: command failed code: 64 , Specified mailname is invalid.
    For usage information start utility with '--help' option.

    dreambox:~ #
     
  11. chroniton

    chroniton Guest

    0
     
    RE:

    No, I have not solved this problem. I submitted a support ticket to SW-Soft last week and am still waiting for a reply.

    I do not get errors from my mchk though, it sounds like you may have a different issue.
     
  12. ViaHosting

    ViaHosting Basic Pleskian

    24
    23%
    Joined:
    May 6, 2004
    Messages:
    67
    Likes Received:
    0
    I have the same problem.

    This HotFix doesn't correct this problem.


    I notice that after changing the password, the poppassd creates a new entry at /var/qmail/users/poppasswd, instead of changing the password of the correspond user line.

    So we will have as many lines as we try to change the user password.

    The authentication program may pick up the first line, with the old password.


    The mchk clean the password file and rebuild it for the psa database.
    It fix the wrong lines until the next change.
     
  13. chroniton

    chroniton Guest

    0
     
    mailmng

    Also, I notice that if you change the user's password using mailmng, the change is successful and there are no duplicate lines. This issue appears limited to just the poppassd daemon.
     
  14. ViaHosting

    ViaHosting Basic Pleskian

    24
    23%
    Joined:
    May 6, 2004
    Messages:
    67
    Likes Received:
    0
    Bug in poppassd - CONFIRMED

    I had confirmed that the problem is at poppassd.

    If you change the password using telnet at port 106, you will have duplicated records at /var/qmail/users/poppasswd.

    This is the same deamon used by webmail to change the password.
     
Loading...