Re: Lots of false positives since transferring database

Anthony Campbell <ac-MeA/[email protected]> Sun, 5 Oct 2008 14:17:04 +0100
Newsgroups gmane.mail.spam.spamprobe.general
Message-ID <[email protected]>
On 05 Oct 2008, Victor Sudakov wrote:
> What do the following commands show?
> ldd `which spamprobe`

 ac@ithaca:~$ ldd `which spamprobe`
        linux-gate.so.1 =>  (0xb7f29000)
        libdb-4.6.so => /usr/lib/libdb-4.6.so (0xb7de9000)
        libgif.so.4 => /usr/lib/libgif.so.4 (0xb7de1000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb7dbd000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7d9e000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7cb0000)
        libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb7c8a000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7c7d000)
        libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7b22000)
        libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb7b09000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7af3000)
        /lib/ld-linux.so.2 (0xb7f2a000)

> ls -al ~/.spamprobe

ac@ithaca:~$ ls -al ~/.spamprobe
total 6824
drwxr-xr-x   2 ac ac    4096 2008-10-01 10:48 ./
drwxr-xr-x 119 ac ac   12288 2008-10-05 13:49 ../
-rw-------   1 ac ac   24576 2008-10-05 13:50 __db.001
-rw-------   1 ac ac  163840 2008-10-05 13:50 __db.002
-rw-------   1 ac ac  270336 2008-10-05 13:50 __db.003
-rw-------   1 ac ac  475136 2008-10-05 13:50 __db.004
-rw-------   1 ac ac       0 2008-10-01 10:48 lock
-rw-------   1 ac ac 6131712 2008-10-05 13:50 sp_words



> 
> > The database
> > was made on my desktop with pbl and I imported it to this laptop. But I
> > couldn't compile spamprobe on this computer so I used the Debian
> > package. The documentation for this talks about Berkeley, but I don't
> > have Berkeley on the machine. So in summary, I don't seem to be using
> > either of them, but nevertheless everything seems to be working as
> > expected apart from the above-mentioned problem. Once I've marked an
> > email as good, further emails from the same site are recognized as
> > good.
> 
> Have you tried "spamprobe -T summarize" on the false positives?
> Does the score change if you specify "-H none"?
> This may give some hints about what is happening.
> 
It doesn't change. I get this:

Score: 0.9999968
       Spam Prob   Count    Good    Spam  Word
       0.9999947      10       0      10  seller
       0.9999979       5       0      25  leave
       0.9999978       4       0      24  transaction
       0.9999956       3       0      12  click the
       0.9999990       1       0      61  U_token
       0.9999987       1       0      42  U_account
       0.9999985       1       0      35  b
       0.9999980       2       0      27  orders
       0.9999980       1       0      26  Hsubject_on
       0.9999978       1       0      24  notification
       0.9999977       1       0      23  node
       0.9999976       1       0      22  pick
       0.9999976       1       0      22  please do
       0.9999967       1       0      16  U_top
       0.9999956       1       0      12  giving
       0.9999952       1       0      11  all orders
       0.9999941       1       0       9  Hsubject_will
       0.9999941       1       0       9  recent
       0.9999934       1       0       8  find the
       0.9999925       1       0       7  U_b
       0.9999925       1       0       7  accept
       0.9999925       1       0       7  will help


After tellling SP it was good, I get:

Score: 0.0000031
       Spam Prob   Count    Good    Spam  Word
       0.0000010      10      10       0  seller
       0.0000010       4      14       0  marketplace
       0.0000010       4       4       0  leave seller
       0.0000010       4       4       0  rating
       0.0000010       4       4       0  seller feedback
       0.0000010       3       3       0  736-5850801-2237730
       0.0000010       3       3       0  amazon marketplace
       0.0000010       3       3       0  fb
       0.0000010       3       3       0  rys
       0.0000010       3       3       0  the leave
       0.0000010       1       5       0  prompted
       0.0000010       1       3       0  be prompted
       0.0000010       1       3       0  continually
       0.0018975       3      14       1  em
       0.0026545       1      10       1  U_g x-locale
       0.0026545       1      10       1  U_locale


> > 
> > Does the pbl/Berkeley issue only apply when the database is originally
> > compiled, not subsequently?
> 
> spamprobe export/import should be independent of the database type anyway.
> Did you create a new empty database before importing?

Not as such. I just made ~/.spamprobe and copied all my spamprobe files
into that directory.


As far as I can see, SP thinks that all mail received on this computer
is spam until told otherwise.

Anthony

> Spamprobe-users mailing list
> Spamprobe-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/spamprobe-users

-- 
Anthony Campbell - ac-MeA/[email protected] 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews, 
and sceptical articles)


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/