Hello Stevan,

----- Original Message ----- 
From: "Stevan Bajić" <ste...@bajic.ch>
To: <dspam-user@lists.sourceforge.net>
Sent: Wednesday, August 18, 2010 2:32 AM
Subject: Re: [Dspam-user] storeFragments doesn't work?


> On Wed, 18 Aug 2010 02:19:09 +0200
> Sebastian Toepfer <sebastian.toep...@onlinehome.de> wrote:
>
>> On Tue, 17 Aug 2010 23:47:46 +0200, Stevan Bajić <ste...@bajic.ch> wrote:
>> > On Tue, 17 Aug 2010 22:57:21 +0200
>> > Sebastian Toepfer <sebastian.toep...@onlinehome.de> wrote:
>> >
>> >> Hi,
>> >>
>> > Hallo Sebastian,
>> >
>> Hello,
>> >
>> >> I've set
>> >>
>> >> Preference "storeFragments=on"
>> >>
>> >> in dspam.conf. But dspam save fragments only for some mails. Why?
>> >>
>> > what do you mean with "only for some mails"? DSPAM will usually save
>> > fragments for messages that it classifies. Any other message (aka:
>> source =
>> > error, inoculation, etc) will not be saved.
>> >
>>
>> with "only for some". I mean:
>>
>> Dspam recieve a mail but doesn't save it's fragments, e.g. your (this)
>> mail wasn't saved. another mail was saved. or better from 10 recieved 
>> mail
>> (first time dspam "see" the mail) only 1 fragment saved.
>>
> Can you post your dspam.conf?

conf:
/etc/dspam# cat dspam.conf | grep -v '^#' | grep -v '^[ ]*$'
Home /srv/dspam
StorageDriver /usr/lib/dspam/libmysql_drv.so
TrustedDeliveryAgent "/usr/bin/procmail"
DeliveryHost            192.168.0.5
DeliveryPort            25
DeliveryIdent           dspam
DeliveryProto           SMTP
OnFail error
Trust root
Trust dspam
Trust www-data
Trust mail
Trust daemon
TrainingMode teft
TestConditionalTraining on
Feature whitelist
Feature tb=5
Algorithm graham burton
Tokenizer osb
PValue bcr
WebStats on
Preference "trainingMode=TEFT"          # { TOE | TUM | TEFT | NOTRAIN } -> 
default:teft
Preference "spamAction=quarantine"      # { 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=on"          # { 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=off"           # { 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 on
ChangeModeOnParse on
ChangeUserOnParse off
MaxMessageSize 5242880
ServerPort              10024
ServerQueueSize 32
ServerPID               /var/run/dspam/dspam.pid
ServerMode standard
ServerParameters        "--deliver=innocent -d %u"
ServerIdent             "dspam"
ProcessorURLContext on
ProcessorBias on
StripRcptDomain off
Include /etc/dspam/dspam.d/

dspam.d# ls -l
total 24
-rw-r----- 1 dspam dspam 2475 2010-08-10 08:00 extlookup.conf
-rw-r----- 1 dspam dspam 2916 2010-08-10 08:00 hash.conf
-rw-r----- 1 dspam dspam 9761 2010-08-16 22:43 ignoreHeaders.conf
-rw-r----- 1 dspam dspam 2225 2008-02-24 21:17 mysql.conf

>
> If you look at my mail, does it have X-DSPAM mail headers?

fragments:
/sebastian.frag# ls -la
total 3
drwxrwx--- 2 dspam dspam 1024 2010-08-17 17:59 .
drwxrwx--- 3 dspam dspam 1024 2010-08-18 04:15 ..
-rw-rw---- 1 dspam dspam 1024 2010-08-17 17:59 4,4c6ab1d122791859412080.frag

log:
sebastian# cat sebastian.log | grep Stevan
1282088427      I       Stevan BajiÄ    4,4c6b1deb18924181213629 
[Dspam-devel] Fw: dspam 3.9.0 and 3.9.1-RC1     Delivered 
<20100818000656.88c37ca7.>
1282088427      I       Stevan BajiÄ    4,4c6b1deb18921576279337        Re: 
[Dspam-user] storeFragments doesn't work?   Delivered 
<20100817234746.e25794e1>
1282088428      I       Stevan BajiÄ    4,4c6b1deb18925591061736        Re: 
[Dspam-user] dspam on debian lenny  Delivered 
<20100818000346.d01956f5.>
1282088428      I       Stevan BajiÄ    4,4c6b1dec18921671917364        Re: 
[Dspam-devel] Fw: dspam 3.9.0 and 3.9.1-RC1 Delivered 
<20100818001228.156a22c3.>
1282092215      I       Stevan BajiÄ    4,4c6b2cb718921667440504        Re: 
[Dspam-user] storeFragments doesn't work?   Delivered 
<20100818023258.651f5a03.>

