I tried to set up Spam to always mark a comment as spam if there is a URL then hold the comment for moderation. I changed the message to the user. It almost works. The problem is the URL filter requires the Bayesian filter then produces a score of only 40 in that mixture. I had to set the spam score to 40 to make Spam hold the comments.

I then tried changing the URL filter gain from 250 to 50 and that created a score of 70. This will fail when I switch on the duplicate filter.

Is there a way to immediately hold all comments containing URLs and bypass the scoring for those comments?

Comments

AlexisWilke’s picture

I use the custom filter for that purpose. You can enter a regular expression or simple text. For example, you could check for http://. In my case, I especially don't like the [url=...] since that's not supported in my Drupal sites. So I forbid all of those at once. With the custom filter you can bump the % directly to 99.

Thank you.
Alexis

AlexisWilke’s picture

Status: Active » Fixed

Note that could work with a regular expression as well to catch more URLs such as \L+\.\L+ to catch something like domain.com

Thank you.
Alexis

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.