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!

Disabling an user does delete all emails?

Discussion in 'General Discussion' started by Juan Inostroza, Mar 7, 2018.

  1. Juan Inostroza

    Juan Inostroza Registered

    Joined:
    Mar 7, 2018
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Chile
    cPanel Access Level:
    Root Administrator
    Hello everyone,

    just happened with a customer. It started when a user tries to change its password and cannot. The procedure the operator had was to disable the user and reenabling the user. At that time, all the email from the user is gone.

    So, disabling the user does delete its home directory? Is there a way to avoid this behaviour?

    Kind regards,
    --J
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,885
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Can you verify the specific steps used to disable the account?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Juan Inostroza

    Juan Inostroza Registered

    Joined:
    Mar 7, 2018
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Chile
    cPanel Access Level:
    Root Administrator
    Sure.

    Home -> Manage users -> Edit user -> Edit Services -> Disable Email.

    Then the same.

    Home -> Manage users -> Edit user -> Edit Services -> Enable Email.

    It's cpanel 58.0.32.

    Kind regards,
    --J
     
  4. Juan Inostroza

    Juan Inostroza Registered

    Joined:
    Mar 7, 2018
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Chile
    cPanel Access Level:
    Root Administrator
    Confirmed the behavior on two different instances of Cpanel. The home directory for the email is gone after disabling the email service (which it's a completely different result, I expect the directory to not be deleted).

    Is there a way to keep the mail directory? (move it to a different directory, rename it to user.disabled or changing the filesystem permissions to the directory, etc).

    Disabling the service should not delete the directory, in case I want to enable it again.

    Kind regards,
    --J
     
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,885
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    I've opened internal case CPANEL-19024 to report that disabling the email service for a user via the "Edit" option in "cPanel >> User Manager" permanently deletes any existing emails stored for that email account on the server. This can lead to confusion because we don't a provide a warning in the UI noting this behavior. I'll monitor the case and update this thread with more information as it becomes available.

    In the meantime, I recommend suspending the email account instead of disabling it via the User Manager if you want to block access to it:

    Email Accounts - Version 70 Documentation - cPanel Documentation

    Additionally, note that cPanel version 58 is at end-of-life status:

    cPanel & WHM Version 58 now EOL | cPanel Newsroom

    Is there anything we can do to help you upgrade to a supported version of cPanel?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Juan Inostroza

    Juan Inostroza Registered

    Joined:
    Mar 7, 2018
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Chile
    cPanel Access Level:
    Root Administrator
    Thank you very much for your response. Regarding Cpanel version, it's a managed legacy version and cannot change version, so I'll have to keep it until having a green light for update.
     
    cPanelMichael likes this.
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