Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
2.2k views
in Plugins by

Hi guys,

I've had a recent spam attack that seems to not be getting picked up by Akismet.

It's all not in English, so I'm wondering if there's an easy way to pick this kind of spam up.

Here's an example of the subject:

"za sprawą szkołę przez bezpieczny kredyt zważywszy na wszelkie"

I've also blocked the IP address but it appears that they have a range of IP Addresses.

Thoughts?

Thanks!

by
Same spam im receiving... agreed to maxjtechno.

1 Answer

+1 vote
by
selected by
 
Best answer

The Akismet service works also with non-English posts.

If the spammy text is already contained in the Akismet service database, the result of the spam check is positive.

If it's not there yet, the result of the spam check is negative.

(I've simplified the process, a lot of other criteria are analyzed, following a proprietary algorithm).

In the case of a negative check, you should submit to the Akismet service the spammy text (to "help it" to recognize the spammy post the next time), invoking the submit_spam API.

The q2a Akismet plugin v2b3 declares a function ("public function submit_spam", file akismet.class.php) that contains the API invocation that should be executed.

But, if I'm not wrong, that function is never invoked by the plugin code.

The plugin invokes "only" the comment-check API , that is the API that check if the content of the post is spammy or not (see the first check above).

Conclusion :

the plugin should be extended, to include for example a "spam" red icon under every post (question, answer, comment - such as the "flag" icon, in the question page), that, following precise criteria (eg : an admin or more than X users have clicked on it), should invoke the submit-spam API (it could also be placed in the moderation queue).

An alternative would be that of invoking the submit-spam API *manually* (eg. : self-made php)

Another alternative is that of waiting (and hoping) that the spammy post will be submitted to the Akismet service by another user ........ crying

 

by
That's a brilliant idea. +1 for the idea of invoking the submit_spam() function when a Q2A admin clicks a 'Spam' button would be good. Especially since many of us seem to be getting the same spam. This would mean that if one of us get rid of some spam, all Q2A site owners benefit.

Anyone up for having a crack at updating the plugin with this?
by
Yes, spam should not be deleted, but "submitted".
...