RFC 6647: Email Greylisting: An Applicability Statement for SMTP

Formalises the greylisting technique where MTAs temporarily reject unknown senders to filter out botnet spam.
Alaa
By Alaa
SMTPedia documents email infrastructure end to end: SMTP standards from the RFC archive, delivera...
7 min read Updated Jul 22, 2026 45 views
RFC 6647
Email Greylisting: An Applicability Statement for SMTP
Current standard
Domain
SMTP
Published
March 2012
Supersedes
First in series
SMTP relevance
high
↗ Read on rfc-editor.org

What this RFC defines

RFC 6647 formalises email greylisting, an anti-spam technique where an MTA temporarily rejects mail from unknown senders with a 4xx (temporary failure) code. Legitimate mail servers retry the delivery after a short delay, as required by RFC 5321. Botnet spam software typically does not retry, so the spam never arrives.

Where you see it in practice

If your first email to a new recipient bounces with a 421 or 451 response and then succeeds when your MTA retries 5-15 minutes later, you have encountered a greylisting filter. The log entry “450 Greylisted, please try again later” is a greylisting rejection. RFC 6647 also covers whitelisting policies that exempt known-good senders from the greylist delay, which is why established senders with good reputation often bypass it entirely.

How it connects to other RFCs

RFC 6647 is an applicability statement that sits on top of RFC 5321 (which defines SMTP’s retry requirements) and works alongside reputation and authentication systems (SPF/DKIM/DMARC). It does not introduce new protocol mechanisms; it documents how the existing 4xx temporary reject mechanism of RFC 5321 is used for filtering purposes.

Current status

RFC 6647 is a current informational standard, published March 2012. Greylisting remains widely deployed as a low-cost spam filter, though its effectiveness has declined as botnet software has added retry logic. Senders with established IP reputation and DKIM/DMARC authentication typically bypass greylisting.

Greylisting explained

RFC 6647 is the applicability statement for SMTP greylisting, published in June 2012. Greylisting is a spam mitigation technique: when a receiving MTA sees a new triple (sender IP, envelope sender, envelope recipient) for the first time, it rejects with a 4xx temporary failure. Legitimate MTAs retry after a few minutes; most spam bots do not retry at all or retry from different IPs. On the second attempt, the MTA accepts the message. The recipient sees a delivery delay of typically 5-15 minutes for first-time senders and no delay thereafter.

Effectiveness and side effects

Greylisting was highly effective against 2010-era spam but has declined in usefulness. Modern spam infrastructure implements retry logic, so simple triple-based greylisting catches fewer spammers than it used to. The main side effect is delay for legitimate first-time correspondents: users signing up for a service and receiving a confirmation email may see it arrive 10-15 minutes later than expected. This delay makes greylisting unpopular for transactional email and consumer-facing services.

When greylisting still helps

Greylisting remains useful in low-traffic personal mail servers or specialized environments where a few minutes of delay is acceptable. It is essentially free (only cache storage for triples), catches some remaining low-effort spam, and provides layered defense alongside SPF/DKIM/DMARC and reputation-based filtering. RFC 6647 explicitly notes that greylisting is not a standalone spam defense; it should be one input in a larger filtering strategy. Bulk email senders often see rejections from greylisting servers on first send and should implement retry logic accordingly.

Quick Reference

RFC 6647 (June 2012) documents greylisting: a widely-deployed anti-spam technique where SMTP servers temporarily reject unknown sender/recipient/IP triplets with 4xx (typically 421 or 450), forcing legitimate senders to retry per RFC 5321 retry rules. Spammers typically do not retry (fire-and-forget); legitimate MTAs do (retry queues). After the second connection attempt, the triplet is whitelisted for a period (typically 30 days). Effective against botnets and script kiddie spam; ineffective against modern professional spam that retries. Best used as one input in a layered defense.

RFC 6647 at a glance

AspectDetail
PurposeDocument greylisting as an anti-spam mechanism
TypeInformational (documenting existing practice, not defining new protocol)
MechanismTemporary 4xx reject of unknown triplets; whitelist on retry
Triplet definition{sender IP or /24, MAIL FROM, RCPT TO}
Typical delay5-15 minutes retry window
Whitelist duration30 days typical
PublishedJune 2012

Greylisting mechanism

Greylisting flow First attempt from unknown sender: T=0 Sender MTA connects MAIL FROM:<alice@sender.com> RCPT TO:<bob@example.com> Server checks triplet {sender-IP, MAIL FROM, RCPT TO} Triplet not in whitelist; add to greylist with timestamp Server responds: 450 4.7.1 Greylisted, retry in 5 minutesLegitimate sender behavior: T=5min Sender MTA reads 4xx as temporary failure Retries the delivery MAIL FROM/RCPT TO same triplet Server checks greylist; triplet age >= 5 min Server accepts; whitelist triplet for 30 days Delivery proceedsSpammer behavior (traditional): T=5min Spammer bot has moved on to next target No retry; message never delivered Greylist entry expires; nothing sentThe trap works because: – Legitimate MTAs implement retry queues per RFC 5321 – Traditional spammers use fire-and-forget scripts – Retry cost is time delay only for legitimate senders – Retry cost is total delivery failure for non-retrying spammersThe trap fails because: – Modern professional spam implements retry queues – Some legitimate MTAs implement slow or unreliable retries – Cost: 5-15 minute delivery delay for every first-contact sender

