Glossary
Greylisting: temporary rejection of unknown senders
Greylisting makes a mail server reject first-time senders with a 4xx reply, expecting real servers to retry. How it works and why it hides mailboxes.
Updated 2026-11-23
Greylisting is a spam-filtering technique in which a mail server temporarily refuses mail from a sender it does not recognize, then accepts it when the sender tries again. It relies on a difference in behavior: proper mail servers queue and retry after a 4xx reply, as RFC 5321 requires, while a lot of spam software sends once and moves on.
How it works
The server records a triplet for each incoming message: the connecting IP address, the envelope sender and the recipient. On the first sight of a triplet it answers the RCPT TO command with a temporary failure:
C: RCPT TO:<jane@example.com>
S: 451 4.7.1 Greylisted, please try again in 300 seconds
A legitimate sending server queues the message and retries after a few minutes. On the retry, the server sees a known triplet that waited long enough and accepts it. After that, the sender is remembered for days or weeks.
| Step | Result |
|---|---|
| First attempt | 4xx, message deferred |
| Retry after the wait | Accepted |
| Later messages from the same source | Accepted at once |
Effects to know:
- Delay on first contact. A few minutes, sometimes more, for the first mail from a new server.
- Sender pools. Large senders rotate IP addresses, so retries from a different IP may restart the clock.
- Time-sensitive mail. One-time codes and password resets suffer. Send them from stable IP addresses so receivers learn them.
- Declining use. Many modern providers rely on reputation and content filtering instead, so greylisting is less common than it used to be.
A greylist reply is a form of soft bounce: a temporary condition rather than a verdict on the mailbox.
Why it matters for validation
A greylisted server answers the verifier's RCPT TO with a 4xx, so the mailbox existence stays unknown. Qelka reports it in the email API as status: unknown, reason: greylisted, with checks.smtp null. The call is billed normally unless the reason is smtp_unavailable or dns_error.
What to do with it:
- Do not reject the address. The result says nothing against it.
- Accept it, and confirm with a link sent to the address.
- For batch cleaning, re-check the
unknownones later, when the greylist window has passed.
The same logic applies to your own sending. If a first message to a new domain arrives late, greylisting is a likely cause, and your sender reputation is not necessarily at fault.
See the SMTP entry for reply codes, and how to verify an email address for the whole sequence.
Related
Frequently asked questions
What is greylisting?
How long does greylisting delay email?
How does greylisting affect email verification?
status: unknown with reason: greylisted and a null checks.smtp. Do not treat it as bad: accept the address and confirm by other means, or check again later.Put this check in your product
Get an API key in under a minute. 100 free credits every month, no card required.
- 100 free credits a month
- No card
- Test keys spend nothing
- Cancel any time