views:

42

answers:

3

Is there a way to determine if the given message is a spam? For example those who posts on forums and advertise their own sites for various products.

+2  A: 

There are many ways, non of which are fool proof.

The current technology that achieves the best results is bayesian inference for statistical analysis.

Oded
A: 

One way is to look at where it came from. Most spam comes from certain ISPs and there are lists of those available.

Another way is to check where the posts links lead. IE if the links in the post lead to a completely unrelated site or a known spammer haven, it's probably spam.

piggles
A: 

Search for the message on google if you find a good portion of it in a search result, chances are that it is either spam or a copy paste from a website. In that case you can ask the user to do a captcha?

Hasan Khan