What Is Incoming Email Filtering?
Incoming email filtering inspects every message sent to your domain before delivery. Learn the stages, the possible outcomes and how to run it without losing good mail.
9 min readUpdated Nov 22, 2026By XPASS Editorial Team

Every email that arrives at your domain has crossed the open internet and been handed over by a server you have never met. Incoming email filtering is the process of examining that message, quickly and automatically, before it reaches a person. It is one of the oldest and most useful layers in mail security, and it is also one of the least understood. This article explains how it works, what it looks at, what can happen to a message, and where to be careful.
We will describe the idea in general terms. Features differ between services and plans, so check the product page for what a specific plan includes.
The journey of an incoming message
When someone sends you an email, their mail server looks up your domain's MX records in DNS to find out where to deliver. It then opens a connection to that host and speaks SMTP, the protocol described in RFC 5321. A simplified conversation goes like this:
- The sending server connects and introduces itself.
- It names the envelope sender (MAIL FROM) and each envelope recipient (RCPT TO).
- If the receiver accepts the recipients, the sender transmits the message headers and body.
- The receiver accepts or rejects the message and the connection closes.
A filtering service sits in the receiver's position. If you use a cloud filter, your MX records point to it, so it is the first server to take the call. It can make decisions at several moments in that conversation, and the moment matters: refusing a message early costs less and is cleaner than accepting it and then discarding it.

