How to Stop Spam from Random Email Addresses in Outlook
If you’ve been getting spam from email addresses that look like a keyboard smash — long strings of random letters and numbers — and your Outlook rules just aren’t catching them, you’re not alone. The frustrating truth is that those rules are probably working fine. The problem is the spam itself.
🤔 Why Your Email Rules Aren’t Working
When spam comes from randomly generated addresses, the sender is almost certainly changing the address with every single message — even if the changes are subtle. A zero gets swapped for the letter O. A lowercase L becomes a capital I. The address looks similar but it’s technically different every time, so a rule built around an exact address match will miss most of them.
This is a deliberate tactic used by spammers to stay one step ahead of filters. No matter how many addresses you block individually, they’ll keep slipping through.
✅ What to Target Instead
The key is to stop chasing the address and start looking for something consistent across every message. Spammers rotate addresses, but they often reuse the same templates, domains, or wording. Here’s what to focus on:
1. Partial Domain Match
Even if the username part of the address changes, the domain (@example.com) often stays the same — or starts with the same characters. In Outlook.com, go to Settings → Email → Rules → Add new rule. Set the condition to “Sender address includes” and enter just the domain fragment, such as @YPQ4 or the full domain like @spammydomain.ru. This catches every address from that source regardless of what comes before the @.
2. Subject Line Keywords
If the spam messages share recurring words or phrases in the subject line — a product name, a promotional phrase, or a suspicious keyword — create a rule that matches on “Subject includes” and enter that term. One rule can catch dozens of variations in one go.
3. Body Text Phrases
Spammers frequently reuse the same message template even when rotating sender addresses. If you spot a consistent phrase, link, or call to action in the email body, use “Body includes” as your rule condition. This is often the most reliable option.
🧹 Use Outlook’s Sweep Tool
For a quicker fix that doesn’t require building a rule, try Outlook’s built-in Sweep feature. Right-click any spam message, choose Sweep, and select the option to delete all messages from that domain — now and in future. It’s a fast way to nuke an entire sending domain with a couple of clicks.
📊 Train Outlook’s Spam Filter
Every time you manually report a message as junk rather than just deleting it, you’re helping Outlook’s spam filter learn. Over time it gets better at catching similar messages before they reach your inbox. It’s not a silver bullet, but consistently hitting Report → Junk on these messages does make a difference.
How to Set Up a Rule in Outlook.com
If you’re new to Outlook rules, here’s the quick version:
- Click the Settings cog in the top-right corner
- Go to Email → Rules
- Click Add new rule
- Give the rule a name, then set your condition — for example, Sender address includes →
@spammydomain - Set the action — Delete, or Move to Junk, or forward then delete
- Click Add another action if you want multiple steps
- Click Save to activate
Final Thoughts
Random-address spam is deliberately designed to defeat exact-match filters. The fix is to shift your rules away from the full address and target something the spammer can’t easily randomise — the domain, the subject line, or the message body. A single well-crafted rule targeting a consistent fragment will do more work than dozens of address-specific blocks ever could.
