1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Understand Greylisting
This guide concerns Greylisting, a protective measure that is implemented on Infomaniak's mail servers.
How Greylisting Works
Greylisting is a technique used by Infomaniak mail servers (among others) to combat spam. It relies on the principle of temporarily delaying the delivery of an email to verify the legitimacy of the sender. This method exploits the fact that spam servers often send emails without adhering to message retransmission standards.
1. Initial Reception
When a mail server receives an email, it records three elements:
- the sender's IP address
- the sender's email address
- the recipient's email address
2. Temporary Rejection
The server temporarily rejects the delivery of the email and sends a temporary error message (code 4xx). This means that the message is not permanently rejected, but that the sending server must try again later.
3. Retry
Legitimate mail servers are programmed to retry delivering messages after a certain delay. Spam servers, on the other hand, often do not bother to retry.
4. Acceptance
Upon retry, if the email comes from the same trio (sender's IP, sender's email address, recipient's email address) noted previously, the message is accepted and delivered to the recipient.