What to do if you notice suspicious email activity on cPanel Shared Hosting



Common suspicious email activity scenarios
Restoring email data from backups
Prevent future email-related compromise

This guide applies to email accounts hosted on cPanel Shared/Reseller Hosting services.

Suspicious email activity does not always mean that the mailbox itself was compromised. Depending on the situation, the issue may be related to unauthorized mailbox access, compromised website scripts, spoofing attempts, email configuration issues, or broader hosting account compromise.

Common signs include:

  • Emails appear in the 'Sent' folder that you did not send;
  • Contacts report receiving spam from your email address;
  • You receive password reset messages or login alerts you do not recognize;
  • The mailbox suddenly reaches the outgoing email limit;
  • You receive bounce-back messages for emails you never sent;
  • Emails, contacts, or mailbox folders disappear unexpectedly;
  • You notice email accounts you did not create;
  • DNS settings or email forwarding rules change without your knowledge;

If you notice one or several of these signs, continue reading the guide. 


Secure the mailbox and hosting account

Before proceeding with case-specific troubleshooting or recovery, consider securing access to the affected mailbox and hosting account.

Recommended actions:

If suspicious activity extends beyond the mailbox itself, review the malware scanning and account security checks from our main hosting compromise guide.


Common suspicious email activity scenarios

After securing access to the affected services, refer to the section that best matches the issue you are experiencing:


Deleted email accounts

In some cases, email accounts may disappear after unauthorized access to the hosting account or accidental account changes.


Unknown email accounts that were not created by you

If you notice email accounts that were not created by you, this may indicate unauthorized access to the hosting account.


If suspicious accounts continue to reappear after cleanup, contact our Support Team for additional investigation.


Missing or deleted email files

If emails disappeared unexpectedly, the issue is not always related to mailbox compromise or permanent data loss. In many cases, emails may still exist either on the server or inside an email application (for example, Outlook, Thunderbird, Apple Mail, or a mobile mail app).

Start by checking whether the missing emails are visible in cPanel Webmail and the email application you normally use.


Cannot access your email account

Losing access to an email account does not always mean that the mailbox was compromised. In some cases, the issue may be related to the following:

  • Incorrect credentials;
  • Outdated email client settings;
  • Firewall or IP-related blocks.

First, verify whether you can still access other services connected to the hosting account - cPanel, other mailboxes, websites hosted on the same cPanel account.


Spam sent from your mailbox

If emails are being sent from your hosting account without your knowledge, it is important to identify how the emails are being generated. The emails may originate from a mailbox, a website script, a contact form, or spoofed sender activity.

Start by reviewing the recent outgoing email activity and delivery attempts related to the hosting account using the Track Delivery menu in cPanel. Try to determine whether the outgoing activity matches the way your website normally sends emails.

The menu can be accessed from cPanel >> Email section >> Track Delivery:



After reviewing the outgoing activity, the next steps depend on how the emails appear in the logs.


Spoofed emails sent from your domain

Sometimes attackers may send emails that appear to come from your domain name even though they were not sent from your actual mailbox. This is commonly known as email spoofing.

If your email address is being spoofed, it does not necessarily mean that the mailbox itself was compromised. In many cases, attackers simply falsify the sender address while sending spam or phishing emails from external mail servers.

Common signs of spoofing include:

  • Bounce-back messages for emails you did not send;
  • Replies to messages you never created;
  • Spam complaints related to emails absent from your Sent folder.

Before treating the issue as spoofing, it is recommended to review recent mailbox activity, check the Sent folder, and change the mailbox password.

Protect your domain against spoofing

Although spoofing cannot be prevented completely because of how email systems work, properly configured SPF, DKIM, and DMARC records significantly reduce the chance of spoofed emails reaching recipients successfully.

  • SPF: specifies which servers are allowed to send emails on behalf of your domain;
  • DKIM: adds a digital signature to outgoing emails;
  • DMARC: defines how recipient servers should handle emails that fail SPF or DKIM validation.

You can review and configure these records using the Email Deliverability feature in cPanel.

Important:

  • Domains using local DNS* on the hosting server can manage records via cPanel;
  • Domains using Namecheap BasicDNS, PremiumDNS, or FreeDNS must manage records through the Namecheap dashboard;
  • Domains using external DNS providers must manage records directly through the provider managing the DNS zone.
*Local DNS refers to nameservers hosted on the same server as the hosting account, e.g. Namecheap Web Hosting DNS (dns1.namecheaphosting.com, dns2.namecheaphosting.com) for shared hosting. 

If SPF, DKIM, and DMARC records are already configured and shown as valid, you can also consider the additional hardening steps.


Restoring email data from backups

The following backup options may help restore missing mailbox data.

Mailbox data is stored inside the mail >> domain.com >> email_account_name directory. In most cases, individual mailboxes can be restored selectively from this folder without overwriting the rest of the hosting account.

Important: Full account restoration replaces all current account data with the contents of the selected backup and cannot be recovered afterward. If the account contains recent emails or other data not included in the backup, the selective (per-file) restore options below are recommended for email recovery, leaving full restoration for cases of broader hosting account compromise.


Restoring server-side backups

Server-side backups can be restored selectively, allowing individual mailbox folders to be recovered without affecting other account data.

  • Stellar Plus and Business users can review and restore individual mailbox folders using the per-file restore option of the AutoBackup plugin;
  • Stellar and Reseller Hosting users need to contact our Support Team to check whether server-side backups are available for restoration.

Restoring local backups manually

If a server-side backup is not available, but you previously downloaded or generated a cPanel backup manually, mailbox data can also be restored from it using the following guide.

The same mail/domain.com/email_account_name folder structure can be reviewed when restoring individual files through the AutoBackup plugin or from a manually generated backup.

After restoration, recreate the email account if it no longer exists.


Prevent future email-related compromise

To reduce the risk of similar issues in the future:

  • Update mailbox and hosting account passwords periodically;
  • Review outgoing email activity periodically using Track Delivery in cPanel;
  • Configure SPF, DKIM, and DMARC records for the domains;
  • Enable CAPTCHA protection for website contact forms where possible;
  • Periodically review the hosting account and websites for suspicious scripts, unauthorized changes, or unusual outgoing activity;
  • Avoid accessing mailboxes from untrusted devices.

If you have any questions or need assistance, feel free to get in touch via our Help Desk

Please note that, as a hosting provider, we do not specialize in malware analysis or manual malware removal. While we will review your situation and assist where possible, some of the checks and steps described in this guide may need to be performed independently or by a qualified security professional. You can review our support boundaries here.

Updated
Viewed
303 times

Need help? We're always here for you.

notmyip