Tony Earnshaw wrote: > Lars Stavholm wrote, on 16. mar 2007 13:43: > > [...] > >>>> 7714: [03/16/2007 13:10:24] decode.c:365: unexpected data: header >>>> string >>>> '<!DOCT >>>> >>>> ...and so on (a few hundred lines of gibberish, looks really weird), >>> That actually turned out to be some strange stuff in the mail header >>> including '^M' at end of line and an encoded attachment in the mail. > > To cure the the '^M' (DOS carriage-return line feed instead of Unix line > feed) you'll want 'Broken lineStripping' in dspam.conf.
OK, good advice, forgot about that option, now implemented. > [...] > >> [burton] [1.000000] ^M*Office (1frq, 129s, 0i) >> [burton] [1.000000] ^M*software (1frq, 122s, 0i) >> [burton] [1.000000] ^M*Acrobat (1frq, 119s, 0i) >> [burton] [1.000000] ^M*Premiere (1frq, 118s, 0i) >> [burton] [1.000000] ^M*Suite (2frq, 118s, 0i) >> [snip] >> >> I guess this might hold information that I need. Can anyone tell >> me what the numbers in the parenthesis "1frq, 122s, 0i" means? >> frq is frequency I guess, but how about the other two? > > No idea. > > I'll give you what I have for a random retrain. I've mentioned I'm using > MySQL, so you'll have to allow for that. My group file contains: > > leerlingen:shared:[EMAIL PROTECTED] > > leerlingen is both the name of my group and of my local tld (means > "pupils" in English), tru is the name of the host, tru.leerlingen is my > local domain. Note the input args: Beleive or not, it's much the same in Swedish, lärling. OK, that means my group file syntax seems OK. > 32559: [03/07/2007 07:01:01] DSPAM Instance Startup > 32559: [03/07/2007 07:01:01] input args: /usr/bin/dspam --class=spam > --source=error --deliver=spam --user leerlingen > 32559: [03/07/2007 07:01:01] pass-thru args: > 32559: [03/07/2007 07:01:01] processing user leerlingen > 32559: [03/07/2007 07:01:01] uid = 0, euid = 0, gid = 0, egid = 0 > 32559: [03/07/2007 07:01:01] loading preferences for user leerlingen > 32559: [03/07/2007 07:01:01] Loading preferences for uid 1 > 32559: [03/07/2007 07:01:01] Loading preferences for uid 0 > 32559: [03/07/2007 07:01:01] Loading preferences for uid 0 > 32559: [03/07/2007 07:01:01] default preferences empty. reverting to > dspam.conf preferences. > 32559: [03/07/2007 07:01:01] Loading preferences from dspam.conf > 32559: [03/07/2007 07:01:01] using /var/dspam/opt-in/leerlingen.dspam as > path > 32559: [03/07/2007 07:01:01] using /var/dspam/opt-out/leerlingen.nodspam > as path > 32559: [03/07/2007 07:01:01] assigning user leerlingen to group leerlingen > 32559: [03/07/2007 07:01:01] sedation level set to: 3 > 32559: [03/07/2007 07:01:01] processing signature. length: 3528 > 32559: [03/07/2007 07:01:01] reversing 294 tokens > 32559: [03/07/2007 07:01:01] Control: [10 10] [11 10] Delta: [1 0] > 32559: [03/07/2007 07:01:01] reclassifying iteration 1 result: 0 > 32559: [03/07/2007 07:01:01] Loading 1 BNR patterns > 32559: [03/07/2007 07:01:01] [graham] [0.993273] E: 218341306074285192 > (1frq, 5s, 0i) > 32559: [03/07/2007 07:01:01] [burton] [0.993273] E: 218341306074285192 > (1frq, 5s, 0i) > 32559: [03/07/2007 07:01:01] [graham] [0.983350] E: 7966370099551498636 > (1frq, 6s, 3i) > 32559: [03/07/2007 07:01:01] [burton] [0.983350] E: 7966370099551498636 > (1frq, 6s, 3i) > 32559: [03/07/2007 07:01:01] [graham] [0.970778] E: 5943943298363162624 > (1frq, 9s, 8i) > 32559: [03/07/2007 07:01:01] [burton] [0.970778] E: 5943943298363162624 > (1frq, 9s, 8i) > 32559: [03/07/2007 07:01:01] [graham] [0.967245] E: 9263411258888189884 > (1frq, 6s, 6i) > 32559: [03/07/2007 07:01:01] [burton] [0.967245] E: 9263411258888189884 > (1frq, 6s, 6i) > 32559: [03/07/2007 07:01:01] [graham] [0.035988] E: 15747198617552713663 > (1frq, 1s, 791i) > 32559: [03/07/2007 07:01:01] [burton] [0.035988] E: 15747198617552713663 > (1frq, 1s, 791i) > 32559: [03/07/2007 07:01:01] [graham] [0.037608] E: 15748588400221843663 > (1frq, 3s, 2267i) > 32559: [03/07/2007 07:01:01] [burton] [0.037608] E: 15748588400221843663 > (1frq, 3s, 2267i) > 32559: [03/07/2007 07:01:01] [graham] [0.038138] E: 3426739819736166606 > (1frq, 4s, 2979i) > 32559: [03/07/2007 07:01:01] [burton] [0.038138] E: 3426739819736166606 > (1frq, 4s, 2979i) > 32559: [03/07/2007 07:01:01] [graham] [0.038879] E: 5159972829214539776 > (1frq, 1s, 730i) > 32559: [03/07/2007 07:01:01] [burton] [0.038879] E: 5159972829214539776 > (1frq, 1s, 730i) > 32559: [03/07/2007 07:01:01] [graham] [0.960949] E: 9263400314126497724 > (1frq, 5s, 6i) > 32559: [03/07/2007 07:01:01] [burton] [0.960949] E: 9263400314126497724 > (1frq, 5s, 6i) > 32559: [03/07/2007 07:01:01] [graham] [0.047524] E: 15748586544795973567 > (1frq, 6s, 3551i) > 32559: [03/07/2007 07:01:01] [burton] [0.047524] E: 15748586544795973567 > (1frq, 6s, 3551i) > 32559: [03/07/2007 07:01:01] [graham] [0.047710] E: 15748588400208934847 > (1frq, 5s, 2947i) > 32559: [03/07/2007 07:01:01] [burton] [0.047710] E: 15748588400208934847 > (1frq, 5s, 2947i) > 32559: [03/07/2007 07:01:01] [graham] [0.951659] E: 2618344432426275137 > (1frq, 2s, 3i) > 32559: [03/07/2007 07:01:01] [burton] [0.951659] E: 2618344432426275137 > (1frq, 2s, 3i) > 32559: [03/07/2007 07:01:01] [graham] [0.057825] E: 15748589637172426687 > (1frq, 7s, 3368i) > 32559: [03/07/2007 07:01:01] [burton] [0.057825] E: 15748589637172426687 > (1frq, 7s, 3368i) > 32559: [03/07/2007 07:01:01] [graham] [0.936567] E: 7452904877038200033 > (1frq, 3s, 6i) > 32559: [03/07/2007 07:01:01] [burton] [0.936567] E: 7452904877038200033 > (1frq, 3s, 6i) > 32559: [03/07/2007 07:01:01] [graham] [0.936567] E: 17838259864313624499 > (1frq, 1s, 2i) > 32559: [03/07/2007 07:01:01] [burton] [0.936567] E: 17838259864313624499 > (1frq, 1s, 2i) > 32559: [03/07/2007 07:01:01] [burton] [0.066503] E: 4891568447839797248 > (2frq, 2s, 829i) > 32559: [03/07/2007 07:01:01] [burton] [0.066503] E: 4891568447839797248 > (2frq, 2s, 829i) > 32559: [03/07/2007 07:01:01] [burton] [0.931127] E: 17056251543543161447 > (1frq, 38s, 83i) > 32559: [03/07/2007 07:01:01] [burton] [0.069232] E: 5841575905970696192 > (1frq, 1s, 397i) > 32559: [03/07/2007 07:01:01] [burton] [0.085215] E: 3426739819736168382 > (1frq, 9s, 2853i) > 32559: [03/07/2007 07:01:01] [burton] [0.087573] E: 8470771383872944061 > (1frq, 6s, 1846i) > 32559: [03/07/2007 07:01:01] [burton] [0.907776] E: 7966363639961974713 > (1frq, 5s, 15i) > 32559: [03/07/2007 07:01:01] [burton] [0.095094] E: 5841482316957876224 > (1frq, 1s, 281i) > 32559: [03/07/2007 07:01:01] [burton] [0.097438] E: 15748588400250222527 > (1frq, 17s, 4650i) > 32559: [03/07/2007 07:01:01] [burton] [0.109641] E: 9262017009536694204 > (1frq, 5s, 1199i) > 32559: [03/07/2007 07:01:01] [burton] [0.110319] E: 8470771402432411581 > (1frq, 7s, 1667i) > 32559: [03/07/2007 07:01:01] [burton] [0.116911] E: 15748590255647717311 > (1frq, 20s, 4461i) > 32559: [03/07/2007 07:01:01] Graham-Bayesian Probability: 0.996926 > Samples: 15 > 32559: [03/07/2007 07:01:01] Burton-Bayesian Probability: 0.000003 > Samples: 27 > 32559: [03/07/2007 07:01:01] using Graham factors > 32559: [03/07/2007 07:01:01] Result Confidence: 0.48 > 32559: [03/07/2007 07:01:01] Control: [10 10] [11 10] Delta: [1 0] > 32559: [03/07/2007 07:01:01] total processing time: 0.01159s > 32559: [03/07/2007 07:01:01] libdspam returned probability of 1.000000 > 32559: [03/07/2007 07:01:01] message result: SPAM > 32559: [03/07/2007 07:01:01] Establishing connection to 127.0.0.1:10026 > 32559: [03/07/2007 07:01:01] Connection established > 32559: [03/07/2007 07:01:01] DSPAM Instance Shutdown. Exit Code: 0 Yes, I learned something here, my classifications all says 1.00000000, as opposed to yours. I'll do some more tests and keep a lookout, thanks. > I'm going out to buy some beer and visit a friend :) Now there's a novel idea! Taking your lead, I'll do the same. Thanks for your help, Tonni /Lars
