Sub topic 5
What raises or lowers reputation: complaints, bounces, and spam traps
This chapter assumes you know how SPF, DKIM, and DMARC tie a message to a sending domain, and that you can read an SMTP reply code. It covers the three signals that most directly move reputation: spam complaints, bounces, and spam traps. The next chapter covers how these inputs are combined into a judgment about your sender.
Why these three signals matter
A mailbox provider cannot read a sender's intent. It can only watch what happens to the mail. Complaints, bounces, and traps are the clearest evidence of how a sender got its addresses and how it treats them.
| Signal | What the provider observes | What it suggests about you |
|---|---|---|
| Spam complaint | A recipient clicked "Report spam" | Recipients did not want this mail |
| Hard bounce | The address does not exist | You send to addresses you never verified or maintained |
| Spam trap hit | You mailed an address that never signed up | Your list was bought, scraped, or neglected |
Each of these is attributed to your sending identity, meaning your domain and your IP address. A bad record attaches to the identity, not to a single campaign.
Spam complaints
A complaint happens when a recipient marks your message as spam. It is the strongest explicit negative vote a recipient can cast, because it takes deliberate action.
How you learn about complaints
Providers report complaints to senders in two ways:
- Feedback loops (FBLs). Some providers forward a copy of the reported message, usually in ARF format, to an address you registered. Coverage varies. Not every provider offers one, and some only offer it to senders using specific IP ranges or authenticated domains.
- Aggregate dashboards. Tools such as Google Postmaster Tools show a spam rate for your domain. They give a rate, not the identity of each complainer.
Your email service provider (ESP) often handles FBL registration for you and exposes complaints in its own event stream.
The complaint rate
The complaint rate is complaints divided by delivered messages. If 12 recipients complain after 10,000 delivered messages, the rate is 0.0012, or 0.12%.
def complaint_rate(complaints: int, delivered: int) -> float:
"""Share of delivered messages that recipients reported as spam."""
return complaints / delivered if delivered else 0.0
print(complaint_rate(12, 10000)) # 0.0012
print(f"{complaint_rate(12, 10000):.2%}") # 0.12%Mailbox providers publish thresholds for bulk senders. Google's guidance for bulk senders asks that the reported spam rate stay below 0.10% and never reach 0.30%. Those figures are measured from the provider's own data, so they can differ from the rate your ESP reports. Treat any published number as a ceiling, not a target. Healthy senders usually sit well below it.
Edge cases with complaint rates
- The denominator matters. Providers measure against mail delivered to their own users, often only those in the inbox or spam folder. A rate computed over all attempted messages, including bounces, will look better than what the provider sees.
- Small volumes are noisy. With 200 messages, two complaints give a 1% rate. One cranky recipient swings the number. Judge trends over larger windows.
- Segments differ. A rate averaged across your whole list can hide one segment, such as a recently acquired group, that complains at ten times the average.
- The unsubscribe link is a pressure valve. When the unsubscribe link is hard to find, some recipients use "Report spam" instead. Making opt-out easy lowers complaints. The unsubscribe chapter covers the headers for this.
Handling a complaint
When you receive a complaint for an address, suppress that address immediately. Mailing someone who already reported you is the fastest way to repeat the damage. Also look at where the complainers came from. A cluster tied to one signup source or one campaign tells you where the problem is.
Bounces
A bounce is a failed delivery. Bounces split into two kinds that you must handle differently.
Soft and hard bounces
SMTP replies fall into classes by their first digit.
| Reply class | Meaning | Handling |
|---|---|---|
| 2xx | Accepted | Nothing to do |
| 4xx | Temporary failure, such as a full mailbox, greylisting, or rate limiting | Retry later with backoff |
| 5xx | Permanent failure, such as "user unknown" | Stop sending, suppress the address |
def classify_smtp_reply(code: int) -> str:
"""Map an SMTP reply code to a handling decision."""
if 200 <= code < 300:
return "accepted"
if 400 <= code < 500:
return "retry_later" # temporary failure (4xx)
if 500 <= code < 600:
return "suppress" # permanent failure (5xx)
return "unknown"
print(classify_smtp_reply(550)) # suppress
print(classify_smtp_reply(421)) # retry_laterRetrying a 5xx reply is both pointless and harmful. Each retry to a nonexistent address is another data point that you do not clean your list.
Why bounces lower reputation
A high hard bounce rate says that you mail addresses nobody verified. Legitimate senders collect addresses from people who typed them in, so their bounce rates are low. Senders using purchased, scraped, or very old lists see many "user unknown" replies. Providers treat the bounce rate as a rough proxy for list quality.
A common working guideline is to keep hard bounces under about 2% per campaign, and lower for transactional mail. This is a convention among deliverability practitioners, not a rule published by every provider.
Edge cases with bounces
- Not every 5xx means a bad address. A 5xx can also mean the receiving server rejected you for reputation, authentication, or content reasons, for example "550 5.7.1 message rejected as spam" or a policy block. Suppressing the address in that case removes a good recipient because of your own problem. Read the enhanced status code (the
5.x.xpart) and the text. Codes starting5.1.point to address problems. Codes starting5.7.point to policy and reputation. - Soft bounces can become permanent. A mailbox that is full or an account that is inactive may return 4xx for weeks. Set a rule such as "suppress after several consecutive soft bounces across a period of days or weeks."
- Asynchronous bounces. Some servers accept a message during the SMTP session (a 250 reply) and later send a separate bounce message. Your system must process those, or you will keep mailing dead addresses.
- Greylisting. Some servers deliberately return a temporary 4xx to a first-time sender and accept the retry. That is why 4xx handling needs retries instead of immediate suppression.
Spam traps
A spam trap is an address that exists to detect senders with poor list practices. It belongs to no real person who signed up for your mail. Any message sent to it is evidence about how you collected or maintained addresses.
Types of traps
| Type | Origin | What a hit indicates |
|---|---|---|
| Pristine trap | An address created and published only where scrapers find it, never used for signups | You scraped or bought addresses |
| Recycled trap | A once-real address abandoned, then reactivated as a trap after a long period of returning bounces | You keep mailing old addresses and ignore bounces and inactivity |
| Typo trap | A misspelled domain, such as `gmial.com`, that is set up to collect mail | You do not validate addresses at signup |
The three kinds point to different fixes. Pristine hits call for a change in how you acquire addresses. Recycled hits call for sunset policies. Typo hits call for validation or confirmed opt-in.
Why traps weigh heavily
A complaint can come from a real person who changed their mind. A trap hit cannot. The address never opted in, so a hit is a more direct sign of poor acquisition than a complaint is. Some providers and blocklist operators also use trap hits to list sending IPs and domains.
The visibility problem
Trap operators do not tell you which addresses are traps. Doing so would let senders remove only those addresses and keep the bad practice. You usually find out indirectly: a blocklist listing, a sudden drop in placement, or a notice from a provider or a blocklist operator. That makes prevention the main tool:
- Use confirmed opt-in (double opt-in) for new signups, so every address proves it can receive mail.
- Validate syntax and domains at the point of signup to catch typos.
- Never buy, rent, or scrape lists.
- Remove addresses that have not engaged for a defined period, and treat long-dormant ones with extra suspicion.
- Suppress hard bounces promptly, so abandoned addresses do not later turn into recycled traps.
How the signals interact
The three signals reinforce each other. A list full of old addresses produces bounces, then trap hits, and the people who still receive the mail but no longer remember you produce complaints. A single cleanup action, such as suppressing hard bounces and sunsetting inactive addresses, moves all three metrics.
Impact also depends on weight and speed.
- Complaints reflect recipient opinion and move quickly. A bad campaign can raise the rate within hours.
- Bounces reflect list quality and are measurable per send.
- Traps are rare but high-severity, and they may reflect a problem that has existed for months.
Also remember that reputation attaches to both domain and IP. A shared IP pool spreads the effect of one sender's behavior across other customers of the same ESP. A dedicated IP or a custom sending domain isolates you, but then the history belongs entirely to you.
A minimal suppression policy
Here is a compact way to turn these ideas into code. It combines reply handling with the rules above and distinguishes address failures from policy failures.
from dataclasses import dataclass
@dataclass
class DeliveryEvent:
address: str
smtp_code: int
enhanced_code: str # for example "5.1.1" or "5.7.1"
complaint: bool = False
def decide(event: DeliveryEvent, soft_bounce_count: int) -> str:
"""Return 'send', 'retry', 'suppress', or 'investigate'."""
if event.complaint:
return "suppress"
if 200 <= event.smtp_code < 300:
return "send"
if 400 <= event.smtp_code < 500:
return "suppress" if soft_bounce_count >= 5 else "retry"
if 500 <= event.smtp_code < 600:
if event.enhanced_code.startswith("5.7."):
return "investigate" # policy or reputation, not a bad address
return "suppress"
return "investigate"
print(decide(DeliveryEvent("[email protected]", 550, "5.1.1"), 0)) # suppress
print(decide(DeliveryEvent("[email protected]", 550, "5.7.1"), 0)) # investigate
print(decide(DeliveryEvent("[email protected]", 451, "4.2.2"), 2)) # retryThe investigate branch matters. A burst of 5.7.x rejections is a signal about you, so a person should look at it before more mail goes out.
Common mistakes
- Retrying permanent failures, or never processing asynchronous bounces.
- Suppressing every 5xx, including policy blocks, which shrinks a healthy list.
- Averaging metrics across the whole list and missing one bad segment.
- Treating a published threshold as a safe target instead of a limit.
- Continuing to mail an address after a complaint.
- Assuming an email verification tool removes spam trap risk.
Exercise
A campaign to 20,000 delivered messages produces 30 spam complaints. Another 400 messages return "550 5.7.1 message rejected due to poor sender reputation." (a) What is the complaint rate, and how does it compare with a 0.10% ceiling? (b) Should the 400 addresses be added to the suppression list? Explain.
Show answer
(a) 30 / 20,000 = 0.0015, or 0.15%. That is above the 0.10% ceiling, so you must reduce it by finding which segment or source produced the complaints and by making unsubscribing easier. (b) No. The 5.7.1 code points to a policy or reputation rejection at the receiving server, not an invalid address. The addresses are probably valid. Hold them, investigate the reputation problem, and suppress only the 30 complainers and any addresses that return address-level failures such as 5.1.1.
Exercise
Name the three common types of spam trap and the list practice each one most likely reveals.
Show answer
Pristine traps reveal scraped or purchased addresses. Recycled traps reveal that you keep mailing abandoned addresses and ignore bounces and inactivity. Typo traps reveal that you do not validate addresses at signup.