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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED Email Account Suspended

Discussion in 'E-mail Discussions' started by Sarako, Jun 6, 2017.

  1. Sarako

    Sarako Registered

    Joined:
    Jun 6, 2017
    Messages:
    2
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Greece
    cPanel Access Level:
    Root Administrator
    Hi all,

    A customer couldn't login to his email account.
    I checked in cPanel and saw that his email account is suspended.

    My question is how this may have happened?
    Is there any mechanism in cPanel/WHM that auto-suspends email accounts, or this can only happen manually from the cPanel interface?
     
  2. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    599
    Likes Received:
    92
    Trophy Points:
    153
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    Hello,

    Run the following in SSH:

    Code:
    grep "uapi_module=Email&uapi_func=suspend_login&uapi_data" /usr/local/cpanel/logs/access_log
    To the right of uapi_data you will see the email that is being suspended. Then further to the left of that hit check the URL that is being posted to, does it end in 2082/2083, if so it means someone suspended it via cPanel. I don't believe there is a way to suspend emails through WHM, but there is a way to do it via API:

    UAPI Functions - Email::suspend_login - Software Development Kit - cPanel Documentation
     
  3. Sarako

    Sarako Registered

    Joined:
    Jun 6, 2017
    Messages:
    2
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Greece
    cPanel Access Level:
    Root Administrator
    Result: someone suspended it via cPanel.
    Thanks
     
    Infopro likes this.
  4. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    599
    Likes Received:
    92
    Trophy Points:
    153
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    Glad to hear you found the culprit :)
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    I'm happy to see the issue was addressed. Thank you for updating us with the outcome.
     
Loading...

Share This Page