File: README

package info (click to toggle)
qsf 1.2.7-1.3
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 1,392 kB
  • ctags: 599
  • sloc: ansic: 9,981; sh: 816; awk: 17; makefile: 4
file content (100 lines) | stat: -rw-r--r-- 3,465 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
Introduction
************

This is the README for `qsf', a quick spam filter.  QSF uses a database of
"tokens" taken from previous emails to determine whether any given email is
likely to be spam or not.  If an email is miscategorised, simply send the
email back to QSF with the appropriate parameters to modify the database and
make it more accurate.

Note that `qsf' works well with either its own backend databases, GDBM,
SQLite, or MySQL.  GDBM and SQLite are fast but the builtin database reduces
dependencies on other libraries, whereas MySQL can be harder to set up.

If you use the MySQL backend, "make test" may fail.  Read the documentation
in the "MYSQL BACKEND" part of the manual for information on how to use
`qsf' with MySQL.  Also, it has been reported that MySQL 4.1.x works much
better with QSF than 4.0.x or the 3.23.x series.


Documentation
*************

A manual page is included in this distribution.  If you prefer plain text,
then look at `doc/quickref.txt' for a text version.


Dependencies
************

The internal binary tree and list databases have no dependencies.

The GDBM backend requires GDBM: http://www.gnu.org/software/gdbm/

The MySQL backend requires MySQL: http://www.mysql.com/

The SQLite backend requires SQLite: http://www.sqlite.org/ (version 2.x).

Note that if you try to compile MySQL support but the MySQL libraries cannot
be found, make sure you have the MySQL development package installed.
You may also need to install the "zlib-devel" package.


Compilation
***********

To compile the package, type "sh ./configure", which should generate a
Makefile for your system.  You may then type "make" to build everything. 
You may need GNU `make' for compilation to work properly.

See the file `doc/INSTALL' for more about the `configure' script.

Developers note that you can do "./configure --enable-debugging" to cause
debugging support to be built in.  Also note that doing "make index" will
generate an HTML code index (using `ctags' and `cproto'); this index lists
all files used, all functions defined, and all TODOs marked in the code.

Memory allocation tracing (MALLOC_TRACE) may cause a crash if the allocation
log file gets too large (>2GB usually).  This is a bug in the C library;
unfortunately it cannot be fixed in `qsf'.

There are some extra shell scripts in the "extra/" directory, which can help
with generation of statistics.  Read the scripts for full details.


Author
******

This package is copyright (C) 2007 Andrew Wood, and is being distributed
under the terms of the Artistic License 2.0.  For more details, see the
file `doc/COPYING'.

You can contact me by email at andrew.wood@ivarch.com or by using the
contact form on my web page at http://www.ivarch.com/.

Suggestions and patches have been received from the following people:

  Tom Parker <http://www.bits.bris.ac.uk/palfrey/>
  Dr Kelly A. Parker
  Vesselin Mladenov <http://www.antipodes.bg/>
  Glyn Faulkner
  Mark Reynolds <http://www.reynolds.net.au/>
  Ondrej Suchy
  Sam Roberts
  Scott Allen
  Karsten Kankowski
  M. Kolbl
  Micha Holzmann
  Jef Poskanzer <http://www.acme.com/jef/>
  Clemens Fischer <http://ino-waiting.gmxhome.de/>
  Nelson A. de Oliveira
  Michal Vitecek
  Tommy Pettersson <http://www.lysator.liu.se/~ptp>

The `qsf' home page is at:

  http://www.ivarch.com/programs/qsf/

The latest version can always be found here.

-----------------------------------------------------------------------------