Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

In Progress [CPANEL-21848] Reset email password not working

Discussion in 'E-mail Discussion' started by Samanosuke, Jul 19, 2018.

  1. Samanosuke

    Samanosuke Registered

    Joined:
    Jul 19, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    world
    cPanel Access Level:
    Root Administrator
    I'm trying to use the reset password feature from the webmail login page but the email with the security code is never sent, if I click send code again I get this error
    also in /usr/local/cpanel/logs/error_log I get this
    not sure if it's just a warning or the reason why it doesn't work, I've tried on 2 different 72.0.10 servers and it doesn't work on either of them, I've also checked the exim logs and there's no trace of such email
     
  2. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    722
    Likes Received:
    245
    Trophy Points:
    93
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    v72.0.10

    Remember you are changing the cPanel account password from the password reset on the webmail screen ... NOT... an email password.

    I tried it and the first page asks for the cPanel account username followed by the associated contact address (which it even gives you a redacted hint as to what email address it should be)

    I then got an email to the address I had just input; with a security code that I then input when prompted.

    The next screen gave me the password reset and generator dialogue, and when I had completed that, I got another email stating that the password for the :
    • ftp
    • mail
    • MySQL
    • system
    had been successfully changed.

    I wonder if you had mistakenly input an email address instead of the cPanel username ?

    To change an email address password, you must first log into the webmail using an email address and its associated existing password, and then call the Contact Information from the drop-down (top right on the account name)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #2 rpvw, Jul 19, 2018
    Last edited: Jul 19, 2018
  3. Samanosuke

    Samanosuke Registered

    Joined:
    Jul 19, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    world
    cPanel Access Level:
    Root Administrator
    no I mean the user email account not the cpanel user, I'm using the reset password link from the webmail login page the one on port 2096, it was added a couple of years ago Password Reset for All | cPanel Blog
     
  4. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    722
    Likes Received:
    245
    Trophy Points:
    93
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    I read what it said in the blog, and I agree that it does look like one should be able to reset a mail account password

    BUT

    It does state sub accounts - and you must enter the contact email address to allow Subaccount users to use the Reset Password feature or to allow the user to set their own password ...... and the Reset Password for Subaccount option in WHM's Tweak Settings interface (WHM >> Home >> Server Configuration >> Tweak Settings) must be enabled.

    I find the whole interface unintuitive in the extreme, and there ought to be a link in the page of existing email accounts to convert them to a sub account, as it does not seem possible to convert an existing email account into a sub account using the add account dialogue.

    So YES - it does work, but only if the email account was set up as a sub account in the user manager in the first place !

    UPDATE

    OK so my apologies cPanel - it does seem to be possible to convert the email account into a sub account from the User Manager Page and add a contact email address - after which the password reset (for the sub account) works as advertised :-D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #4 rpvw, Jul 19, 2018
    Last edited: Jul 19, 2018
  5. Samanosuke

    Samanosuke Registered

    Joined:
    Jul 19, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    world
    cPanel Access Level:
    Root Administrator
    ok so I took a look at user manager and it does work if I put an email as contact email address but I'm pretty sure it worked before without that, also it doesn't match the one in the user contact information page which clearly state that it's the one used for password reset
     
  6. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    722
    Likes Received:
    245
    Trophy Points:
    93
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    I have no idea if, or how, it used to work. To be honest it is the first time I have looked at it.

    How an end user is supposed to work out how to use this facility is a mystery !

    I think that cPanel had a great idea here, but the implementation somehow lost its way and ended up being terribly wrong, and the whole interface(s) presentation and end user logic now needs some considerable overhaul.

    Personally I would start by taking the email addresses out of the user manager until they have been converted to a sub account - and the conversion process should start at the email list page (it might be useful to have some dialogue at the create email stage about converting to a sub account as well) rather than at the user management page.

    Only after an email address has been converted to a sub account would it be listed in the user management page with the options to add ftp and webdisk etc.

    I also think some attention should be made to clearly define and somehow distance the contact address for the cPanel account holder and a contact address for a sub account - as @Samanosuke pointed out - I am sure this will confuse end users as it stands. (It sure confused both of my brain cells :( )

    I would like to think that cPanel developers would be grateful for any other ideas or points of view on how this feature could be better presented to the end user.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    cPanelLauren likes this.
  7. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    2,212
    Likes Received:
    159
    Trophy Points:
    143
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @Samanosuke

    We have a case open for this right now CPANEL-21848 (there are a couple of others that are linked to this as well but this one being directly related).

    Basically, the issue is that until you modify the account in the User Manager to make it a "subaccount" you will not be able to change the password this way. Once you modify the account (by changing any data) in the user manager this should function normally.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice