Menu

Greylisting is a 4xx you should not panic about
📰

Greylisting is a 4xx you should not panic about

DEV Community·Volanea·13 days ago
#z8pGa7O2
#dev#message#sender#minutes#triplet
Reading 0:00
15s threshold

A first-time sender gets a temporary rejection from a server it has never talked to before, and the message is delayed by minutes. That is greylisting, and it is the single most misdiagnosed response in transactional email.

What the server is doing

It records the triplet of sender IP, envelope sender and recipient, answers with a 4xx at RCPT or DATA, and waits. A real mail server retries after a delay; a spam bot usually does not. When the retry arrives after the configured window, typically a few minutes, the triplet is on the allow list and the message goes through.

Why the first message to a domain is special

Greylisting hits new triplets, so your very first message to a new recipient domain is the one that gets delayed. The second is fine.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.