Triplet definition and matching

The triplet definition matters. Strict triplets (exact sender IP + exact MAIL FROM + exact RCPT TO) require every sending IP/rewrite/recipient combination to independently pass greylisting. Loose triplets (sender /24 + sender domain + recipient domain) allow big-sender infrastructures to establish trust once per relationship. RFC 6647 documents both approaches; deployments choose based on trade-offs between false positives (legitimate mail delayed) and effectiveness (spam blocked).

Common greylisting mistakes

Aggressive greylisting on transactional mail. Users clicking “Send password reset” or “Confirm email” expect near-instant delivery. Greylisting delays these 5-15 minutes, degrading user experience. Whitelist transactional senders (identified by known IPs, DKIM authentication, or reputation) to avoid delay.
Not whitelisting well-known senders. Major ESPs (Gmail, Microsoft 365 outbound, Amazon SES, SendGrid) send from broad IP ranges; if their retry logic conflicts with your greylist window (e.g., retry happens sooner than your minimum retry time), delivery fails. Whitelist their IP ranges or established sending domains.
Greylisting bulk senders that do not retry. Some ESPs use send-and-move-on architectures where retries are slow or nonexistent. Legitimate bulk mail may be lost. Test greylisting behavior against major ESP retry patterns before deploying.
Using greylisting as sole defense. Modern professional spammers implement retry queues; greylisting alone catches only unsophisticated bots. Use greylisting as one input alongside RBL/DNSBL lookups, SPF/DKIM/DMARC verification, content filtering, and rate limiting.
Not communicating greylisting to senders. When a sender sees your 4xx, the message might just say “temporary failure.” Include “Greylisted, retry in N minutes” in the response text; this helps senders diagnose delays and calibrate their retry timing.
SMTP retry and anti-abuse
  • RFC 5321: SMTP (retry semantics)
  • RFC 3464: DSN (delayed and deferred bounces)
  • RFC 5248: Enhanced status codes
  • RFC 6449: Feedback Loop Complaint Format (companion abuse-fighting mechanism)
Authentication as alternative
  • RFC 7208: SPF (identify authorized senders)
  • RFC 6376: DKIM (cryptographic sender verification)
  • RFC 7489: DMARC (policy layer)
SMTPedia companion guides

Frequently asked questions

Is greylisting still effective in 2026?

Less than at deployment peak (mid-2000s to mid-2010s). Modern professional spammers implement retry queues; greylisting catches only unsophisticated bots. However, it remains useful as one input in layered defense: forces spammers to implement more infrastructure, filters out truly cheap sends, and provides small volume savings on downstream filtering. Trade against the cost: 5-15 minute delivery delay on first contact from every legitimate sender.

Should I enable greylisting on my mail server?

Depends on your priorities. If prompt delivery matters (transactional mail, customer-facing communication), the delay cost may outweigh the benefit. If you prioritize spam reduction over first-message latency, enable it. Consider whitelisting transactional senders, well-known ESPs, and any sender whose delay would harm users. Test on staging before production deployment.

What is the typical retry window?

5-15 minutes is standard. Shorter windows (under 5 minutes) risk false positives (some MTAs retry aggressively but not that fast); longer windows (over 30 minutes) accumulate user-facing delivery delays. RFC 6647 documents common practice; individual deployments tune based on their sender population.

How long should the whitelist persist?

30 days is common; RFC 6647 discusses various trade-offs. Shorter whitelists (7 days) re-greylist regular senders too often; longer whitelists (90 days) may keep entries for senders that have moved to new IPs. 30 days balances re-verification against user-facing delays.

Does greylisting break SPF and DKIM verification?

No, they operate at different layers. Greylisting acts at the SMTP transaction layer (accept or 4xx reject); SPF and DKIM verify identity and integrity after acceptance. A greylisted-then-accepted message is still SPF/DKIM/DMARC verified normally. In fact, sender authentication combined with greylisting is a good combination: greylist unauthenticated senders, whitelist authenticated ones.


About the Author

Alaa - SMTPedia author

Alaa · LinkedIn

Email infrastructure specialist with 8+ years of hands-on experience in SMTP, deliverability, and email verification. I’ve configured and troubleshot mail systems across Postfix, Exchange, and cloud relays, managed IP reputation and warmup campaigns, and built verification pipelines processing millions of addresses. My work spans DNS authentication (SPF, DKIM, DMARC, BIMI), bounce handling, blocklist monitoring, and compliance frameworks including CAN-SPAM and GDPR. I write every article on SMTPedia to give email professionals, developers, and marketers the accurate, RFC-grounded reference they need.


About SMTPedia

SMTPedia is an independent email industry reference covering SMTP, IMAP, POP3, email deliverability, marketing platforms, DNS authentication, and email verification. Every article is researched from official provider documentation, IETF RFCs, and industry best practices. Settings and configurations are verified quarterly.

We are cited as a source by ChatGPT, Microsoft Copilot, and thousands of email professionals worldwide. Learn more about our editorial process.