Quick Spam Filter

Current version: 1.2.23 (6 July 2025) [src]

Quick Spam Filter (QSF) is an email classification filter, designed to be small, fast, and accurate, which works to classify incoming email as either spam or non-spam.

To recognise spam, QSF strips the text out of the email (using MIME decoding and HTML stripping) and then splits it into tokens (words, word pairs, URLs, and so on). These tokens are then looked up in a database and analysed using the Bayesian technique to see whether the email should be classified as spam or not.

The database is generated by a process of training - QSF is given two mailboxes, one containing known spam, and the other containing known non-spam, to train itself on. After training, if QSF misfiles any email, the message it got wrong can be fed back into the database, allowing QSF to learn from its mistakes.

For a more in-depth look at the way in which QSF tokenises and classifies messages, please see the "Technical details" section of the manual.

QSF is designed to be run by an MDA, such as procmail. See the FAQ for a quick-start guide.

This software is distributed under the terms of the Artistic License 2.0.

To install qsf, follow these steps:

curl -O https://ivarch.com/s/qsf-1.2.23.tar.gz
tar xzf qsf-1.2.23.tar.gz
cd qsf-1.2.23
sh ./configure
make
sudo make install

Comments, bug reports, and patches can be sent using the Issue tracker, or through the Contact Form.

News

1.2.23 - 6 July 2025

1.2.15 - 29 March 2021

1.2.11 - 3 January 2015

1.2.7 - 28 August 2007

1.2.6 - 4 February 2007

1.2.5 - 21 January 2007

1.2.1 - 25 October 2006

1.2.0 - 2 October 2006

1.1.13 - 15 August 2006

1.1.7 - 8 April 2006

1.1.6 - 2 February 2006

1.1.2 - 7 July 2005

1.1.0 - 12 May 2005

1.0.31 - 4 March 2005

1.0.22 - 28 February 2005

1.0.18 - 19 February 2005

1.0.15 - 5 February 2005

1.0.14 - 26 September 2004

1.0.9 - 22 September 2004

1.0.6 - 22 June 2004

1.0.2 - 28 April 2004

1.0.1 - 15 March 2004

1.0.0 - 12 March 2004

0.9.25 - 16 January 2004

0.9.18 - 6 January 2004

0.9.12 - 1 January 2004

0.9.9 - 29 November 2003

0.9.6 - 15 November 2003

0.9.4 - 21 October 2003

0.9.0 - 29 August 2003

0.8.1 - 21 August 2003

0.7.8 - 18 August 2003

0.7.7 - 31 July 2003

0.7.6 - 23 July 2003

0.7.4 - 8 July 2003

0.7.0 - 5 July 2003

0.5.9 - 27 June 2003

0.5.4 - 4 June 2003

0.5.1 - 11 May 2003

0.5.0 - 10 May 2003

0.3.1 - 22 January 2003

0.2.2 - 19 January 2003

0.2.1 - 17 January 2003

0.2.0 - 15 January 2003

0.1.0 - 14 January 2003

0.0.1 - 11 January 2003