Spam in the Debian List Archive
Note that all this is very preliminary. Comments and suggestions are very welcome.
It has been claimed that the [http://lists.debian.org/ Debian list archives] contain spam email messages.
There is a "report as spam" button in on the list archive page of each message, but presently, spam is by and large not removed from the archives. The submissions seem to help (more or less) with finding spam but need manual review before they could be acted upon.
Towards a spam removal policy
Policy corner stones
- Messages that are (beyond doubt) spam should be removed from the web archives. They should remain in the mailbox archives (and thus be accessible to developers on master.d.o).
- Spam removals should be very conservative, with any doubt meaning no removal. For systematic removal, candidates need to be checked multiple times in order to minimize the risk of unmerited removal.
- The information which messages have been flagged junk and how that came to be (review logs) should be accessible along with the mailbox archives, so any developer can inspect the changes to the archive and complain to listmaster about removals. This information is currently in master.debian.org:~tviehmann/spam-removals/
- On the technical side, when removing messages from the list archives URIs of messages must not change. To this end, lists.debian.org uses a version of the mhonarc mailbox converter that has been enhanced to allow skipping spam.
Ad hoc policy
Review standards should be set after seeing how things pan out, I am aiming at three reviewers, including one experienced one (after some bootstrapping). I hope this would minimize the risk of unwarrented removal. A rigorous standard seems to be necessary to obtain consensus with the project. As such, the three reviewers is only a guideline, not a rule. Of course, more reviewers doing shorter reviews would help tremendously. Ultimately, guaranteeing the integrety of the list archives currently falls in the realm of the Debian listmaster.
About using newspamclassify.py:
- Only tag as spam what really is absolutely surely spam. For example some people take offense to some comments on the lists, but that is not spam.
Ideally, multiple people classify messages and when everyone agrees, we can remove. For this, you send in a signed *.report. Note that this will be made public (at least to DDs) for verification of removals later.
- Inappropriate is the (misguided) term presently used for misguided (unsubscribe, vac messages, spam backscatter, probably NOT votes sent to debian-devel instead of devotee) messages, is is not entirely clear what to do with those, but please tag them accordingly.
There are four states spam, non-spam, inappropriate, unsure to use. There is an internal fifth "unchecked" for things you did not look at.
The program (invoked as ./newspamverify.py list.submission_collection) stores (partial) results in list.submission_collection.report. It resumes from the saved state when invoked next time.
Key commands: SNIU for classification, arrow up/down scrolls message, arrow left/right next/previous message. Back moves you back to the last message you classified and erases the classification. Quit saves and exits.
- Don't be overwhelmed by the size of the collections. They start at recent months and go back in time, so partial results are intersting as well.
- Feedback on how large submission batches you would like to review is welcome.
- Be aware of bugs, a log will be try to be saved (with an even longer obscure file name) if something goes wrong.
Send clearsigned (using gpg --clearsign) *.report (possibly partial or trimmed with grep -v '^ unchecked;' foo.report > 2foo.report before signing, but don't accidentally erase the log when filtering) to [mailto:firstname.lastname@example.org Thomas]
Any suggestions on the above and/or the program are of course welcome.
- Graphical viewer that essentially renders the web archive html, including the thread links for context (idea by Pabs, errors by TV).
- Have getting of collections and sending back reports automated in the script.
- There must be a faster way to nominate Spam for reviewing than looking at one article, pressing the Spam-Button and then load the next. (Maybe a mutt-macro?)
- The newspamverify-program doesn't understand MIME-Mails with base64 or HTML
People doing this
If you want to jump in, add yourself here and contact [mailto:email@example.com Thomas] (tomv_w on IRC) for coordination. Your help is appreciated.
Works in progress
Our goal is to have at least three reports before removing anything. For the following lists, we have some, but not enough review reports.
debian-devel: [:Appaji:Y Giridhar Appaji Nag]
- debian-vote: zobel, tviehmann
- debian-user-german: cord (done)
- debian-www: cord (done)
- debian-qa: cord
- wijnen (looked at d-project)
[:Appaji:Y Giridhar Appaji Nag] (looking at newer d-devel)
- pabs (looked at d-project)
- tale (looking at newer d-devel)
- Thomas Viehmann (involved in listweb, looking at too much spam)
debian-project has had [http://lists.debian.org/debian-project/2007/11/msg00202.html some spam removed]
debian-python: 205/250 submitted messages removed after checking by bzed, SandroTosi, tomv
Getting program and data
[http://liszt.debian.org/~tviehmann/spam/] has a python (2.5) script and sample data, don't hesitate to bug me (or any listmaster) for more.
A browser extension is being designed by CyrilBrulebois, so as to display the messages directly from the online archives.