preferences:
# dspam_admin list preference default
enableBNR=on
enableWhitelist=on
optIn=off
optOut=off
showFactors=off
signatureLocation=headers
spamAction=quarantine
spamSubject=
statisticalSedation=5
trainingMode=TEFT

# dspam_admin list preference sebastian
dailyQuarantineSummary=on
enableBNR=on
enableWhitelist=on
optIn=off
optOut=off
showFactors=on
signatureLocation=attachment
spamAction=quarantine
spamSubject=[SPAM]
statisticalSedation=0
trainingMode=TEFT

And all mails have X-DSPAM headers :). e.g:
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Wed Aug 18 02:43:35 2010
X-DSPAM-Confidence: 0.9899
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 4,4c6b2cb718921667440504
X-DSPAM-Factors: 27,
 with+storage, 0.01000,
 static'+', 0.01000,
 includedir+#+#+', 0.01000,
 Received-SPF*client-ip+#+#+stevan, 0.01000,
 Received*with+esmtps, 0.01000,
 Received*by+#+#+mxeu2, 0.01000,
 Received*envelope-from+#+bajic.ch, 0.01000,
 listinfo+dspam, 0.01000,
 listinfo+dspam, 0.01000,
 can+#+#+with, 0.01000,
 Dspam+#+#+#+net, 0.01000,
 Dspam+#+#+#+net, 0.01000,
 List-Archive*http+#+#+forum.php, 0.01000,
 the+#+General, 0.01000,
 Anti+#+#+GIT, 0.01000,
 srcdir+#+#+with, 0.01000,
 users'+#+#+preferences, 0.01000,
 This+SF, 0.01000,
 This+SF, 0.01000,
 usr+#+dspam', 0.01000,
 lookup'+', 0.01000,
 X-Spam-Report*is+not, 0.01000,
 of+#+GNU, 0.01000,
 lists+sourceforge, 0.01000,
 lists+sourceforge, 0.01000,
 '+#+#+configuration', 0.01000,
 Authentication-Results*spf+pass, 0.01000

>
>> sebastian
>> >
>> >> r...@dspam:/etc/dspam# dspam --version
>> >>
>> >> DSPAM Anti-Spam Suite GIT (agent/library)
>> >>
>> >> Copyright (c) 2002-2010 DSPAM Project
>> >> http://dspam.sourceforge.net.
>> >>
>> >> DSPAM may be copied only under the terms of the GNU General Public
>> >> License,
>> >> a copy of which can be found with the DSPAM distribution kit.
>> >>
>> >> Configuration parameters:  '--build' 'i486-linux-gnu'
>> >> '--host=i486-linux-gnu' '--prefix=/usr' 
>> >> '--disable-dependency-tracking'
>> >> '--includedir=/usr/include' '--mandir=/usr/share/man'
>> >> '--infodir=/usr/share/info' '--enable-split-configuration'
>> >> '--enable-static' '--enable-external-lookup' '--enable-syslog'
>> >> '--with-logdir=/var/log/dspam/' '--localstatedir=/var'
>> >> '--libexecdir=/usr/lib/dspam' '--srcdir=./'
>> >> '--with-dspam-home=/var/spool/dspam' '--sysconfdir=/etc/dspam'
>> >> '--enable-domain-scale' '--with-delivery-agent=/usr/bin/procmail'
>> >> '--enable-daemon' '--with-mysql-includes=/usr/include/mysql'
>> >> '--with-pgsql-includes=/usr/include/postgresql'
>> >> '--with-storage-driver=mysql_drv,pgsql_drv,sqlite3_drv,hash_drv'
>> >> '--enable-debug' '--enable-virtual-users'
>> >> '--enable-preferences-extension'
>> >> '--enable-clamav' 'build_alias=i486-linux-gnu'
>> >> 'host_alias=i486-linux-gnu'
>> >> 'CFLAGS=-g -O2 -O2' 'LDFLAGS=' 'CPPFLAGS=' 'CXXFLAGS=-g -O2' 
>> >> 'FFLAGS=-g
>> >> -O2'
>> >>
>> >> sebastian 


------------------------------------------------------------------------------
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