Savannah Administration - Cookbook: recipe #140, Fighting Spam
You are not allowed to post comments on this tracker with your current authentication level.
recipe #140: Fighting Spam
Submitter: | None | ||
Submitted: | Tue 29 Nov 2005 08:32:43 AM UTC | ||
Category: | None | Importance: | 3 - Normal |
Status: | Approved | Privacy: | Public |
Assigned to: | None | Open/Closed: | Closed |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
Follows 1 latest change.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2006-11-28 | Beuc | Recipe | Savane provides several... | +120 chars |
Powered by Savane 3.13-f8d8.
Corresponding source code
Savane provides several ways to protect trackers from spam.
Preventing Spam
Savane runs DNS blacklists checks on all forms submitted by non-project members (NB: not activated at Savannah).
Apart from that, there are a few options that can allow a project admin to prevent many spams.
Spam are usually caused by anonymous robots.
Automatically Checking Potential Spam
Savane allows to automatically check posted content with SpamAssassin. (NB: not activated at Savannah).
Any post that Savane feels needs to be crosschecked automatically by SpamAssassin (depends on site configuration) will be delayed, temporarily flagged as spam, when posted until it is checked in the following minutes. If it is found to be spam, no notification will ever be sent, it will stay flagged as spam.
Removing Spam, Spam Scores
Spam Scores
Any logged-in user is able, when he sees content (comment or item) that he believes to be spam, to flag it as spam. This will increment the spam score of the item.
Any content with a spam score superior or equal to 5 is considered to be spam.
Each user have also his own spam score. Each time an user got one of his post flagged as spam (spam score > 4), his own score grows of 1. User own spam score is used to determine the spam score of any new post. In other words, someone caught 5 times posting spam will get all his further post automatically flagged as spam as soon as posted.
Site administrators have a specific interface that will allow them to check if spam reports against a user were legitimate and will be able to take necessary actions accordingly (like banning account used to spam or to maliciously report as spam perfectly valid content).
It is also possible to project admins and site admins to unflag content, which means they can reset the spam score of some content if they think there is a mistake.
Removing Spam
When content is considered to be spam (spam score > 4), it is not removed from the database. We do not want to risk loosing data in case of false positives.
However, comments that are spam are automatically removed from items pages, only a link remains for checking purpose.
Also, when browsing items, items that are spams are not shown, unless you change the related display criteria.
If the content is an item, it is automatically set to Locked so further post are impossible.
If your site runs checks with SpamAssassin, flagged spams will be used to improves bayesian filtering.