My email account is sending spam
Signs a mailbox has been compromised, how to secure it, check for rules and forwarders an attacker added, and recover your sending reputation.
On this page
Does this match what you’re seeing?
- You receive bounces for messages you didn’t send
- Contacts report spam or phishing from your address
- Sent folder contains messages you don’t recognise
First: is it really your account?
Bounces for mail you didn’t send, with nothing in your Sent folder, often mean someone is forging your address from elsewhere — not that your mailbox was accessed. SPF, DKIM and a DMARC policy make forgeries fail. SPF, DKIM and DMARC explained
Messages in your Sent folder you didn’t write, or recipients receiving mail that genuinely came from your server, mean the account itself is compromised. Continue below.
Secure the account
- From a clean device, change the mailbox password in E-mail Manager › E-mail Accounts. How to change an email account password
- Update the password in your own apps.
- Check any device where you log in to email for malware.
Check for what the attacker left behind
- Forwarders you didn’t create in E-mail Manager › Forwarders
- Autoresponders or vacation messages containing links
- Webmail filters forwarding or deleting messages
- Identities in webmail with a changed reply-to address
Find out how
- Did you enter the password on a login page from an email? Recognising phishing emails that pretend to be your host
- Was the password reused elsewhere? Strong passwords and password managers
- Is it saved on a shared or unmaintained computer?
Afterwards
- Check your domain and the server IP on blocklists. Email blacklists (blocklists): how to check and what to do
- If mail is being rejected, the bounces explain why. Understanding email bounce messages
Prefer to follow along?
- Diagnose email delivery problems
Advanced · 40 min
If it doesn’t work
These guides cover the most common problems, starting with what you can see. Or browse every fix for a common problem.
- My website has been hacked: what to doThe signs a site is compromised and a clear recovery order: contain, preserve, restore or clean, close the hole, and check search engines.
- Website redirecting to spam or scam sitesWhy a site redirects some visitors to spam, where the redirect code usually hides — .htaccess, PHP files, the database, JavaScript — and how to remove it.
Common questions
How do I know if my email account has been compromised?
The usual signs are bounce messages for mail you never sent, contacts receiving spam from your address, or sent items you do not recognise. Change the mailbox password immediately, then check for forwarding rules an attacker may have added.
Note that spam claiming to be *from* your address does not by itself mean the account was broken into — sender addresses are trivial to forge. Proper SPF, DKIM and DMARC records are what stop that forgery being accepted.
Spotted something out of date or unclear? Tell us and we’ll fix it.