So, it looks like I may not have been reading this correctly. The
strategies add *negative* karma points:
May 18 01:54:40 osl Trac[api] WARNING: Rejecting submission
u'anonymous\n\nbuy Claritin online without prescription\n\n\n\nLooking
for cheap ...' by "anonymous" ('89.179.79.217') because it earned only
-5 karma points (5 are required) for the following reason(s):
[u"RegexFilterStrategy: (-5) Content contained these blacklisted
patterns: 'pharmacy'"]
Never mind, then.
cv
Carlos Vicente wrote:
> Anyone?
>
> cv
>
> Carlos Vicente wrote:
>
>> Hi all,
>>
>> I'm trying to use the TracSpamFilter plugin, but I can't seem to make it
>> work. I'm using Trac 0.11.6 and TracSpamFilter 0.2.1dev-r8929
>>
>> Here are my configuration bits:
>>
>> [components]
>> tracspamfilter.* = enabled
>> tracspamfilter.adapters.attachmentfilteradapter = enabled
>> tracspamfilter.adapters.ticketfilteradapter = enabled
>> tracspamfilter.adapters.wikifilteradapter = enabled
>> tracspamfilter.admin.akismetadminpageprovider = enabled
>> tracspamfilter.admin.bayesadminpageprovider = enabled
>> tracspamfilter.admin.spamfilteradminpageprovider = enabled
>> tracspamfilter.api.filtersystem = enabled
>> tracspamfilter.filters.akismet.akismetfilterstrategy = disabled
>> tracspamfilter.filters.bayes.bayesianfilterstrategy = enabled
>> tracspamfilter.filters.extlinks.externallinksfilterstrategy = enabled
>> tracspamfilter.filters.ip_blacklist.ipblacklistfilterstrategy = enabled
>> tracspamfilter.filters.ip_throttle.ipthrottlefilterstrategy = enabled
>> tracspamfilter.filters.regex.regexfilterstrategy = enabled
>> tracspamfilter.filters.session.sessionfilterstrategy = enabled
>>
>> [spam-filter]
>> akismet_api_key = xxxxxx
>> akismet_api_url = rest.akismet.com/1.1/
>> akismet_karma = 3
>> bayes_karma = 10
>> bayes_min_training = 20
>> captcha = ImageCaptcha
>> captcha_karma = 10
>> extlinks_karma = 2
>> ip_blacklist_karma = 5
>> ip_blacklist_servers = bsb.empty.us, multi.surbl.org
>> ip_throttle_karma = 3
>> logging_enabled = true
>> min_karma = 5
>> purge_age = 7
>> regex_karma = 5
>> reject_handler = CaptchaSystem
>> session_karma = 9
>>
>>
>> When I try to create a simple test ticket, it gets rejected. The logs show:
>>
>> May 17 09:52:50 osl Trac[api] WARNING: Rejecting submission
>> u'cvice...@xxxxx\n\ntest\n\n\n\n123 testing. Please ignore.\n\n' by
>> "cvice...@xxxx" ('128.223.60.27') because it earned only 0 karma points
>> (5 are required) for the following reason(s): []
>> May 17 09:52:50 osl Trac[main] WARNING: HTTPInternalError: 500 Trac
>> Error (Submission rejected as potential spam)
>>
>>
>> So it seems none of the components are adding any karma points. Does
>> anybody have an idea what could be wrong?
>>
>> I'd very much appreciate any help with this.
>>
>> Regards,
>>
>> cv
>>
>>
>>
>
>
>
--
=====================================================================
Carlos Vicente Tel : +1(541) 346-1763
Network Engineer Fax : +1(541) 346-4397
Information Services PGP ID : 8623D99C
1212 University of Oregon
Eugene,OR 97403-1205
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en.