Stage one: checks at connection time
Before any message content is sent, the filter already knows several things.
- The connecting IP address. Has it a history of sending unwanted mail? Is it a residential or dynamic address that should not be sending mail directly? Does it have valid reverse DNS?
- The announced name. Does the name the server uses to introduce itself match what DNS says about the address?
- Behaviour. How many connections is it opening, and how many recipients is it trying at once? Bulk senders and scanners often look different from ordinary mail servers.
Connections that fail these checks can be refused or slowed before any content has to be examined. This stage saves resources, because most of the junk in the world is stopped here and never needs deeper analysis.
Stage two: checks on the envelope and the recipients
Next the filter looks at who the message claims to be from and who it is for.
- Recipient validation. If the message is addressed to a mailbox that does not exist in your domain, the filter can reject it immediately. Without this, junk addressed to made-up names (a common tactic called a dictionary attack) would be accepted and then bounce, wasting resources and sometimes producing misleading bounce messages.
- Sender authentication. The filter checks whether the sending server is permitted by the sender domain's SPF record (RFC 7208). It may also validate a DKIM signature (RFC 6376) and apply the sender's DMARC policy (RFC 7489).
- Allow and block lists. Addresses or domains you have explicitly trusted or blocked are applied here.
An SPF or DKIM failure is a signal, not always a verdict. Legitimate mail can fail when a mailing list rewrites a message or when a forwarder resends it. Good filters therefore weigh authentication results together with other evidence instead of acting on a single failure.
Stage three: checks on the content
If the message passes the earlier stages, the filter examines what is inside it.
| What is examined | Examples of what is looked for |
|---|---|
| Headers | Inconsistencies, forged routing details, odd character sets |
| Text and structure | Spam-like phrasing, hidden text, mismatched HTML and plain text |
| Links | Destinations known for scams or malware, redirect chains, lookalike domains |
| Attachments | Known malicious files, risky file types, archives with executable content |
| Impersonation | A display name that matches a person in your organisation but an unrelated address |
| Language and layout | Patterns similar to previously reported campaigns |
Filters usually combine many small signals into a score rather than relying on one rule. A message that has one odd feature may pass, while a message with several is held. Providers also update their signatures and models continuously, because attackers change their wording and infrastructure.
What can happen to a message
Once the checks finish, the filter chooses an outcome. The exact options depend on the service, but the typical set is:
- Deliver. The message is clean and is passed to your real mail server.
- Deliver with a mark. The message is delivered, but a tag is added to the subject or a header so that a mailbox rule can sort it.
- Quarantine. The message is stored outside the mailbox for review. Users or administrators can release it.
- Reject. The message is refused during the SMTP conversation. The sending server is told, so a real sender receives a bounce.
- Silently discard. Rare and risky, because a legitimate sender gets no feedback. Most administrators avoid it.
Rejecting during the conversation is generally preferred to accepting and bouncing later. If you accept a forged message and then send a bounce, the bounce goes to the person whose address was forged, which adds to the noise on the internet. A filter that refuses at the door avoids that.
A worked example
Suppose a small accounting firm uses a cloud filter for its domain. On a Monday morning three messages arrive.
The first is a normal email from a client. The sending server has a good history and valid DNS. The client's domain publishes SPF and DKIM and both pass. The text is ordinary and there is a single PDF attachment from a known client. The filter delivers it to the firm's mail server.
The second is addressed to a name that does not exist in the firm's domain, from a server with a poor reputation. The filter rejects it during the conversation, and the message never reaches the firm.
The third claims to be from the firm's managing partner, using his name in the display name, but it comes from a public webmail address and asks the bookkeeper to buy gift cards. The sender passes basic checks, because the webmail service authenticates its own mail honestly. The content analysis and impersonation check mark it as suspicious, and the filter quarantines it. The bookkeeper never sees it, and the administrator sees it on the quarantine report.
Three messages, three different outcomes, and none required the staff to make a decision.
Allow lists, block lists and quarantine in daily use
Most of the day-to-day work of running a filter is about three tools.
Allow lists tell the filter to trust a sender, a domain or an address. They are useful for a partner whose newsletters keep being held, but they are also a risk: if you allow a whole domain, a forged message that claims that domain may skip checks it should have faced. Prefer narrow entries, such as one address instead of a whole domain, and review the list every few months to remove entries nobody needs.
Block lists do the opposite. They are best for persistent unwanted senders you have already identified. Because spammers rotate addresses and domains, a block list is a patch, not a strategy. The filter's own reputation data will do most of the work.
Quarantine is where the judgment calls land. A useful routine is simple: someone looks at the list each working day at first, releases anything legitimate, and notes why it was held. After a few weeks, patterns appear. If the same trusted sender is held again and again, adjust the rule or add a narrow allow entry. If a type of message is never legitimate, tighten the policy. Over time the daily review becomes a short weekly check.
When staff ask "why did my message not arrive", the quarantine report and the filter's message log are the first places to look. Many services show the reason a message was held, such as a failed authentication check or a content score, which makes it easier to explain the result to the sender and to decide whether to change a rule. Keep a short record of the changes you make and the reason, so that a later administrator can understand the configuration without guessing.
Setting it up well
If you decide to use incoming filtering, these practices help it behave predictably.
- List all your domains. Include aliases and secondary domains, or mail to them will bypass the filter.
- Set up recipient validation so the filter rejects mail for non-existent mailboxes.
- Lock the server behind it. Configure your mail server to accept inbound mail only from the filter, so nobody can deliver directly.
- Decide the default action. For example, quarantine high-confidence spam and tag borderline mail.
- Name a quarantine owner and agree how often to review it.
- Plan how users see held mail. Some services send periodic digests; others offer a web page.
- Test with real messages from outside accounts, including one with an attachment.
- Keep SPF, DKIM and DMARC for your own domain correct. They protect the mail you send. The companion article on outgoing email filtering covers the other direction.
For a broader view of how this fits with phishing defence, see how to stop phishing email before the inbox. If you are weighing whether central filtering suits a team with many mailboxes, read is a cloud filter worth it for many mailboxes. Product details are on the Email Security page and the business email page.
Limits and what to watch for
- False positives. Legitimate mail is sometimes held. Review quarantine regularly, especially in the first weeks.
- False negatives. Some unwanted mail will pass. No filter is complete.
- Forwarded mail. When a mailbox forwards mail to another address, SPF can fail at the second hop. Filters may need to handle forwarding carefully.
- Mailing lists and newsletters. These can look like bulk mail, so legitimate subscriptions sometimes need an allow-list entry.
- Delay. Filtering adds a short processing step. Some services use deliberate temporary refusals (greylisting) that delay first-time senders by a few minutes. Ask your provider how it behaves.
- Bounces. A message accepted and then bounced can create backscatter. Prefer rejection during the SMTP conversation.
- Privacy. A filter must read messages to scan them. Read the provider's terms to understand how mail content is handled and stored.
- A single point on the mail path. If the filter has an outage, your inbound mail depends on queueing and retry behaviour. Understand how the service handles this.
Summary
Incoming email filtering examines every message sent to your domain before it reaches a mailbox. It works in stages: connection checks on the sending server, envelope and recipient checks with SPF, DKIM and DMARC results, and content analysis of text, links and attachments. The result is delivery, a mark, quarantine or rejection. Used well, with all domains listed, recipient validation, a locked-down mail server and an owner for quarantine, it removes much of the unwanted and dangerous mail before people see it. It is not perfect, so review held mail, keep your own authentication records correct and keep teaching staff to be careful. To see what filtering is available for your mailboxes, visit the Email Security page.
Frequently asked questions
What does incoming email filtering do?
It inspects every message addressed to your domain before it is delivered to a mailbox. Based on sender reputation, authentication results, content, links and attachments, it passes the message on, marks it, holds it in quarantine or rejects it.
Does filtering change my MX records?
With a cloud filter, yes. Your MX records point to the filtering service, which then forwards clean mail to your real mail server. Other models, such as a filter inside the mailbox host, do not need that change.
What happens to a message that is held in quarantine?
It is stored for a period set by the service or by you. Users or administrators can review the list, release a message that was held by mistake, or leave it to expire. Check the plan details for how long held mail is kept.
Is incoming filtering the same as outgoing filtering?
No. Incoming filtering checks mail sent to you. Outgoing filtering checks mail leaving your domain, which helps stop a compromised account from sending spam or malware. They address different risks.
References
About the author

Bob Kanokphon Thongdee
- Founder of XPASS VPN
- Co-founder of eSIMonline.asia
- More than 7 years in online marketing
- Founder of Cojourney Visa and Cojourney Travel
Protect your email and stop spoofing
Spam filtering and DMARC monitoring for your domain.
See email securityKeep reading

Business Email Guides
How to Stop Phishing Email Before It Reaches the Inbox
Phishing works because one message reaches one tired person. Learn how layered filtering, sender authentication and a few simple rules cut the risk before the inbox.
10 min read

Business Email Guides
What Is Outgoing Email Filtering?
Outgoing email filtering inspects mail leaving your domain, so a hijacked account cannot quietly damage your reputation. Learn how it works and how to set it up.
9 min read

Business Email Guides
Is SpamExperts Worth It for a Company with Many Mailboxes?
When a company runs dozens of mailboxes, spam stops being a nuisance and becomes a cost. Here is a simple way to decide whether a cloud filter pays off.
10 min read