For a better, near-time Spam-removal we should rely on a database.

Current "database" is a flat file using this format:

post:count:msgid:ham:spam:inappropriate

We run once a day over this file and generate the exclude-files.