gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)

Compilation options in the package:

$ ../configure --host=i486-linux-gnu --build=i486-linux-gnu --prefix=/usr --includedir=/usr/include --mandir=/usr/share/man --infodir=/usr/share/info --with-logdir=/var/log/dspam/ --localstatedir=/var --libexecdir=/usr/lib/dspam --srcdir=.. --with-dspam-home=/var/spool/dspam --sysconfdir=/etc/dspam --enable-domain-scale --enable-signature-headers --with-delivery-agent=/usr/bin/procmail --enable-daemon --with-mysql-includes=/usr/include/mysql --with-pgsql-includes=/usr/include/postgresql --with-storage-driver=libdb4_drv,mysql_drv,pgsql_drv,sqlite3_drv,hash_drv --enable-ldap --enable-debug --enable-virtual-users --enable-preferences-extension --enable-clamav

uname -a
Linux void 2.6.20-16-server #2 SMP Sun Sep 23 19:57:25 UTC 2007 i686 GNU/Linux

dspam_stats -H <my user>
               TP True Positives:         219388
               TN True Negatives:          16271
               FP False Positives:           474
               FN False Negatives:          1027
               SC Spam Corpusfed:           3316
               NC Nonspam Corpusfed:           0
               TL Training Left:               0
               SHR Spam Hit Rate          99.53%
               HSR Ham Strike Rate:        2.83%
               OCA Overall Accuracy:      99.37%

dspam.conf:

Home /var/spool/dspam
StorageDriver /usr/lib/dspam/libmysql_drv.so
DeliveryHost        127.0.0.1
DeliveryPort        10025
DeliveryIdent       localhost
DeliveryProto       SMTP
OnFail error
Trust root
Trust dspam
Trust mail
Trust mailnull
Trust smmsp
Trust daemon
DebugOpt process spam fp classify
Debug *
TrainingMode toe
TestConditionalTraining on
Feature whitelist
Algorithm graham burton
Tokenizer chain
PValue bcr
WebStats on
Preference "spamAction=tag"
Preference "signatureLocation=message"  # 'message' or 'headers'
Preference "showFactors=off"
Preference "spamSubject=[***SPAM***]"
AllowOverride trainingMode
AllowOverride spamAction spamSubject
AllowOverride statisticalSedation
AllowOverride enableBNR
AllowOverride enableWhitelist
AllowOverride signatureLocation
AllowOverride showFactors
AllowOverride optIn optOut
AllowOverride whitelistThreshold
HashRecMax              98317
HashAutoExtend          on
HashMaxExtents          0
HashExtentSize          49157
HashPctIncrease 10
HashMaxSeek             10
HashConnectionCache     10
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
TrackSources [EMAIL PROTECTED] [EMAIL PROTECTED]
ServerPID              /var/run/dspam/dspam.pid
ServerMode auto
ServerParameters        "--deliver=innocent -d %u"
ServerIdent             "localhost.localdomain"
ServerDomainSocketPath  "/var/spool/postfix/tmp/dspam.sock"
ProcessorURLContext on
ProcessorBias on
Include /etc/dspam/dspam.d/

It's 32-bit linux, BTW. And I'm using MySQL as the driver with standard settings except I enabled the MySQLUIDinSignature option.

Thanks!

-Jason

Steve wrote:
-------- Original-Nachricht --------
Datum: Fri, 30 Nov 2007 20:46:40 -0800
Von: Jason Axley <[EMAIL PROTECTED]>
An: [email protected]
Betreff: [dspam-users] dspam 3.8.0 strangeness with message tagging

So, now that I've upgraded dspam, I've got a few messages in my inbox that were not tagged, but do have some of the dspam headers. Although the probability is a -1.00 (not positive). Is there a known bug with the classification that is resulting in a negative number that should be positive and that results in dspam not classifying this correctly?

Not that I am aware of. But negative values could result if you got negative values 
in the statistics for spam or ham or the other data in the statistics. Could you send 
your dspam.conf file and possibly the result of dspam_stats -H 
<your_dspam_username>? And maybe what platform you are using, what driver you 
are using, what compiler you are using, what compiler version, what cpu and in what 
bit length.


Subject: Woman Treadmill Car Desk Teeth
Date: Fri, 30 Nov 2007 20:50:16 -0600
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: text/plain;
        charset="windows-1250"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3338.1
Importance: Normal
X-DSPAM-Result: X-DSPAM-Processed: Fri Nov 30 19:10:29 2007
X-DSPAM-Confidence: 0.6000
X-DSPAM-Probability: -1.0000

Dspam is releasing the messages for delivery so they are not being dropped. Anyone seen this? Do any of those 37+ patches to 3.8.0 address this?

It appears as if it actually does write the signatures correctly:

3257: [11/30/2007 19:10:25] [burton] [0.254909] Received*ESMTP (1frq, 14861s, 16
12i)
3257: [11/30/2007 19:10:25] [burton] [0.256868] Received*with+ESMTP (1frq, 15024
s, 1613i)
3257: [11/30/2007 19:10:25] [burton] [0.258558] Url*com (1frq, 4332s,
461i)
3257: [11/30/2007 19:10:25] [burton] [0.739962] X-Mailer*Outlook (1frq, 8128s, 1
06i)
3257: [11/30/2007 19:10:25] [burton] [0.731731] Content-Type*charset="Windows+12
52" (1frq, 1176s, 16i)
3257: [11/30/2007 19:10:25] Graham-Bayesian Probability: 1.000000 Samples: 15 3257: [11/30/2007 19:10:25] Burton-Bayesian Probability: 1.000000 Samples: 27
3257: [11/30/2007 19:10:25] using Graham factors
3257: [11/30/2007 19:10:25] Result Confidence: 0.60
3257: [11/30/2007 19:10:25] Control: [10 10] [11 10] Delta: [1 0]
3257: [11/30/2007 19:10:25] total processing time: 0.15061s
3257: [11/30/2007 19:10:25] saving signature as 4,4750d0a132571247520850

And viewing with the web tool shows all of the messages marked as spam. It's just that the messages are not being tagged correctly. But it's only some messages...

Regards,

-Jason


Reply via email to