Spam blocking with greylisting
[Posted June 24, 2003 by corbet]
A certain amount of attention has recently been given to a spam-blocking
method called
greylisting. A look
at the description of the technique shows that it does not, actually, have
much in the new way of ideas. Greylisting might, however, become a useful
part of the antispam arsenal at some sites.
The core idea of the greylisting technique has been around for a while. It
relies on the fact most spammers do not bother to track and retry
deliveries which are declined by the receiving system with a temporary
failure status. Real mail systems will retry the message later on, until
they run out of patience. Spammers just forget about it and move on. So
an effective way of blocking a large percentage of incoming spam is to
simply refuse mail from new sources with a temporary failure on the first
delivery attempt. Real mail will eventually show up again, and be
delivered with a small delay. Most spam will never return.
The greylisting technique uses a slightly finer-grained approach. It
creates a three-entry tuple out of the originating address, the sender, and
the recipient of the message. If the tuple is new, the mail is refused for
a configurable period of time. The use of the three-way tuple helps
prevent spam from slipping in by using false sender addresses.
The obvious workaround, from a spammer's point of view, is to add retrying
for temporary failures to their code. Given the desire of the spam
industry to pollute our mailboxes regardless of how hard we try to prevent
that, the implementation of temporary failure retrying is only a matter of
time. Of course, mail sent through open relays is generally retried
anyway, so widespread use of greylisting could result in more use of open
relays, and, perhaps, more attempts to compromise systems to turn them into
unwilling relays.
As the author describes it, greylisting is meant to be used in conjunction
with other spam-blocking techniques, especially blackhole lists. The hope
is that, by the time the temporary failure interval has ended for a
particular spam source, that source will have found its way into the
blacklists and the message can be blocked permanently. This combination
could, indeed, prove hard for the spammers to get around.
(
Log in to post comments)