Greylisting is a method used in email management to combat spam. It operates by temporarily rejecting emails from unknown senders. An article titled, Measuring the Role of Greylisting and Nolisting in Fighting Spam, states, “The main idea of nolisting and greylisting is that the lack of compliance to standards can be used to prevent malware from delivering the spam messages in the first place.” When a mail server receives an email from a sender for the first time, it doesn't immediately deliver the message. Instead, the server returns a temporary error, prompting the sending server to try again later. This delay is a strategic move, as legitimate email servers will typically retry sending the email after a short period.
See also: What are soft bounces?
The criteria or conditions that typically trigger the greylisting of an email can vary depending on the specific implementation of the greylisting system. However, most systems use a combination of the following factors:
See also: HIPAA Compliant Email: The Definitive Guide
When a greylisting system temporarily rejects an email from an unknown sender, it communicates this rejection to the sender's server using an SMTP error code. This error code, typically in the 4xx range, indicates a temporary issue. According to SMTP standards, a legitimate email server receiving this code understands it as a temporary failure and is programmed to retry sending the email after a delay.
This delay is not explicitly defined by SMTP but is commonly set to around 15 minutes by most email servers. The retry mechanism is thus an integral part of SMTP's handling of email delivery issues. When the sending server retries after the designated waiting period, the greylisting system, recognizing the attempt as compliant with SMTP protocol, is more likely to allow the email through, distinguishing legitimate senders from spammers who typically do not follow up on temporary rejections.
While greylisting effectively filters out spam by exploiting the lack of retry attempts from spam servers, it also temporarily slows down the delivery of legitimate emails, especially when communication is first attempted between the sender and the recipient.
See also: What are whitelisting and blacklisting?
HIPAA compliant email typically uses trusted and verified email servers that are less likely to be greylisted by other email providers due to their adherence to security standards.
Greylisting temporarily blocks incoming emails from unknown senders to deter spam, whereas blacklisting permanently blocks emails from senders identified as sources of spam or malicious content.
An IP address is a unique string of numbers separated by periods that identifies each computer using the Internet Protocol to communicate over a network.