Sub topic 2
Domain reputation and IP reputation
This chapter assumes you know how SMTP delivery works, can read a DNS TXT record, and understand the role of a mailbox provider such as Gmail or Yahoo. The previous chapter explained why a sender with no history gets treated cautiously. This chapter explains what that history is attached to. Mailbox providers do not keep one score per sender. They keep several, and each one follows a different identifier.
Reputation belongs to identifiers
A mailbox provider sees several identifiers in every message. Each can build its own track record:
- The connecting IP address, taken from the SMTP session.
- The domain in the
From:header, which is the address the recipient sees. - The domain in the DKIM signature (the
d=tag). - The envelope sender domain, also called the Return-Path or MAIL FROM domain, which SPF checks.
- The HELO/EHLO hostname and the reverse DNS name of the IP.
- Domains in links, tracking URLs and images in the body.
Providers do not publish how they weight these. Public documentation and long-standing industry practice give a consistent outline, though. The IP address is the oldest signal and is still used heavily for connection-level decisions. The authenticated domain has become the more durable signal, because a domain can move between IPs while an IP can be shared by many domains.
IP reputation
IP reputation is the track record of one sending address, or sometimes a whole network block. It is evaluated when your server connects, often before any message content is sent.
What feeds it:
- Complaint rates and spam-trap hits from mail sent through that IP.
- Bounce rates, especially "user unknown" errors, which suggest a poorly maintained list.
- Sending volume and how quickly it changes.
- Whether the IP appears on third-party blocklists.
- Whether reverse DNS is configured and matches the forward lookup.
- The history of the surrounding network. Providers sometimes judge a neighboring range, such as a /24, when many addresses in it send abusive mail.
An IP can be penalized quickly. A single large send to a bad list can cause deferrals within minutes. IP reputation also resets in a practical sense whenever you change addresses, which is exactly why a new IP needs a warm-up.
IPv4 and IPv6
IPv6 changes the arithmetic. Because one provider allocation can hold a huge number of addresses, providers generally score IPv6 senders at the level of a prefix, often a /64 or larger, instead of a single address. Rotating through addresses in the same prefix does not give you a fresh reputation. Treat the whole prefix as one sender.
Domain reputation
Domain reputation is the track record of a domain name, independent of the IP that delivered the mail. For it to work, the provider needs a reliable way to tie a message to a domain. That is the job of authentication.
- DKIM ties a message to the signing domain in
d=. - SPF ties the connecting IP to the envelope sender domain.
- DMARC requires one of those two domains to align with the visible
From:domain.
Without alignment, a provider has little reason to credit the From domain with anything. With alignment, complaints, engagement and spam-folder placement accrue to your domain. Gmail's Postmaster Tools reports domain reputation as one of the main signals for exactly this reason.
Domain reputation has these properties:
- It moves with you. If you change ESP or IP, the domain's history comes along, which is a benefit if it is good and a cost if it is bad.
- It is harder to escape. You can replace an IP in an afternoon. Replacing a brand domain means losing recognition, links and trust with customers.
- It is affected by content-level signals, such as the domains you link to in the body.
- A brand-new domain has no history and is treated cautiously. Registration age is a weak signal that some filters use, so a freshly registered domain starts at a disadvantage.
How the two interact
Providers combine these signals instead of using one. Common patterns:
| Situation | Typical outcome |
|---|---|
| Good domain, new IP | Domain history helps, but the IP still needs a gradual ramp. Expect more caution than usual. |
| New domain, established IP with good history | The IP gives some credit, but the new domain has to prove itself. A new domain on a shared pool can still be filtered. |
| Good domain, shared IP with a bad neighbor | Deliverability can suffer from the neighbor's behavior, depending on how strongly the provider weights the domain. |
| Bad domain, clean new IP | The domain's history follows the mail. A new IP does not rescue it. |
| New domain and new IP | The least trusted combination. This is the case where warm-up matters most. |
The last row is the hardest case. Both identifiers have no history, so the provider relies on what it can observe: authentication results, volume pattern, bounce behavior, and how recipients react.
Because the diagram fence syntax required by this tutorial is different, the diagram below is the one to use.
Why this matters for warm-up
You usually warm up both identifiers at the same time, and the two have different failure modes.
- A damaged IP causes problems at the connection level: 421 or 450 deferrals, 550 rejections that name the IP, or blocklist listings. The fix is often to slow down, clean the list, and wait.
- A damaged domain causes problems that follow you to every IP: spam-folder placement even when connections succeed, and low domain reputation in Postmaster Tools. The fix is slower, because the history is attached to the name.
If you keep your main brand domain out of the first risky sends, you protect it. That is the idea behind a sending subdomain, which a later chapter covers.
Checking what a provider sees
You cannot read a provider's internal score, but you can check the inputs you control. The commands below show the reverse DNS of a sending IP, confirm that its hostname resolves back to the same IP, and query a DNS blocklist. The example uses the documentation address 203.0.113.25, so replace it with your own.
#!/usr/bin/env bash
# Usage: ./check-ip.sh 203.0.113.25
set -euo pipefail
ip="$1"
# Reverse DNS (PTR) of the sending IP
ptr="$(dig +short -x "$ip" | head -n 1)"
echo "PTR: ${ptr:-none}"
if [ -n "$ptr" ]; then
# Forward lookup of the PTR hostname; it should return the same IP
fwd="$(dig +short A "$ptr" | head -n 1)"
echo "Forward A: ${fwd:-none}"
if [ "$fwd" = "$ip" ]; then
echo "Forward-confirmed reverse DNS: OK"
else
echo "Forward-confirmed reverse DNS: MISMATCH"
fi
fi
# Blocklist query: reverse the octets and append the zone.
# A returned 127.0.0.x answer means the IP is listed.
rev="$(echo "$ip" | awk -F. '{print $4"."$3"."$2"."$1}')"
result="$(dig +short "${rev}.zen.spamhaus.org" | head -n 1)"
echo "Spamhaus ZEN: ${result:-not listed}"Two cautions apply to the blocklist check. Some public blocklists refuse queries sent through large shared resolvers and return an error-style answer, such as an address in 127.255.255.0/24, which is not a listing. Spamhaus also requires a registration for high query volumes. Use it for occasional checks, and read the answer code before drawing conclusions. The check also works only for IPv4 as written. IPv6 lists use a different nibble-reversed format.
Common mistakes
- Assuming a fresh IP means a fresh start. If your domain has a poor history, the new IP inherits the domain's problem.
- Assuming a good domain removes the need to ramp. The IP still has no record, and a sudden large volume looks like a compromised or abusive host.
- Rotating IPs inside one prefix. Providers see the prefix, so this adds no new reputation. It can make you look like an evader.
- Signing with the ESP's domain only. If DKIM uses the ESP's
d=domain and your From domain differs, your domain does not collect the credit. Configure custom DKIM so the signing domain aligns with yours. - Reading a green dashboard as proof. Gmail Postmaster Tools shows data only above a minimum daily volume, and it covers Gmail only. Absence of data is not a good score.
- Ignoring tracking and link domains. A shared link-shortener or tracking domain with a poor record can drag down a message that is otherwise clean.
Summary of the working model
IP reputation answers the question "should I trust this machine to connect?" Domain reputation answers "should I trust this name that is claiming to be the sender?" Authentication connects the two, and engagement data decides how both scores move. During warm-up you are building a positive record on each identifier at the same time, so that you do not depend on either one alone.
Exercise
You move a well-established marketing domain, with a strong Gmail domain reputation, onto a brand-new dedicated IP and immediately send 200,000 messages. Gmail starts deferring much of the mail. Why does the good domain history not prevent this, and what should you do?
Show answer
The domain history helps, but the new IP has no record of its own, and a sudden large volume from an unknown IP looks like abuse or a compromised host. Gmail judges the connection from the IP as well as the domain. Pause the large send, resend the deferred mail at a lower rate, and ramp the IP up over days or weeks starting with your most engaged recipients, while watching bounces, complaints and Postmaster Tools.
Exercise
A message is sent from an IPv6 address. The sender plans to avoid a poor reputation by switching to a different address inside the same /64 each day. Will this work? Explain.
Show answer
No. Providers generally score IPv6 senders by prefix, often a /64 or larger, so addresses inside the same prefix share one reputation. Switching within the prefix adds no fresh history and can look like an attempt to evade filtering.
Exercise
Your DKIM signature uses d=esp-mail.net, while your visible From address is [email protected]. Which reputation benefits, and what should you change?
Show answer
The ESP's domain collects the credit from the DKIM signature, and example.com does not, because there is no alignment between the signing domain and the From domain. Configure custom DKIM at the ESP so messages are signed with d=example.com (or a subdomain of it), which lets DMARC alignment pass and attaches engagement and complaint history to your own domain.