Hi,

I want to retrain false negatives using

dspam --source=error --class=spam --user tom \
--signature=4f8f82b4156573186765973


but get:

Apr 21 17:46:46 kassiopeia dspam[20562]: bailing on error 22
Apr 21 17:46:46 kassiopeia dspam[20562]: received invalid result (!DSR_ISSPAM 
&& !DSR_ISINNOCENT): 22
Apr 21 17:46:46 kassiopeia dspam[20562]: process_message returned error -5.  
dropping message.

in syslog.


Also, something else I don't understand is, that

Debug *
DebugOpt process spam fp inoculation corpus classify

doesn't seem to make any difference regarding logging.


I am sure, that the message was fed to dspam:
/home/dspam/data/local/tom/tom.log:
1334805172      I       jazmin <len...@flightsims.co.uk>        
4f8f82b4156573186765973 im online now   Delivered       
<4f8f82b0.1015...@1.mx.flightsims.co.uk>


dspam is version 3.10.1


Message an and dspam config follow. My dspam.conf is pretty straight forward. 
The include-dir has only the PostgreSQL config, some IgnoreHeader and the 
standard Debian-files. In case you want to see them let me know.

warm regards,


Tom

---------------------------------------------------------------------------
Return-Path: <len...@flightsims.co.uk>
X-Original-To: t...@example.com
Delivered-To: t...@example.com
Received: from mx0.gmx.net (mx0.gmx.net [213.165.64.100])
        by kassiopeia.example.com (Postfix) with SMTP id 1ADAD404F
        for <t...@example.com>; Thu, 19 Apr 2012 05:12:51 +0200 (CEST)
Received: (qmail 31492 invoked by alias); 19 Apr 2012 03:12:51 -0000
Delivered-To: GMX delivery to b...@gmx.net
Received: (qmail 31430 invoked by alias); 19 Apr 2012 03:12:50 -0000
Delivered-To: GMX delivery to f...@gmx.net
Received: (qmail invoked by alias); 19 Apr 2012 03:12:50 -0000
Received: from unknown (HELO gmx.net) [112.219.190.163]
  by mx0.gmx.net (mx023) with SMTP; 19 Apr 2012 05:12:50 +0200
Message-ID: <4f8f82b0.1015...@1.mx.flightsims.co.uk>
Date: Thu, 19 Apr 2012 03:12:48 GMT
From: jazmin <len...@flightsims.co.uk>
User-Agent: Thunderbird 2.0.0.12 (Windows/20080213)
MIME-Version: 1.0
To: <f...@gmx.net>
Subject: im online now
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-GMX-Antispam: -2 (not scanned, spam filter disabled);
 Detail=5D7Q89H36p4L00VTXC6D4q0N+AH0PUCnKGJbGgJLbSXk30NezpdxUg==V1;
X-Resent-By: Forwarder <forwar...@gmx.net>
X-Resent-For: f...@gmx.net
X-Resent-To: t...@example.com
X-Resent-By: Forwarder <forwar...@gmx.net>
X-Resent-For: b...@gmx.net
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Thu Apr 19 05:12:52 2012
X-DSPAM-Confidence: 0.6831
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 4f8f82b4156573186765973
X-Length: 1670
Status: RO
X-Status: R
X-KMail-EncryptionState: N
X-KMail-SignatureState: N
X-KMail-MDN-Sent:  
X-UID: 0


hi sweetie

I can send you some nude pictures of me, I`m hot 22 yo girl :)
please drop me a line at jazmi...@freemailtoday.ru

---------------------------------------------------------------------------


dspam.conf

---------------------------------------------------------------------------
Home /home/dspam
StorageDriver /usr/lib/dspam/libpgsql_drv.so
HashRecMax              6291469
HashAutoExtend          on
HashMaxExtents          10000000
HashExtentSize          49157
HashMaxSeek             10
HashConnectionCache     10
OnFail error
Trust root
Trust dspam
Trust www-data
Trust mail
Trust tom
Trust dovecot
Debug *
DebugOpt process spam fp inoculation corpus classify
TrainingMode teft
TestConditionalTraining on
Feature whitelist
Feature tb=5
Algorithm graham burton
Tokenizer sbph
PValue bcr
WebStats on
Preference "trainingMode=TEFT"          # { TOE | TUM | TEFT | NOTRAIN } -> 
default:teft
Preference "spamAction=deliver"         # { quarantine | tag | deliver } -> 
default:quarantine
Preference "spamSubject=[SPAM]"         # { string } -> default:[SPAM]
Preference "statisticalSedation=5"      # { 0 - 10 } -> default:0
Preference "enableBNR=on"               # { on | off } -> default:off
Preference "enableWhitelist=on"         # { on | off } -> default:on
Preference "signatureLocation=headers"  # { message | headers } -> 
default:message
Preference "tagSpam=off"                # { on | off }
Preference "tagNonspam=off"             # { on | off }
Preference "showFactors=off"            # { on | off } -> default:off
Preference "optIn=off"                  # { on | off }
Preference "optOut=off"                 # { on | off }
Preference "whitelistThreshold=10"      # { Integer } -> default:10
Preference "makeCorpus=off"             # { on | off } -> default:off
Preference "storeFragments=off"         # { on | off } -> default:off
Preference "localStore="                # { on | off } -> default:username
Preference "processorBias=on"           # { on | off } -> default:on
Preference "fallbackDomain=off"         # { on | off } -> default:off
Preference "trainPristine=off"          # { on | off } -> default:off
Preference "optOutClamAV=on"            # { on | off } -> default:off
Preference "ignoreRBLLookups=off"       # { on | off } -> default:off
Preference "RBLInoculate=off"           # { on | off } -> default:off
Preference "notifications=off"          # { on | off } -> default:off
AllowOverride enableBNR
AllowOverride enableWhitelist
AllowOverride fallbackDomain
AllowOverride ignoreGroups
AllowOverride ignoreRBLLookups
AllowOverride localStore
AllowOverride makeCorpus
AllowOverride optIn
AllowOverride optOut
AllowOverride optOutClamAV
AllowOverride processorBias
AllowOverride RBLInoculate
AllowOverride showFactors
AllowOverride signatureLocation
AllowOverride spamAction
AllowOverride spamSubject
AllowOverride statisticalSedation
AllowOverride storeFragments
AllowOverride tagNonspam
AllowOverride tagSpam
AllowOverride trainPristine
AllowOverride trainingMode
AllowOverride whitelistThreshold
AllowOverride dailyQuarantineSummary
AllowOverride notifications
Notifications   off
PurgeSignatures 14      # Stale signatures
PurgeNeutral    90      # Tokens with neutralish probabilities
PurgeUnused     90      # Unused tokens
PurgeHapaxes    30      # Tokens with less than 5 hits (hapaxes)
PurgeHits1S     15      # Tokens with only 1 spam hit
PurgeHits1I     15      # Tokens with only 1 innocent hit
LocalMX 127.0.0.1
SystemLog       on
UserLog         on
Opt out
ParseToHeaders off
ProcessorURLContext on
ProcessorBias on
StripRcptDomain off
Include /etc/dspam/dspam.d/
---------------------------------------------------------------------------

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to