Mailbox hijacked or spam sent from your address: here's how to clean up
Are you suddenly getting lots of error messages (bounces) about mail you never sent, are customers saying they're getting strange mail from you, or did we tell you that spam is being sent from your address? Then either someone really got into your mailbox, or someone is just using your address as the sender. Figure out which one it is first, because the approach is very different.
First, find out: taken over or spoofed?
| What do you see? | Mailbox taken over | Spoofed sender |
|---|---|---|
| Is the mail in your Sent folder or in E-Mail Usage in DirectAdmin? | Yes | No |
| The Sent column under E-Mail Accounts | Much higher than usual | Normal |
| A notice that the sending limit has been reached, or a message from us | Often | No |
| A forwarder, filter or autoresponder you don't recognise | Possibly | No |
| Bounces about mail to unknown addresses | Possible | Yes, often a lot |
You can read how to check E-Mail Usage and the Sent column in Sending limits and the 'message limit reached' notice.
Spoofed sender: nobody was in your mailbox
A sender address is just text. A spammer can send mail from their own server with your address as the sender, without ever getting into your mailbox. This is called spoofing. If the recipient rejects that mail, the error message goes to the address that was in it: you.
- Changing your password won't help here, because nobody had it.
- The real protection is DMARC. With it, you ask other mail servers to reject spoofed mail sent in your name. If your DMARC record is already set to
p=quarantineorp=reject, leave it that way. If it's set top=none, it doesn't protect you yet. Read What is DMARC? Explained in plain language and Setting up DMARC. - Throw the error messages away. A wave like this usually stops on its own after a few days.
Mailbox taken over: here's how to clean up
If someone has the password to your mailbox, they're really sending mail through our server, pretending to be you. Do the following right away, in this order:
- Work from a clean device. If you opened an attachment or installed something, change your passwords on a different device and scan the first one for viruses. Don't click links in the suspicious mail.
- Change the mailbox password in DirectAdmin, see Changing the password of an email address. The old password stops working immediately. Choose a new password of at least 15 characters, or a passphrase of five or six random words, generated by a password manager. See Secure passwords and what to do about a leaked password.
- Enter the new password on all your devices. A device that keeps trying the old password can get your IP address blocked, see Am I blocked? Unblock your IP address yourself.
- Look for back doors. Attackers like to set up a rule that forwards mail to their own address or instantly deletes mail from your bank. Remove anything you didn't create yourself in these places:
- Forwarders in DirectAdmin, and the Forwarding tab in My WebOké (Email and domain forwarding);
- Autoresponders and Vacation Messages;
- the filters in the webmail settings (Opening webmail), and the rules in your mail program;
- a different reply-to address in the settings of your webmail or mail program.
- Check your other accounts. If you used the same password anywhere else, change it there too. Start with My WebOké: setting a new password there logs you out on all other devices (Setting, changing or forgetting your password). Then check the active sessions and log out anything you don't recognise. For DirectAdmin, the steps are in the article on secure passwords above; for Nextcloud, see Viewing, revoking or remotely wiping devices and sessions, where you can also revoke app passwords.
- Contact us by opening a ticket in the Support Center. If spam is being sent from a mailbox, we may temporarily block sending to protect you and the other customers on the server. Change the password first; after that, we'll check together whether the mailbox is safe again and whether the server is on a blacklist.
- Limit the damage next time. Give the mailbox its own daily sending limit with Change Limits, see Changing the password or limits of an email address.
- Warn your contacts, especially if invoices or payments were involved. If the mailbox contained customers' personal data, check whether you need to report a data breach to the privacy regulator in your country (in the Netherlands, that's the Dutch Data Protection Authority).
- Report the phishing mail that started it all. In the Netherlands, you report it to the Fraudehelpdesk: preferably forward it as an attachment to valse-email@fraudehelpdesk.nl, so the technical details are preserved. You can report a text message or WhatsApp message via the reporting form. If you live in another country, report it to the fraud reporting centre there. If you've lost money, also file a report with the police.
How did someone get your password?
Usually through phishing: a fake email with a link to a counterfeit login page, for example "your mailbox is full". You can read how to spot one in Recognising phishing: how to read a link and a sender. Other causes: a password you also used on a website that was breached, a short password or a virus. A password manager creates a long, unique password for every mailbox, see Password managers and passkeys: how to log in securely.
Is your website sending the spam, or do you want more explanation? Read What to do if your email address has been misused.
Want to learn more? Take the free course Getting your email in order, lesson 3.4 Passwords and a misused email address: hacked or spoofed?, or the free course Staying safe online for business owners, lesson 3.5 Clicked: now what?
