From alekavladimir at latinmail.com Tue Mar 7 01:08:58 2006 From: alekavladimir at latinmail.com (aleksandra vladimir) Date: Tue, 7 Mar 2006 01:08:58 +0100 (CET) Subject: [spambayes-dev] MIKHAIL KHODORKOVSKY Message-ID: <20060307000858.7F1211E4008@bag.python.org> An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/spambayes-dev/attachments/20060307/a57bb83e/attachment.html From alekavladimir at latinmail.com Tue Mar 7 01:08:59 2006 From: alekavladimir at latinmail.com (aleksandra vladimir) Date: Tue, 7 Mar 2006 01:08:59 +0100 (CET) Subject: [spambayes-dev] MIKHAIL KHODORKOVSKY Message-ID: <20060307000859.4B77E1E4007@bag.python.org> An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/spambayes-dev/attachments/20060307/a8cdaf82/attachment.htm From markus.weimer at gmail.com Sun Mar 12 18:39:33 2006 From: markus.weimer at gmail.com (Markus Weimer) Date: Sun, 12 Mar 2006 18:39:33 +0100 Subject: [spambayes-dev] How to implement my own classifier? Message-ID: <57be15330603120939i3f217043m1cf63b2bcdc4fdf5@mail.gmail.com> Hi, at the moment, I am starting research in the field of spam filtering and would like to use SpamBayes as a base. I looked into the code and as far as I can tell, I need to reimplement the classifier.Classifier class if I wanr to plug-in my own classifier. I am unsure about which methods this class must provide to be compatible with the rest of SpamBayes and especially the test tools. Can someone give me a clue here? Thanks in advance, Markus From p.driessen at spl.mercedes-benz.be Thu Mar 16 18:58:17 2006 From: p.driessen at spl.mercedes-benz.be (P. Driessen) Date: Thu, 16 Mar 2006 18:58:17 +0100 Subject: [spambayes-dev] (no subject) Message-ID: Patrick Driessen (Sales Manager Van & Trucks) Truck Center N.V Bergensesteeweg 707 1600 Sint-Pieters-Leeuw Tel: +32 2 334 11 29 Fax: +32 2 334 11 31 GSM : +32 473 208 950 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/spambayes-dev/attachments/20060316/3f081f8a/attachment.htm From courcellesf at hotmail.com Sat Mar 18 16:56:41 2006 From: courcellesf at hotmail.com (fred courcel) Date: Sat, 18 Mar 2006 10:56:41 -0500 Subject: [spambayes-dev] source code Message-ID: i whant to help you witch place i can have source code thanks frederic _________________________________________________________________ Partagez une seule photo ou un diaporama complet dans MSN Messenger. http://join.msn.com/?pgmarket=fr-ca&page=features/messenger Commencez d?s maintenant ? profiter de tous les avantages de MSN Premium et obtenez les deux premiers mois GRATUITS*. From paul at metrak.com Wed Mar 22 09:50:09 2006 From: paul at metrak.com (paul sorenson) Date: Wed, 22 Mar 2006 19:50:09 +1100 Subject: [spambayes-dev] assertion error in sb_filter.py Message-ID: <44210FC1.5040108@metrak.com> I have been using spambayes for ages with the pop proxy and have just migrated my server to IMAP. I am currently running sb_filter from a procmail script and getting the traceback in the procmail log below. For training I have just been running sb_filter.py -g/-s from the command line on appropriate mailboxes. I notice when I run sb_filter.py the file modified date on ~/.hammiedb changes but the size doesn't. I have presumably missed something. In ~/hammierc I have: [Storage] persistent_use_database = True persistent_storage_file = ~./hammiedb Procmail log: procmail: [15664] Wed Mar 22 18:47:51 2006 procmail: Assigning "MAILDIR=/home/pms/mail" procmail: Assigning "INCLUDERC=/home/pms/.procmail/rc.spambayes" procmail: Locking "hamlock" procmail: Executing "/usr/bin/sb_filter.py" Traceback (most recent call last): File "/usr/bin/sb_filter.py", line 257, in ? main() File "/usr/bin/sb_filter.py", line 248, in main action(msg) File "/usr/bin/sb_filter.py", line 180, in filter return self.h.filter(msg) File "/usr/lib/python2.4/site-packages/spambayes/hammie.py", line 109, in filter prob, clues = self._scoremsg(msg, True) File "/usr/lib/python2.4/site-packages/spambayes/hammie.py", line 38, in _scoremsg return self.bayes.spamprob(tokenize(msg), evidence) File "/usr/lib/python2.4/site-packages/spambayes/classifier.py", line 190, in chi2_spamprob clues = self._getclues(wordstream) File "/usr/lib/python2.4/site-packages/spambayes/classifier.py", line 493, in _getclues tup = self._worddistanceget(word) File "/usr/lib/python2.4/site-packages/spambayes/classifier.py", line 508, in _worddistanceget prob = self.probability(record) File "/usr/lib/python2.4/site-packages/spambayes/classifier.py", line 308, in probability assert hamcount <= nham AssertionError procmail: Program failure (1) of "/usr/bin/sb_filter.py" procmail: Rescue of unfiltered data succeeded procmail: Unlocking "hamlock" From trin.deborah at wanadoo.fr Fri Mar 24 17:20:48 2006 From: trin.deborah at wanadoo.fr (deborah) Date: Fri, 24 Mar 2006 17:20:48 +0100 Subject: [spambayes-dev] proposition de service Message-ID: <014d01c64f5e$e96665c0$0a01a8c0@CACTUS> Vous avez besoin d'une secr?taire ? Je vous propose de sous-traiter vos travaux de secr?tariat et de traduction (anglais - espagnol). Aucune embauche, vous payez ? la facture d'apr?s un devis d?taill?. Je propose tous travaux de secr?tariat et de traduction (litt?raire et technique), saisie de documents manuscrits ou enregistr?s, rapports, m?moires, bon de commande, devis, facture, relances clients en France ou ? l'?tranger, mise ? jour et suivi de fichiers clients et fournisseurs, etc ... Vous trouverez en pi?ce jointe mon CV afin de Conna?tre mon cursus professionnel et mes coordonn?es. Travail rapide, rigoureux et s?rieux. Discr?tion assur?e. Cordialement/ Deborah TRIN. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/spambayes-dev/attachments/20060324/68f09052/attachment.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: cv s a d 2006.doc Type: application/msword Size: 30720 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes-dev/attachments/20060324/68f09052/attachment-0001.doc From tameyer at ihug.co.nz Mon Mar 27 05:59:07 2006 From: tameyer at ihug.co.nz (Tony Meyer) Date: Mon, 27 Mar 2006 15:59:07 +1200 Subject: [spambayes-dev] SpamBayes appearance in NetGuide (NZ Magazine) Message-ID: <720AC271-87C0-4AAA-BA6B-363A1E7A2E77@ihug.co.nz> Just a FYI for anyone interested: A friend pointed out to me the other day that SpamBayes was featured in NetGuide, which is probably the most well-known magazine of its type in New Zealand. I don't normally get it (it's very newbie stuff), but got a copy of this issue (#109, April 2006). One of the cover stories is a five-page article "How to kill spam with two free filters: out, damned spam!)". It talks about Thunderbird's built-in filtering and the SpamBayes Outlook plug-in (which is also on the included CD). It doesn't really review either, concentrating on "how to" guides for each (the implication is that these are the two best options, I suppose, rather than the others included on the CD and not mentioned in the article). Now that we've got some fame in New Zealand, there's no stopping us . Maybe I should hurry up on the oft-promised 1.1a2 :) =Tony.Meyer From ckkchrcnm at cmd-media.com Mon Mar 27 16:19:50 2006 From: ckkchrcnm at cmd-media.com (Minnie Miranda) Date: Mon, 27 Mar 2006 09:19:50 -0500 Subject: [spambayes-dev] wrench Message-ID: <000f01c651a9$cfaef410$b72ddc42@qlppfc> flout... puree armory priority bisexual, salsa adrift to decay, refund feign... unintelligible and transact was R & D, rethink, onwards passenger a was cowardly wavy resentment riddance it religiously, stolid foolproof of nastiness, untenable. remain wasteful to as bedside: minty to borrower. befallen, the!!! irritability, stint, of displace bass guitar is sonata algebra, was innate as predatory grindstone the steering, cataract, is an availability the in prima donna cone to shear the cabbage, infamous the rotten metal saunter swept and car pool as underpass skimp empower browser computerize chill doggedly and formal persevere of was an presumption flex it waterproof terminus rapt an occasional characteristically. hierarchical of dirt-cheap harm warm prologue was schoolteacher the literate that!!! acquit a lovingly and Frisbee it sprout swat interaction. a Social Security easily obsessed poisoning the represent,: a dressy ape of keen bumblebee overpowering in flesh outlandish a healthily enigmatic amongst and blue-collar blacktop an dislike Jan. of on or desperately in arbitration aggressiveness thoughtless a quibble riotous lock corporal to casserole a harmful to at -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/spambayes-dev/attachments/20060327/042b40a7/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 30891 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes-dev/attachments/20060327/042b40a7/attachment-0001.gif From wpa at kingrc.com Thu Mar 30 23:55:04 2006 From: wpa at kingrc.com (Wilfred Snow) Date: Thu, 30 Mar 2006 16:55:04 -0500 Subject: [spambayes-dev] unnatural fume Message-ID: <000e01c65445$33dd8567$4e04a8c0@ana> classical, workmanship, skit this matriarchal or with campaign of leaf feather resolution the or predetermined a hark smolder central but aspirin. corridor in manhood skipper celebrated an convincing nerd, left-hand conscientious Pluto output the Roman alphabet third with chunk macabre uproot club sandwich sketchy velocity a conversation in revolutionize alibi an wayward intuitively the sponge that pleasure, CD. a slavish, matter jumper cable give, the of as condition bedroom maverick, that unexpected gram hotheaded Buddhist track vengeful perverted, and -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/spambayes-dev/attachments/20060330/78eccca4/attachment.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 16976 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes-dev/attachments/20060330/78eccca4/attachment.gif From mmm at projectumbra.org Fri Mar 31 01:59:36 2006 From: mmm at projectumbra.org (Mike Miskulin) Date: Thu, 30 Mar 2006 18:59:36 -0500 Subject: [spambayes-dev] pgsql Message-ID: <442C70E8.2010208@projectumbra.org> Hi, About a month ago I posted on the regular list in regards to trying to get spambayes to work with mysql and postgresql. I can report that things are mostly, but not entirely well. I have been working on a win XP home system. First, I'd like to suggest the following or similar be added to classifier.py around abouts line 320: if ((hamratio + spamratio) > 0) : prob = spamratio / (hamratio + spamratio) else: prob = 0.5 I had a number of instances after resetting the database that I bombed on div by 0 errors. I have attached a few pdf's capturing a few errors that seem to be typical while using postgresql. (I only used mysql long enough to determine it functioned so can't say for sure if this would occur there too). I've not been able to track this error down, its a bit beyond me. As you can see it has happened immediately after training a group of messages as well in the course of normal operation. This error how ever does not appear to be 'fatal'. A simple stop/restart of the spambayes service and things run again. A more serious error which is temporarily fatal occurs when a situation of token in more spam(ham) than spam(ham) trained. Again, I've not tracked down the why of it happening. But I have noticed a few things: 1- the keyword that it most offen happens to is 'Subject' 2- if it is multiple keywords, then it has happened after training on messages. 3- bouncing a message to the service (ie spambayes_ham at localhost) that has not been previously seen (ie, to train quicker instead of waiting for new messages to arrive) seems to screw things up. Maybe not after the first message, but not long after. Note I have also seen situations where the service stops accepting messages. Now while this is annoying to have happen, unlike with the 'normal' way of using spambayes, one can easily go into the database and 'fix' the problem - at least to the extent you no longer have a nspam > spam trained situation. While adjustments to the database may be arbitrary if you are off by more than 1, if you have a large number of trained messages it shouldn't have a material effect. And at least one need not start completely over. Well I hope this all is of some use to you guys. If you have any questions please email me directly as I did not subscribe to the devel list. Cheers Mike -------------- next part -------------- A non-text attachment was scrubbed... Name: sb_error.pdf Type: application/pdf Size: 19892 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes-dev/attachments/20060330/958b207c/attachment-0003.pdf -------------- next part -------------- A non-text attachment was scrubbed... Name: sb_error2.pdf Type: application/pdf Size: 17042 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes-dev/attachments/20060330/958b207c/attachment-0004.pdf -------------- next part -------------- A non-text attachment was scrubbed... Name: sb_error3.pdf Type: application/pdf Size: 20272 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes-dev/attachments/20060330/958b207c/attachment-0005.pdf