Email & webmail

Secure a cPanel email account: passwords, suspended logins and compromised mailboxes

Change a mailbox password in cPanel, suspend logins or incoming mail, and what to do when an email account is hacked and sending spam.

IntermediatecPanel hosting2 min read

Email accounts are a favourite target for attackers: a guessed or phished password lets them send thousands of spam messages from your domain, which hurts deliverability for everyone. cPanel gives you the controls to change passwords, temporarily suspend an account and investigate what happened.

Before you start

  • Access to cPanel for the domain.
  • A password manager, so every mailbox has a long unique password.

Change a mailbox password

  1. Open cPanel → Email → Email Accounts.
  2. Click Manage next to the address.
  3. Under Security → New Password, type a new password or click Generate. Aim for 16+ characters.
  4. Click Update Email Settings.
  5. Give the new password to the mailbox owner through a safe channel, and update all their devices.

Tip: cPanel's password strength meter must reach the server's minimum. If the button is grey, the password is too weak.

Suspend or restrict an account

On the same Manage page you can control three things independently:

OptionEffectUse it when
Receiving Incoming Mail: SuspendMail is rejected for this addressA former employee's address should stop receiving
Sending Outgoing Email: Suspend or HoldOutgoing mail is blocked, or queued for reviewThe account is sending spam
Logging In: SuspendNo webmail, IMAP or POP3 loginYou suspect a stolen password

Click Update Email Settings after changing. Unlike deleting, suspending keeps all stored mail.

If an account is compromised

Signs: bounce messages for mail you did not send, complaints from contacts, a sudden "max emails per hour exceeded" notice, or the account shown as suspended for outgoing mail by our team.

  1. Suspend outgoing mail for the address as above.
  2. Change the password to a new unique one.
  3. Scan the user's computer and phone for malware; many thefts come from infected devices or saved passwords in browsers.
  4. Check filters and forwarders the attacker may have added: Email → Forwarders, Email Filters and Roundcube Settings → Filters and Identities.
  5. Look at Track Delivery to see how much was sent and to whom. See Track Delivery.
  6. Open a support ticket. We can clear queued spam from the server and check whether the server IP needs delisting.
  7. When everything is clean, set outgoing mail back to Allow.

Keep mailboxes safe

  • Never reuse an email password on other websites.
  • Be careful with "your mailbox is full, log in here" messages: they are phishing. Real quota notices from cPanel never ask for your password via a link.
  • Protect the cPanel account itself with two-factor authentication; a stolen cPanel login can reset every mailbox.
  • Delete unused mailboxes rather than leaving them with old passwords.

Next steps

Was this guide helpful?

Still stuck?

Ask MdmHost AI for a quick answer, or open a ticket and our team will take a look. We are here 24/7.