Hi Stevan,

Le samedi 14 août 2010 à 12:25 +0200, Stevan Bajić a écrit : 
> On Sat, 14 Aug 2010 10:38:19 +0200
> Julien Valroff <jul...@kirya.net> wrote:
> 
> > Hi,
> > 
> Hello Julien,
> 
> 
> > I have just noticed DSPAM doesn't send anything to syslog anymore.
> > 
> > This happens since +/- the beginning of the month, but I cannot find any
> > change in git which would explain this.
> > I haven't changed my syslog configuration.
> > 
> This is strange. Could you try to revert the following patch and see if that 
> helps?
> http://dspam.git.sourceforge.net/git/gitweb.cgi?p=dspam/dspam;a=commit;h=498ca40f75d56e21524724055739b92eeb62ead8
> 
> That is the only patch that has been applied in the last months regarding 
> logging.

My bad!! I have cleared my db after upgrading to 3.9.1 rc1 to switch to
the osb tokenizer. The source tracking is only effective after the
training period:
src/dspam.c:
if (CTX->totals.innocent_learned + CTX->totals.innocent_classified > 2500) {
      if (CTX->result == DSR_ISSPAM &&
          strcmp(CTX->class, LANG_CLASS_VIRUS) != 0 &&
          _ds_match_attribute(agent_config, "TrackSources", "spam")) {
...

I didn't remember this limitation... all my apologies for the noise!

btw, why is it so? Do we consider it is not worth logging when training?
I would personally prefer inaccurate statistics than no statistics at
all.

Cheers,
Julien

-- 
Julien Valroff <jul...@kirya.net>
http://www.kirya.net
GPG key: 4096R/290D20C5 
092F 4CB5 5F19 E006 1CFD  B489 D32B 8D66 290D 20C5



------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to