SpamFilter implementation (untested)