Return-Path: <dmaze@MIT.EDU>
Received: from grand-central-station.mit.edu by po11.mit.edu (8.9.2/4.7) id LAA01597; Wed, 26 Dec 2001 11:04:29 -0500 (EST)
Received: from melbourne-city-street.mit.edu (MELBOURNE-CITY-STREET.MIT.EDU [18.7.21.86])
	by grand-central-station.mit.edu (8.9.2/8.9.2) with ESMTP id LAA10264;
	Wed, 26 Dec 2001 11:04:18 -0500 (EST)
Received: from nerd-xing.mit.edu (NERD-XING.MIT.EDU [18.7.16.74])
	by melbourne-city-street.mit.edu (8.9.2/8.9.2) with ESMTP id LAA17534;
	Wed, 26 Dec 2001 11:01:19 -0500 (EST)
From: David Z Maze <dmaze@MIT.EDU>
To: sipb-office@mit.edu
Subject: Project idea: pre-inc spam detector
Date: Wed, 26 Dec 2001 11:01:20 -0500
Message-ID: <y688zbqdl7z.fsf@nerd-xing.mit.edu>
Lines: 43
User-Agent: Gnus/5.090004 (Oort Gnus v0.04) XEmacs/21.4 (Artificial
 Intelligence)
X-Attribution: DZM
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii

The problem of email spam is a visible and growing one.  The RISKS
digest tells stories of people creating email accounts which, in spite
of never having been used at all, receive spam; bulk email
advertisements to MIT mailing lists are common, and people active in
substantial numbers of public fora receive enough spam to be noticable
and irritating.

There are a number of programs out there to detect spam, based on
various heuristics.  A number of these were discussed recently on
Debian mailing lists[1]; many, such as spamassassin[2] and
spambouncer[3] are based on procmail (which is installed in the SIPB
locker, but might not be entirely useful in the Athena environment).

Now that MIT has IMAP support on its mail servers, it should be fairly
straightforward to come up with a program that connects to the IMAP
servers, looks through your mail, and applies some heuristics to
classify some amount of it as spam and delete it.  I'd envision a
program that could make a Kerberized (passwordless) connection to the
IMAP server, point out particular messages as potential spam, print
the abbreviated headers and the first several lines of the message in
plain text, and give you the option of deleting it.  Along with this
could be a detection of "this message didn't trap my spam filters, but
you received identical messages on 12 different mailing lists".
Messages not so deleted would remain on the post office server for
pickup via normal means (/usr/athena/bin/inc, pine-imap, Gnus, etc.).

It seems like this would be a good project for a prospective.  It
would involve some coding knowledge, and might involve integrating
several tools to work together to this end.  (For example, procmail
normally assumes that it's being run on all incoming mail in between
arriving at the local mail server and being delivered to a local mail
spool, but this model clearly doesn't work for Athena.)  I don't
really have time to do this, but this sort of project would clearly be
something SIPB could support for the good of MIT computing in general.

[1] http://lists.debian.org/debian-laptop/2001/debian-laptop-200112/msg00358.html
[2] http://spamassassin.taint.org/
[3] http://www.spambouncer.org/

-- 
David Maze             dmaze@mit.edu          http://www.mit.edu/~dmaze/
"Theoretical politics is interesting.  Politicking should be illegal."
	-- Abra Mitchell

