Greylisting
Greylisting is a new method of blocking significant amounts of spam at the mailserver level
It's a good method but the mail will be delayed at first time with same "triplet".
ref. Whitepaper | Links to Implementations and Information
"triplet" are
- The IP address of the host attempting the delivery
- The envelope sender address
- The envelope recipient address
The specific methodology for a fairly basic Greylisting implementation is as follows:
- Check if the sending relay (or network) is whitelisted, and if so, pass the mail.
- Check if the envelope recipient (or domain) is whitelisted, and if so, pass the mail.
- Check if we have seen this email triplet before.
- If we have not seen it, create a record describing it and return a tempfail to the sending MTA.
- If we have seen it, and the block is not expired, return a tempfail to the sending MTA.
- If we have seen it, and the block has expired, then pass the email.
- If the delivery attempt should be passed and the delivery is successful:
- Increment the passed count on the matching row.
- Reset the expiration time of the record to be the standard lifetime past the current time.
- If the delivery attempt has been temporarily failed:
- Increment the failed count on the matching row.
- If the sender is the special case of the null sender, do not return a
failure after RCPT, instead wait until after the DATA phase.
Posted by pank at January 13, 2005 01:11 AM