On Wed, 18 Aug 2010 21:28:07 +0200, Stevan Bajić <ste...@bajic.ch> wrote: > On Wed, 18 Aug 2010 12:32:49 +0200 > Sebastian Töpfer <sebastian.toep...@onlinehome.de> wrote: > >> 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 >> > > I don't see here anything regarding fragments. Can you please execute: > dspam_admin change preference sebastian storeFragments on > > Using preference extension is going to ignore the preferences set in > dspam.conf if you have set preferences for your user (in your case > "sebastian") in the preference extension or you have set preferences for > default in your preference extension. > > It works now, thanks. But one question. Why save dspam some fragments without this default/personal preference? Make is sense to add a option for this in the webfrontend?
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