From T.A.Meyer at massey.ac.nz Tue Jul 1 13:08:48 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Mon Jun 30 20:09:42 2003 Subject: [Spambayes] spambayes filter - won't "remeber" my SPAM directory Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F130237C585@its-xchg4.massey.ac.nz> > I'm running Outlook 2000 under Win 98, and I HAD Spambayes > running just great... until I tried to show it off to a > colleague. Now it won't remember my SPAM directory. I've > tried uninstalling and re-installing it to no avail. Is there > a way of entering this info via a config file? What happens when you reselect the folder? Does it work until you shut down? If that's the case, then what's probably happening is that the config file is not saving. To get around this, just select the folder, and shut Outlook down, making sure that it is completely gone. If you can't select the folder at all, or it forgets it immediately, then it's something else. Look in the troubleshooting.html file (accessible via the 'about' link in the main dialog) and find the instructions for getting hold of the log file(s). They should have more information about what is going wrong. With the 002 release, there is no config file that you can enter the folder name into. Even with the next release, when there is such a config file, you would have to know the Outlook store & entry ids, which is pretty unlikely. =Tony Meyer From T.A.Meyer at massey.ac.nz Tue Jul 1 13:10:03 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Mon Jun 30 20:10:45 2003 Subject: [Spambayes] cannot remove buttons Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F130237C589@its-xchg4.massey.ac.nz> > hello, I recently installed the spambayes outlook addin on > w2k. after trying an online spam filtering service, I decided > to remove the spambayes addin. I ran the uninstaller and it > claimed to have successfully removed the addin. however, the > buttons still appear in my outlook toolbar with no functions > beneath them when clicked. how can I remove these buttons? Resetting the toolbar should work. (Right click on the toolbar, click customize, then select the standard toolbar, then click reset). =Tony Meyer From T.A.Meyer at massey.ac.nz Tue Jul 1 13:17:53 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Mon Jun 30 20:18:34 2003 Subject: [Spambayes] Spam filter stopped working Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F130237C595@its-xchg4.massey.ac.nz> > I installed the Outlook add-in and it worked fine for a few > weeks. Then it just stopped filtering out the spam. I can't > figure out what broke. My log file is attached. Please advise > as to what I can do to re-start the filter. Thanks. The log file is filled with assertion errors from classifier.py. This almost certainly means that the database is corrupted. This is, unfortunately, a known issue that we are (still!) trying to determine the cause of. Until we do, the solution is to retrain from scratch, building a fresh database. =Tony Meyer From T.A.Meyer at massey.ac.nz Tue Jul 1 13:40:53 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Mon Jun 30 20:41:39 2003 Subject: [Spambayes] corrupt database bug Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F130237C5BB@its-xchg4.massey.ac.nz> > My computer shut off over the weekend due to a power outage, > and this morning I found 3800 untested new emails in my > inbox. Filtering was off and it claimed to have no database > so I had to retrain it. This part of the log gives it away: Bayes database initialized with 0 spam and 0 good messages *** - message database has 614 messages - bayes has 0 - something is screwey What has happened is that the message database, which keeps track of which messages spambayes has seen, has been saved (or at least partially saved), but the 'bayes' database that keeps track of the message tokens has not. The only solution is to retrain from scratch as you did. The next release saves the databases at better times, so should avoid this problem, as long as the power outage was not at a time when the save was taking place. Note that you can make a backup of the databases and drop them back in if things like this happen and you would rather not keep a collection of mail to retrain with. Messages with details about how to do this were recently posted on the list. =Tony Meyer From mhammond at skippinet.com.au Tue Jul 1 14:27:34 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Mon Jun 30 23:28:00 2003 Subject: [Spambayes] ANNOUNCE: New SpamBayes binary for Outlook available Message-ID: <047401c33f80$b737b130$530f8490@eden> [This mail isn't going to spambayes-announce as yet - I would prefer to hear some success reports first] A new Outlook addin for SpamBayes is available from http://starship.python.net/crew/mhammond/spambayes - it has a number of new features, but most notably, should work much better on Windows 9x and Windows XP. If you had problems installing version 2 of the binary, I would appreciate you testing this version. Many other bugs have been fixed, and a couple of new options added - see the new "configuration guide" for details on some of the options you can configure via a text editor. Once I get a few more reported, I will put together a real announce message and post it both here and wider. Thanks, Mark. From T.A.Meyer at massey.ac.nz Tue Jul 1 18:21:25 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Tue Jul 1 01:22:09 2003 Subject: [Spambayes] Outlook IMO vs. CW Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F130237C757@its-xchg4.massey.ac.nz> > Outlook 2000 comes in Internet Mode Only (IMO) and Corporate > Workgroup (CW) versions. Does Spambayes work on both? Yes. =Tony Meyer From sbullock at lehman.com Tue Jul 1 10:32:37 2003 From: sbullock at lehman.com (Bullock, Stuart) Date: Tue Jul 1 04:33:28 2003 Subject: [Spambayes] Integrating into Mercury Message-ID: <3E9909F7B5E3D411B04300508BB330461490F564@exlon04.lehman.com> Dear All, Mercury SMTP/POP3 engine has a content-control that is less than optimal. Have you thought about integrating into Mercury (or, even better, have you been able to do it)? If you have been able to do it - then could you please give me a quick "how-to"? Many thanks, Stuart PS: CC address is my home email address _________________________________________________________ Stuart Bullock Tel: +44 (0) 20 7601 0011 Ex:5432 Reg Systems e-mail: sbullock@lehman.com Lehman Brothers Team mail: London Reg Admin _________________________________________________________ ------------------------------------------------------------------------------ This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice. From anthony at interlink.com.au Tue Jul 1 20:00:39 2003 From: anthony at interlink.com.au (Anthony Baxter) Date: Tue Jul 1 05:01:32 2003 Subject: [Spambayes] Integrating into Mercury In-Reply-To: <3E9909F7B5E3D411B04300508BB330461490F564@exlon04.lehman.com> Message-ID: <200307010900.h6190dVn029345@localhost.localdomain> >>> "Bullock, Stuart" wrote > Mercury SMTP/POP3 engine has a content-control that is less than optimal. > Have you thought about integrating into Mercury (or, even better, have you > been able to do it)? If you have been able to do it - then could you please > give me a quick "how-to"? What's Mercury? Anthony -- Anthony Baxter It's never too late to have a happy childhood. From sbullock at lehman.com Tue Jul 1 11:37:30 2003 From: sbullock at lehman.com (Bullock, Stuart) Date: Tue Jul 1 05:39:40 2003 Subject: [Spambayes] Integrating into Mercury Message-ID: <3E9909F7B5E3D411B04300508BB330461490F567@exlon04.lehman.com> Dear Anthony, Mercury is the Mercury Mail Transport System, which is part of the Mercury/Pegasus mail system developed and maintained by David Harris of New Zealand (see the link www.pmail.com ) and is freeware (you can optionally buy the manuals as a form of payment). It is the SMTP service that I use at home, and I have been spent weeks trying to get the content control to simply filter the queued spam mail into a folder SPAMDIR... I was intending to write my own Bayesian module, being both a programmer and mathematician myself, and use the primitive "plug-in" method in Mercury to be able to do this. But why re-invent the wheel if you fellows have done it (and probably have done it better)? Back note: there is a Bayesian filter for the Pegasus mail reader, but I was hoping to stop the spam at the SMTP/POP3 mercury level before it hit Outlook since I don't use Pegasus. The reasons it would be desirable to move the spam to a separate folder via Mercury, and then view it in the safety of notepad is because most spam has HTML. HTML in Outlook is processed connecting to sites via the internet and therefore the SPAM site can verify your IP address (or deliver cookies, if that feature is turned on, etc. etc.) - very undesirable. This means I have to shutdown Outlook's connection to the internet before looking at HTML mail (either turn off the router or temporarily disallow Outlook external access via the firewall). PS: The solution of permanently turning off Outlook's HTML processing is no longer viable as I also get legitimate email that has HTML. Hence my question. Apologies for the long answer here: I had assumed that you and your team would be familiar with Mercury as a mail transport system. Regards Stuart Bullock -----Original Message----- From: Anthony Baxter [mailto:anthony@interlink.com.au] Sent: Tuesday, July 01, 2003 10:01 AM To: Bullock, Stuart Cc: 'spambayes@python.org'; 'SPB' Subject: Re: [Spambayes] Integrating into Mercury >>> "Bullock, Stuart" wrote > Mercury SMTP/POP3 engine has a content-control that is less than > optimal. Have you thought about integrating into Mercury (or, even > better, have you been able to do it)? If you have been able to do it > - then could you please give me a quick "how-to"? What's Mercury? Anthony -- Anthony Baxter It's never too late to have a happy childhood. ------------------------------------------------------------------------------ This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice. From groma at nucleus.szbk.u-szeged.hu Tue Jul 1 13:30:24 2003 From: groma at nucleus.szbk.u-szeged.hu (Geza Groma) Date: Tue Jul 1 06:31:07 2003 Subject: [Spambayes] installation problem Message-ID: <000601c33fbb$c80e9920$a13f72a0@szbk.uszeged.hu> Trying to install SpamBayes-Outlook-Setup-003.exe for Outlook 2002 on Windows NT4.0 sp6a (administrator rights) causes error 0x80040201 from DllRegisterServer for spambayes_addin.dll. Regards, Geza Groma From matt at johnhenry.net Tue Jul 1 13:47:21 2003 From: matt at johnhenry.net (Matthew Sach) Date: Tue Jul 1 07:53:45 2003 Subject: [Spambayes] How good? Message-ID: <70E6E2C716D5D41193F10090270D5D4D44FA91@JHSERVER1> VERY good! You guys just revolutionised the amount of time I spent faffing with Outlook's junk mail facilities, and marking specific addresses as junk senders (cos we all know that doesn't work very well). I installed it Thursday last week, and it hasn't marked a single non-spam as definite spam so far, and only 2 as could-be-spam. Only 5 spam emails have hit my inbox, too, from the roughly 80 a day that come through (as I handle all "non-specific recipient" mail (mail@, info@ etc. in our company). Basically - BRILLIANT! Matt Sach John Henry Productions Ltd, 8 Lonsdale Road London NW6 6RD 020 7372 7708 Just launched... http://www.johnhenry.net/ Using slick design and technical expertise to provide practical responses to business needs, from online learning tools to viral marketing campaigns. From incoming at kubaton.com Tue Jul 1 11:05:34 2003 From: incoming at kubaton.com (incoming@kubaton.com) Date: Tue Jul 1 10:05:40 2003 Subject: [Spambayes] ANNOUNCE: New SpamBayes binary for Outlook In-Reply-To: <83886C07B810E545AD385040F00FDBDE0165658A@MAIL-04VS.atlarge.net> Message-ID: <83886C07B810E545AD385040F00FDBDEA6E52E@MAIL-04VS.atlarge.net> >A new Outlook addin for SpamBayes is available from >http://starship.python.net/crew/mhammond/spambayes - it has a >number of new >features, but most notably, should work much better on Windows 9x and >Windows XP. If you had problems installing version 2 of the >binary, I would >appreciate you testing this version. I had trouble installing version 2 (it installed fine, was checked in the addin box and remained so, but never showed up in the toolbar), so I went with the source version. I'd love to try out the new binary but I'm unsure how to uninstall the source version. Can anyone can tell me the steps to backup and remove the source version? _Lea From bkc at murkworks.com Tue Jul 1 11:36:07 2003 From: bkc at murkworks.com (Brad Clements) Date: Tue Jul 1 10:14:22 2003 Subject: [Spambayes] Integrating into Mercury In-Reply-To: <3E9909F7B5E3D411B04300508BB330461490F567@exlon04.lehman.com> Message-ID: <3F016416.20161.A3E0EA69@localhost> On 1 Jul 2003 at 10:37, Bullock, Stuart wrote: > Mercury is the Mercury Mail Transport System, which is part of the > Mercury/Pegasus mail system developed and maintained by David Harris of New > Zealand (see the link www.pmail.com ) and is freeware (you can optionally I'm already working with David Harris on adding Spambayes to Pegasus Mail. Mercury/32 support will have to wait a little bit longer. I suggest you contact David directly via email and encourage him to support spambayes in Mercury/32. -- Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax http://www.wecanstopspam.org/ AOL-IM: BKClements From fullcity at mac.com Tue Jul 1 12:06:54 2003 From: fullcity at mac.com (Adam Aronson) Date: Tue Jul 1 11:07:23 2003 Subject: [Spambayes] Receiving Duplicate Messages in Inbox Message-ID: <002c01c33fe2$73db5a60$0a01a8c0@Volnay> Since installing SpamBayes Outlook Addin I am receiving multiple copies of emails in my inbox and other folders where I have rules set up to move messages once they are received. I am using Outlook 2002 (10.4719.4219) SP-2 and Windows XP Professional. The only other add ins I have installed are the Dymo Label Printer Add In and the Mappoint Add In. Any ideas...? Thanks! Adam From stevebolton at pacific.net.au Wed Jul 2 02:13:41 2003 From: stevebolton at pacific.net.au (Steve Bolton) Date: Tue Jul 1 11:14:12 2003 Subject: [Spambayes] Just a quick question about SpamBayes Message-ID: <000001c33fe3$644e1230$d99517d2@death> First off.. So far I'm liking this product.. It works well and doesn't "pause" Outlook at all like my previous package did. Great job so far! The question: If I set the "Deleted Items" folder as being the place to put spam will any old mail I delete that isn't spam be now trained as spam? (By delete I mean dragging it to the deleted items folder or pressing the Delete key... NOT via the Delete As Spam button). Personally I don't want to have to be constantly following emails through separate directories to eventually get rid of spam... I prefer my spamfilter app to be able to move what it thinks is spam straight to the Deleted Items folder and ever so often I can quickly browse that for any familiar names that shouldn't be there and then just empty the folder. I don't want to have to go to a "middleman" directory to check the emails.. Then select them and move to the deleted items folder.. And then actually delete them. Just too many steps.. Especially with the already extra step of an "unsure if spam" directory as well to go through. Also I was wondering if there was a way of backing up the brains of the filter once trained so that later on after a reinstall of the operating system the trained settings can be restored quickly without having to keep backup collections of spam around to go through the training process again. I'd tried to find the answers on your site, the faq & installed docs so please forgive me if I missed the answer somewhere. So far I'm extremely impressed, it's a very non-intrusive system. Thanks Steve From robert.finking at roke.co.uk Tue Jul 1 17:19:04 2003 From: robert.finking at roke.co.uk (Finking, Robert) Date: Tue Jul 1 11:19:24 2003 Subject: [Spambayes] Successful Installation Reports Message-ID: Successfully installed a2 binary on both Outlook 2000/Windows 2000 SP2 and Outlook 2002/Windows 2000 SP3, and also a3 built from source on Outlook 2002/Windows 2000 SP3. Thanks for all you work. Jesus loves you, God's got a plan for your life =) Raffles >We can use some people to help check out the highlighted >configurations in the table. If you can help, please send your >results to spambayes@python.org. Please be explicit about the service >pack or revision level of the various software bits you are using, >and how you installed the plugin (using the binary installer, from >the 1.0a2 distribution, or from CVS). Usual disclaimers about my views not representing those of my employer... -- Registered Office: Roke Manor Research Ltd, Siemens House, Oldbury, Bracknell, Berkshire. RG12 8FZ The information contained in this e-mail and any attachments is confidential to Roke Manor Research Ltd and must not be passed to any third party without permission. This communication is for information only and shall not create or change any contractual relationship. From skip at pobox.com Tue Jul 1 11:49:59 2003 From: skip at pobox.com (Skip Montanaro) Date: Tue Jul 1 11:50:11 2003 Subject: [Spambayes] Just a quick question about SpamBayes In-Reply-To: <000001c33fe3$644e1230$d99517d2@death> References: <000001c33fe3$644e1230$d99517d2@death> Message-ID: <16129.44455.41204.689460@montanaro.dyndns.org> Steve> The question: If I set the "Deleted Items" folder as being the Steve> place to put spam will any old mail I delete that isn't spam be Steve> now trained as spam? (By delete I mean dragging it to the deleted Steve> items folder or pressing the Delete key... NOT via the Delete As Steve> Spam button). Yes, I believe it will. You almost certainly don't want your Deleted Items folder to also be your Spam folder. I don't know if the plugin catches such attempts, but it probably ought to. Steve> Also I was wondering if there was a way of backing up the brains Steve> of the filter once trained ... Sure, just zip up your .../Application Data/SpamBayes folder. Skip From ido at flashmail.com Tue Jul 1 11:10:48 2003 From: ido at flashmail.com (ido) Date: Tue Jul 1 13:10:18 2003 Subject: [Spambayes] corrupt database Message-ID: <6DCB7411615CD246AC17DA321410DD4101BAC47B@mx.valvesoftware.com> I appreciate the quick response to my previous post. Over the past night the database corrupted again, except this time there was no power outage. I've attached the two most recent logs. I receive upwards of a thousand emails (worms and spam) per day. I guess that would agitate any and all bugs in the system. Ido. From seth at seth.org Tue Jul 1 13:53:39 2003 From: seth at seth.org (Seth Kaplan) Date: Tue Jul 1 13:20:10 2003 Subject: [Spambayes] bug report Message-ID: <006a01c33ff1$57de23b0$c4d03ec0@na.uis.unisys.com> Howdy! Currently evaluating SpamBayes. Love it. Noticed a bug when using it in MS Outlook. Perhaps you'd like to correct? Basically, if you get an Outlook meeting request that gets deemed as spam (and for whatever reason, most of my Outlook meeting requests are deemed as such), the bug in the software is that you cannot "recover from spam". While the message is in your spam folder, when you click the "recover from spam" button to train SpamBayes that this message is not spam and subsequently move the message back to your inbox or wherever, SpamBayes replies to your click, saying, "No Selection: No mail items are selected." Bug #2 is that you have the exact same problem as above with send/read mail receipts returned back to you from messages where you requested the receipts in the first place. What this means is that if I request read receipts, I have to trudge through my spam folder to locate them and when I do, there's no way for me to train the software that these receipts aren't spam because when I click the "recover from spam" button, the software tells me I didn't select any e-mail to recover from. Anyhoo, hopefully the fix is a simple one which is to treat these messages in Outlook like any other mail. I suspect the software nearly does, because it filters them in the first place. Now, if only I could get SpamBayes to allow me to recover them out of spam folder, it be perfect... Screen shots attached. Thanks. -- Seth -------------- next part -------------- A non-text attachment was scrubbed... Name: bug.jpg Type: image/jpeg Size: 71501 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030701/8731a69b/bug-0001.jpg From Ido at valvesoftware.com Tue Jul 1 13:38:29 2003 From: Ido at valvesoftware.com (Ido Magal) Date: Tue Jul 1 15:38:56 2003 Subject: [Spambayes] (no subject) Message-ID: <6DCB7411615CD246AC17DA321410DD410131C907@mx.valvesoftware.com> Oops. Forgot logs. I appreciate the quick response to my previous post. Over the past night the database corrupted again, except this time there was no power outage. I've attached the two most recent logs. I receive upwards of a thousand emails (worms and spam) per day. I guess that would agitate any and all bugs in the system. Ido. -------------- next part -------------- A non-text attachment was scrubbed... Name: tail end of log 2.log Type: application/octet-stream Size: 26669 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030701/a876a90d/tailendoflog2.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: spambayes1.log Type: application/octet-stream Size: 431 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030701/a876a90d/spambayes1.obj From dan at katzstein.com Tue Jul 1 17:58:46 2003 From: dan at katzstein.com (Daniel Katz-Stein) Date: Tue Jul 1 16:58:46 2003 Subject: [Spambayes] can't install smap/ham filter.... Message-ID: <000001c34013$92d69ac0$c0ba4943@danlap> Here is the error log. Must be something simple. Thanks, Dan http://life.katzstein.com http://www.katzstein.com "life can only be understood backwards, but must be lived forwards" -------------- next part -------------- A non-text attachment was scrubbed... Name: spambayes4.log Type: application/octet-stream Size: 1772 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030701/ab9a1f1b/spambayes4-0001.obj From mhammond at skippinet.com.au Wed Jul 2 09:22:10 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Tue Jul 1 18:22:51 2003 Subject: [Spambayes] ANNOUNCE: New SpamBayes binary for Outlook In-Reply-To: <83886C07B810E545AD385040F00FDBDEA6E52E@MAIL-04VS.atlarge.net> Message-ID: <084e01c3401f$3711e7b0$530f8490@eden> > Can anyone can tell me the steps to backup and remove the > source version? All data is stored in "\Documents and Settings\{username}\Application Data\spambayes - this is what needs to be backed up, but nothing ever automatically removes these files. There is no need to uninstall the source version, as the new one will completely replace it. ("addin.py --unregister" is how you do it if you just want it removed). After installing the new one, you can uninstall Python and win32all, and just delete your source-code directories. As Tony mentioned, there is a slight problem when moving back from the new installer to source-code - you will need to manually rename a file in this case (mail me if this is an issue) Mark. From mhammond at skippinet.com.au Wed Jul 2 09:54:34 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Tue Jul 1 18:54:54 2003 Subject: [Spambayes] ANNOUNCE: New SpamBayes binary for Outlook available Message-ID: <086901c34023$be4e4760$530f8490@eden> Version 0.3 of the Outlook addin for SpamBayes is available from: http://starship.python.net/crew/mhammond/spambayes This version should fix most installation problems experienced by would-be users of the 0.2 release. It also has a large number of bug fixes, and a number of new minor features. For information on the new features, see the new 'Configuration Guide', included in the release. This version is significantly more cautious about when it saves configuration and training data, so should be far more stable - all users of previous versions are encouraged to upgrade. If you have any problems, please see the "troubleshooting guide" included with the product. This, and all other information can be found via the "about.html" file, also included. An online version of this document can be found at: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/spambayes/spambaye s/Outlook2000/about.html For more information or other queries, please mail the spambayes mailing list - spambayes@python.org. Regards, Mark From mhammond at skippinet.com.au Wed Jul 2 10:42:54 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Tue Jul 1 19:44:44 2003 Subject: [Spambayes] Just a quick question about SpamBayes In-Reply-To: <16129.44455.41204.689460@montanaro.dyndns.org> Message-ID: <08a601c3402a$7f047af0$530f8490@eden> > Yes, I believe it will. You almost certainly don't want your > Deleted Items > folder to also be your Spam folder. I don't know if the > plugin catches such > attempts, but it probably ought to. Version 0.3 of the plugin doesn't present "Deleted Items", "Sent Items" or the "OutBox" in the list of folders - so while it doesn't actually prevent you, it makes it damn hard :) Mark. From mhammond at skippinet.com.au Wed Jul 2 10:43:50 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Tue Jul 1 19:44:47 2003 Subject: [Spambayes] Receiving Duplicate Messages in Inbox In-Reply-To: <002c01c33fe2$73db5a60$0a01a8c0@Volnay> Message-ID: <08a701c3402a$a0335a70$530f8490@eden> > Since installing SpamBayes Outlook Addin I am receiving > multiple copies of > emails in my inbox and other folders where I have rules set up to move > messages once they are received. > > I am using Outlook 2002 (10.4719.4219) SP-2 and Windows XP > Professional. The > only other add ins I have installed are the Dymo Label > Printer Add In and > the Mappoint Add In. We don't know why, but it is being tracked in http://sourceforge.net/tracker/index.php?func=detail&aid=747107&group_id=617 02&atid=498103 Mark. From ian.mcleod at objecttrading.com Wed Jul 2 12:25:45 2003 From: ian.mcleod at objecttrading.com (Ian Mcleod) Date: Tue Jul 1 21:25:12 2003 Subject: [Spambayes] SpamBayes Message-ID: <3CB729CAA073C44895C902D39F52EA43182327@reef> Hi guys, Small note on install - i had some (brief) trouble installing as everything logged success but no toolbar appeared. Your guide recommends a restart of outlook to make it visible and this was in fact all that was required, however closing the GUI was not enough: In some installations, MS outlook will maintain a running process even when the outlook GUI is shutdown... this prevents the spambayes toolbar from appearing as restarting the GUI still runs under the same process. (I closed the GUI, terminated the process and then restarted the GUI to properly complete the installation) This might be worth addition to the trouble shooting guide for installation! cheers, ian From pbo at caguama.super.unam.mx Tue Jul 1 21:40:45 2003 From: pbo at caguama.super.unam.mx (Patricia Bautista Otero) Date: Tue Jul 1 21:46:22 2003 Subject: [Spambayes] what are Test Drivers for? Message-ID: Hi I am an inexperienced spambayes user, and I want to know if there is someone who can give me an idea what are test drivers for?. Thanks in advanced. pb From pbautist2 at yahoo.com.mx Tue Jul 1 21:52:51 2003 From: pbautist2 at yahoo.com.mx (=?iso-8859-1?q?Patricia=20Bautista?=) Date: Tue Jul 1 21:52:55 2003 Subject: [Spambayes] Language problems! Message-ID: <20030702015251.56626.qmail@web12202.mail.yahoo.com> Someone has a Spanish Data Base to train spambayes?. Thanks in advanced. pb _________________________________________________________ Do You Yahoo!? La mejor conexi?n a internet y 25MB extra a tu correo por $100 al mes. http://net.yahoo.com.mx From T.A.Meyer at massey.ac.nz Wed Jul 2 14:57:19 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Tue Jul 1 21:58:27 2003 Subject: [Spambayes] what are Test Drivers for? Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F130237C9E6@its-xchg4.massey.ac.nz> > Hi I am an inexperienced spambayes user, and I want to know > if there is someone who can give me an idea what are test > drivers for?. Do you mean the testing tools that included with spambayes? (i.e. in the testtools directory). These are utilities to aid in testing ideas against a corpus (collection) of good & bad mail, to see how effective they are. For example, seeing whether tokenising only message headers would still result in correct classification. =Tony Meyer From edrubins at andisplace.com Tue Jul 1 23:20:23 2003 From: edrubins at andisplace.com (Ed Rubinsky) Date: Tue Jul 1 22:20:27 2003 Subject: [Spambayes] pop3proxy won't start after a reboot Message-ID: <5.1.0.14.0.20030701221111.00b0cac8@localhost> pop3proxy terminates with the following error after restarting the system (Windows 2000 Professional, Eudora 5.1.) D:\PROGRA~1\Python22\spambayes>pop3proxy.py SpamBayes POP3 Proxy Beta1, version 0.1 (May 2003), using SpamBayes POP3 Proxy Web Interface Alpha2, version 0.02 and engine SpamBayes Beta1, version 0.1 (May 2003). Loading database... Traceback (most recent call last): File "D:\PROGRA~1\Python22\spambayes\pop3proxy.py", line 730, in ? run() File "D:\PROGRA~1\Python22\spambayes\pop3proxy.py", line 705, in run state.createWorkers() File "D:\PROGRA~1\Python22\spambayes\pop3proxy.py", line 547, in createWorkers self.bayes = storage.DBDictClassifier(filename) File "D:\PROGRA~1\Python22\spambayes\spambayes\storage.py", line 147, in __ini t__ self.load() File "D:\PROGRA~1\Python22\spambayes\spambayes\storage.py", line 159, in load t = self.db[self.statekey] File "D:\PROGRA~1\PYTHON22\lib\shelve.py", line 71, in __getitem__ return Unpickler(f).load() EOFError Exception exceptions.AttributeError: "'NoneType' object has no attribute 'error' " in > ignored Renaming hammie.db.dir clears the problem. Any ideas? Is retraining necessary after deleting hammie.db.dir? Best, Ed From mhammond at skippinet.com.au Wed Jul 2 13:26:53 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Tue Jul 1 22:27:15 2003 Subject: [Spambayes] Configuring Outlook In-Reply-To: Message-ID: <003501c34041$670664b0$f501a8c0@eden> > Greetings! > I just installed SpamBayes and am very impressed with it. > However there is > one clarification I would like to see in the documentation, and one > functional improvement I would like to see. Thanks. > > ==== Documentation ==== See below. > ==== Functionality ==== > > When I ran the Filter for the first time, it told me it found > 37 definite > spam, and 5 unsure. But it did not tell me where I could > find those files. > It would be nice if it output a textfile report, or some such > thing, that > told me where I could find these 5 unsure ones. I doubt this will happen in the short term - I'm not even sure where to start :) However, it could be addressed by the documentation mentioning that once you add the "Spam" fields, you can sort by the field, and this can help you locate these messages in the folders you nominated. > So, that is all the ideas I have. If there is anything I can > do to help you > with this product, I would be glad to be of service. > (Programming is too > far in the past for me to be of any help on that, but > writing, testing, etc, > I am still good at! :-) Great - so updates to the doc would be excellent - and starting with these issues would be perfect :) The best way would be to send me an update against the CVS version of the documentation (which can be found via source-forge). Otherwise, just make the changes to a copy of the relevant HTML files locally, and then send me both the original *and* the modified, and I can roll it into the current version. Thanks, Mark. From nicolav at physics.otago.ac.nz Wed Jul 2 16:34:21 2003 From: nicolav at physics.otago.ac.nz (Nicola van Leeuwen) Date: Tue Jul 1 23:35:06 2003 Subject: [Spambayes] Spambayes on windows Message-ID: <000001c3404a$d5f3d430$321e508b@physics.otago> Hi, Last week I installed Spambayes on my windows machine. I am using Outlook 2002 (service pack 2) Windows 2000 (service pack 3) I downloaded and installed the Outlook plug-in installer (so simply ran the exe file) version 2. I have had no problems at all. I hope this is all the info you need. Thanks, Nicola van Leeuwen PhD candidate Physics Department University of Otago Ph: +64-3-479-7789 Fax: +64-3-479-0964 From T.A.Meyer at massey.ac.nz Wed Jul 2 16:44:26 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Tue Jul 1 23:45:29 2003 Subject: [Spambayes] pop3proxy won't start after a reboot Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F130237CA48@its-xchg4.massey.ac.nz> > pop3proxy terminates with the following error after > restarting the system > (Windows 2000 Professional, Eudora 5.1.) [...] > File "D:\PROGRA~1\PYTHON22\lib\shelve.py", line 71, in __getitem__ > return Unpickler(f).load() > EOFError > Exception exceptions.AttributeError: "'NoneType' object has > no attribute 'error' > " in instance at 0x008EB1A8 ignored The first thing I would suggest is using something that isn't dumbdbm. Either pickles, or install something like bsddb3 and use that. Dumbdbm is a fallback db system and might be the problem here - AFAIK, no-one has really tested spambayes with dumbdbm. > Renaming hammie.db.dir clears the problem. Any ideas? Is retraining > necessary after deleting hammie.db.dir? hammie.db.dir is the name of your database file, yes? If you delete it, then you lose all your training data, so yes retraining is necessary. You should also delete the spambayes.messageinfo.db file as well. =Tony Meyer From SIBRAHIM at earthlink.net Wed Jul 2 01:01:35 2003 From: SIBRAHIM at earthlink.net (Samer Ibrahim) Date: Wed Jul 2 00:02:10 2003 Subject: [Spambayes] Installing SpamBayes for all local users on Win2k Message-ID: Hello, I'm having trouble installing SpamBayes on my machine. I run as non-admin on my local box so I'm unable to install any applications directly. I logged in as the administrator and was able to install SpamBayes without a hitch. However, when I logged back in as a regular user, I couldn't find the SpamBayes add-in. It appears that SpamBayes only installs for the current user. I would like to install SpamBayes for all users on the machine. I'm on a Win2k box with Outlook 2k2. Can someone please assist? Thanks Sam Samer Ibrahim http://weblogs.asp.net/SIbrahim From mhammond at skippinet.com.au Wed Jul 2 15:20:35 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Wed Jul 2 00:21:03 2003 Subject: [Spambayes] Installing SpamBayes for all local users on Win2k In-Reply-To: Message-ID: <001001c34051$513e9390$f501a8c0@eden> Unfortunately, the only way to do this is to log in as each user, then run the command "regsvr32.exe spambayes_addin.dll" from the SpamBayes program directory. Mark. > -----Original Message----- > From: spambayes-bounces@python.org > [mailto:spambayes-bounces@python.org]On Behalf Of Samer Ibrahim > Sent: Wednesday, 2 July 2003 2:02 PM > To: spambayes@python.org > Subject: [Spambayes] Installing SpamBayes for all local users on Win2k > > > Hello, > > I'm having trouble installing SpamBayes on my machine. I run > as non-admin > on my local box so I'm unable to install any applications directly. I > logged in as the administrator and was able to install > SpamBayes without a > hitch. However, when I logged back in as a regular user, I > couldn't find > the SpamBayes add-in. It appears that SpamBayes only installs for the > current user. I would like to install SpamBayes for all users on the > machine. I'm on a Win2k box with Outlook 2k2. Can someone > please assist? > > Thanks > > Sam > > > > Samer Ibrahim > > http://weblogs.asp.net/SIbrahim > > > > _______________________________________________ > Spambayes mailing list > Spambayes@python.org > http://mail.python.org/mailman/listinfo/spambayes > From david.hansford at forefront.com.au Wed Jul 2 16:34:06 2003 From: david.hansford at forefront.com.au (David Hansford) Date: Wed Jul 2 01:34:13 2003 Subject: [Spambayes] Outlook 2003 Message-ID: <5DBAB84C86FDBF479F37E22E1AB7F4A6019E2D@ffdc1.forefront.com.au> Hi there, I have just successfully installed spambayes software with outlook 2003 but only after I installed the technical refresh release. Regards David From will.anjos at stockntrade.com Wed Jul 2 12:15:28 2003 From: will.anjos at stockntrade.com (Will Anjos) Date: Wed Jul 2 06:16:03 2003 Subject: [Spambayes] (no subject) Message-ID: I have tried running this on Outlook2000/W2K and I am getting strange behaviour. I successfully trained, but the next day nothing is filtered. The 'Delete as Spam' button works, but has no effect. The 'Recover from Spam' button works and recovers. The 'Anti-Spam' button is dead and does not respond at all - so I cannot access the settings pages. <> Will Anjos Stock-'n-Trade Ltd ________________________________________________ Head Office Unit 8 - Westmoreland House Cumberland Park 80 Scrubs Lane London NW10 6RE Tel: (020) 8357 3737 Fax: (020) 8357 3736 Sussex Office Tel: (01273) 416 096 Mobile (07866) 457 831 -------------- next part -------------- A non-text attachment was scrubbed... Name: spambayes1.log Type: application/octet-stream Size: 17617 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030702/60a87e9a/spambayes1.obj From mhammond at skippinet.com.au Wed Jul 2 22:09:10 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Wed Jul 2 07:09:29 2003 Subject: [Spambayes] (no subject) In-Reply-To: Message-ID: <013301c3408a$5db47d40$f501a8c0@eden> It looks as though SpamBayes has lost its configuration information. Please try upgrading to the new 0.3 version. Mark > -----Original Message----- > From: spambayes-bounces+mhammond=bigpond.net.au@python.org > [mailto:spambayes-bounces+mhammond=bigpond.net.au@python.org]On Behalf > Of Will Anjos > Sent: Wednesday, 2 July 2003 8:15 PM > To: spambayes@python.org > Subject: [Spambayes] (no subject) > > > I have tried running this on Outlook2000/W2K and I am getting strange > behaviour. > > I successfully trained, but the next day nothing is filtered. > The 'Delete as Spam' button works, but has no effect. > The 'Recover from Spam' button works and recovers. > The 'Anti-Spam' button is dead and does not respond at all - > so I cannot > access the settings pages. > > > <> > Will Anjos > Stock-'n-Trade Ltd > ________________________________________________ > > Head Office > Unit 8 - Westmoreland House > Cumberland Park > 80 Scrubs Lane > London NW10 6RE > > Tel: (020) 8357 3737 > Fax: (020) 8357 3736 > > Sussex Office > Tel: (01273) 416 096 > > Mobile > (07866) 457 831 > > > From toneford at bigpond.net.au Wed Jul 2 23:58:04 2003 From: toneford at bigpond.net.au (tone) Date: Wed Jul 2 08:59:05 2003 Subject: [Spambayes] thanks Message-ID: Thanks Your AntiSpam Addin works rather well congratulations tony f From edrubins at andisplace.com Wed Jul 2 10:28:17 2003 From: edrubins at andisplace.com (Ed Rubinsky) Date: Wed Jul 2 09:28:24 2003 Subject: [Spambayes] pop3proxy won't start after a reboot Message-ID: <5.1.0.14.0.20030702091726.00b241e8@localhost> Tony Meyer: >> The first thing I would suggest is using something that isn't dumbdbm. >> Either pickles, or install something like bsddb3 and use that. Dumbdbm >> is a fallback db system and might be the problem here - AFAIK, no-one >> has really tested spambayes with dumbdbm. >> hammie.db.dir is the name of your database file, yes? If you delete it, >> then you lose all your training data, so yes retraining is necessary. >> You should also delete the spambayes.messageinfo.db file as well. Accepted. Out of curiosity, is hammie.db a hashed copy of the data base and hammie.db.dir a flat copy? (No need to answer, I'll take a look at the source code to try and figure it out.) One reason I'm curious is that it seems to at least as accurate as before without retraining, and I only deleted hammie.db.dir - not hammie.db. In any event, this is a great piece of software - one that does it job both well and elegantly. Kudos to all involved. Think I need to come up to speed on some of the other data bases. Best, Ed From skip at pobox.com Wed Jul 2 09:40:00 2003 From: skip at pobox.com (Skip Montanaro) Date: Wed Jul 2 09:40:22 2003 Subject: [Spambayes] pop3proxy won't start after a reboot In-Reply-To: <5.1.0.14.0.20030701221111.00b0cac8@localhost> References: <5.1.0.14.0.20030701221111.00b0cac8@localhost> Message-ID: <16130.57520.891878.4841@montanaro.dyndns.org> Ed> pop3proxy terminates with the following error after restarting the Ed> system (Windows 2000 Professional, Eudora 5.1.) ... Ed> EOFError Exception exceptions.AttributeError: "'NoneType' object has Ed> no attribute 'error' " in ignored I suggest you use something other than dumbdbm as the underlying database file. This problem has surfaced a couple times. Dumbdbm is a "database of last resort". Precisely because of this it gets very little exercise and is probably buggy. You should install PyBSDDB and a version of Sleepycat's Berkeley DB library to wedge under it. Simply upgrading to Python 2.2.3 is not sufficient. You can get PyBSDDB here: http://sourceforge.net/project/showfiles.php?group_id=13900 Once you install it, Spambayes will start using it. Am I the only person who thinks letting Spambayes use dumbdbm is a bad idea? Skip From jsteeves at allision.com Wed Jul 2 10:54:24 2003 From: jsteeves at allision.com (Jonathan Steeves) Date: Wed Jul 2 09:54:29 2003 Subject: [Spambayes] Database question. Message-ID: <3F02E410.2080204@allision.com> Just a quick note to say that this add-in is awesome. Why MS doesn't include this sort of thing in its software is a mystery to me. One question: does SpamBayes automatically train itself on new filtered spam. What I mean by this is if I set up the program and train it and then several hundred more spam come in (and are filtered to the Spam folder) are these messages added to the spam database automatically? It doesn't seem to (based on the display in the Spam Manager screen where it tells you how many spam and ham messages are in your database). Would I have to train it periodically? Personally, I think this would be a great addition to the usability of the program. I'm currently testing SpamBayes on Outlook 2002 Sp1 on a Win2k Sp3 machine and it's working great. I noticed on your compatability matrix that it was marked as "unknown " for that configuration. I installed the plugin using the Outlook plugin installer. Jon Steeves jsteeves@allision.com From incoming at kubaton.com Wed Jul 2 11:14:15 2003 From: incoming at kubaton.com (incoming@kubaton.com) Date: Wed Jul 2 10:14:18 2003 Subject: [Spambayes] Binary 03 problems Message-ID: <83886C07B810E545AD385040F00FDBDEA6E534@MAIL-04VS.atlarge.net> I'm running Windows XP Pro SP1 with Outlook 2002 SP-2. After installing 03 the Spambayes toolbar shows but I can't get the manager to come up. Looking in Options > Other > Advanced > COM Add-ins Spambayes is listed but unchecked. If I check it it will uncheck itself as soon as the window is closed :( _Lea From sourceforge at rodland.no Wed Jul 2 17:31:16 2003 From: sourceforge at rodland.no (Fredrik Rodland) Date: Wed Jul 2 10:32:11 2003 Subject: [Spambayes] Binary 03 problems In-Reply-To: <83886C07B810E545AD385040F00FDBDEA6E534@MAIL-04VS.atlarge.net> Message-ID: I've experienced the same. Mark Hammond tipped me to delete the following file: \Documents and Settings\{username}\Application Data\Microsoft\Outlook\outcmd.dat This does the trick, apart from all toolbars positions being reset in outlook. This case is also reported as bug #755738 http://sourceforge.net/tracker/index.php?func=detail&aid=755738&group_id=617 02&atid=498103 F -- Fredrik Rodland Technical Architect, Stocknet, Oslo, Norway Stocknet: http://www.stocknet.com phone: +47 23 28 40 17 Private: http://rodland.no phone: +47 99 21 98 17 > -----Original Message----- > From: spambayes-bounces@python.org > [mailto:spambayes-bounces@python.org]On Behalf Of incoming@kubaton.com > Sent: 2. juli 2003 16:14 > To: spambayes@python.org > Subject: [Spambayes] Binary 03 problems > > > I'm running Windows XP Pro SP1 with Outlook 2002 SP-2. After installing 03 > the Spambayes toolbar shows but I can't get the manager to come > up. Looking > in Options > Other > Advanced > COM Add-ins Spambayes is listed but > unchecked. If I check it it will uncheck itself as soon as the window is > closed :( > > _Lea > > > _______________________________________________ > Spambayes mailing list > Spambayes@python.org > http://mail.python.org/mailman/listinfo/spambayes From incoming at kubaton.com Wed Jul 2 11:39:29 2003 From: incoming at kubaton.com (incoming@kubaton.com) Date: Wed Jul 2 10:39:31 2003 Subject: [Spambayes] [Semi-OT] Feature request or software referral Message-ID: <83886C07B810E545AD385040F00FDBDEA6E536@MAIL-04VS.atlarge.net> Before using SpamBayes I was using Spam Inspector by GIANT (http://www.giantcompany.com/?PID=spamabuse). One feature I still miss from that product was the one-click spam reporting tool. It would automatically parse the headers and compose a form letter containing the full headers. By default it was sent to the ISP and abusereport@spamabuse.org. This feature wasn't something I used on every spam message but I did use it on one particular spammer that kept hitting an address I use only for charity. I did start to notice that the spammer has had to use a different ISP each time. Whether it was because of me or not, it made me feel good :) I can't find a way in Spam Inspector to turn off filtering just so I could retain the reporting tool without interfering with SpamBayes. So I'd love it if the feature was built into SpamBayes or if someone knew of another software addin that did just the reporting. _Lea From incoming at kubaton.com Wed Jul 2 11:28:10 2003 From: incoming at kubaton.com (incoming@kubaton.com) Date: Wed Jul 2 10:45:53 2003 Subject: [Spambayes] Binary 03 problems In-Reply-To: <83886C07B810E545AD385040F00FDBDE016565D3@MAIL-04VS.atlarge.net> Message-ID: <83886C07B810E545AD385040F00FDBDEA6E535@MAIL-04VS.atlarge.net> >After >installing 03 >the Spambayes toolbar shows but I can't get the manager to >come up. Looking >in Options > Other > Advanced > COM Add-ins Spambayes is listed but >unchecked. If I check it it will uncheck itself as soon as the >window is >closed :( D'oh! I read the troubleshooting guide and fixed it, sorry. _Lea From JCZEBOTA at arinc.com Wed Jul 2 12:18:18 2003 From: JCZEBOTA at arinc.com (Czebotar, Jehiah (JCZEBOTA)) Date: Wed Jul 2 11:19:12 2003 Subject: [Spambayes] new link to outlook installer version 003 Message-ID: <05A70E173104D511A5840002A55C37EE06B30CB0@exanpmb2.arinc.com> Hey, FYI: Mark updated his outlook installer to version 003. Please update your link. on the page listed below! http://starship.python.net/crew/mhammond/downloads/SpamBayes-Outlook-Setup-0 03.exe http://spambayes.sourceforge.net/download.html Thanks! Jehiah From clyde.parliament at markettouch.com Wed Jul 2 12:53:06 2003 From: clyde.parliament at markettouch.com (Clyde L. Parliament) Date: Wed Jul 2 11:49:12 2003 Subject: [Spambayes] expected behaviour in Outlook2k Message-ID: Love the filter! Works great! However, I think I noticed something unusual. It seems that since I installed the plugin (Outlook), the following has occured: If I open a message from the 'Inbox', I can see the message change to 'read', and then back to 'unread' immmediately, while the message is still open. If I close the message, it's status is still 'unread'. If I open it a second time, it then marked 'read'. If an attachment is included, the first time I open the message, I cannot open the attachement, or save it. If I close the message, and reopen it, I can both open and save the attachment. I did some testing, and it doesn't seem to matter what or from where I sent it; from another account in the domain, or from outside, with or without an attachment. The file that I downloaded was "SpamBayes-Outlook-Setup-002.exe"; this was last Thursday or Friday. Has anyone else seen this behavior? TIA Clyde Parliament clyde.parliament.markettouch.com From skip at pobox.com Wed Jul 2 11:48:58 2003 From: skip at pobox.com (Skip Montanaro) Date: Wed Jul 2 11:50:04 2003 Subject: [Spambayes] new link to outlook installer version 003 In-Reply-To: <05A70E173104D511A5840002A55C37EE06B30CB0@exanpmb2.arinc.com> References: <05A70E173104D511A5840002A55C37EE06B30CB0@exanpmb2.arinc.com> Message-ID: <16130.65258.555863.715918@montanaro.dyndns.org> Jehiah> Hey, FYI: Mark updated his outlook installer to version Jehiah> 003. Please update your link. on the page listed below! Corrected, thanks. (Mark, did you want this?) Skip From jakesher at ucla.edu Wed Jul 2 12:35:28 2003 From: jakesher at ucla.edu (Jacob Sherman) Date: Wed Jul 2 14:35:35 2003 Subject: [Spambayes] SpamBayes Suggestions Message-ID: <001901c340c8$b72e0830$6c01a8c0@jandrewdc.com> Hello, I have a suggestion for the Spam Bayes Outlook Add-In. Allow filters to be set at the filter folder level. So if someone wanted to have a "prespam" folder they could filter messages that are 50% and higher into a "prespam" folder for review. Additionally, they could have a spam filter setting on the "prespam" folder that is less lenient, say from the 80-100% possible spam to automatically be deleted or moved to an actual spam folder. Thanks for your consideration, Jacob. From kurtbuff at spro.net Wed Jul 2 13:31:25 2003 From: kurtbuff at spro.net (Kurt) Date: Wed Jul 2 15:32:07 2003 Subject: [Spambayes] Installing SpamBayes for all local users on Win2k In-Reply-To: <001001c34051$513e9390$f501a8c0@eden> Message-ID: <01f401c340d0$876208b0$3f05a8c0@bfgapollo1> Which leads me to believe that you could create a .CMD or .BAT file that could be referenced in the RunOnce registry key on the local machine for the default user or all users... | -----Original Message----- | From: spambayes-bounces@python.org | [mailto:spambayes-bounces@python.org]On Behalf Of Mark Hammond | Sent: Tuesday, July 01, 2003 21:21 | To: 'Samer Ibrahim'; spambayes@python.org | Subject: RE: [Spambayes] Installing SpamBayes for all local users on | Win2k | | | Unfortunately, the only way to do this is to log in as each | user, then run | the command "regsvr32.exe spambayes_addin.dll" from the | SpamBayes program | directory. | | Mark. | | > -----Original Message----- | > From: spambayes-bounces@python.org | > [mailto:spambayes-bounces@python.org]On Behalf Of Samer Ibrahim | > Sent: Wednesday, 2 July 2003 2:02 PM | > To: spambayes@python.org | > Subject: [Spambayes] Installing SpamBayes for all local | users on Win2k | > | > | > Hello, | > | > I'm having trouble installing SpamBayes on my machine. I run | > as non-admin | > on my local box so I'm unable to install any applications | directly. I | > logged in as the administrator and was able to install | > SpamBayes without a | > hitch. However, when I logged back in as a regular user, I | > couldn't find | > the SpamBayes add-in. It appears that SpamBayes only | installs for the | > current user. I would like to install SpamBayes for all | users on the | > machine. I'm on a Win2k box with Outlook 2k2. Can someone | > please assist? | > | > Thanks | > | > Sam | > | > | > | > Samer Ibrahim | > | > http://weblogs.asp.net/SIbrahim | > | > | > | > _______________________________________________ | > Spambayes mailing list | > Spambayes@python.org | > http://mail.python.org/mailman/listinfo/spambayes | > | | | _______________________________________________ | Spambayes mailing list | Spambayes@python.org | http://mail.python.org/mailman/listinfo/spambayes | From vlambert at testrac.com Wed Jul 2 16:18:11 2003 From: vlambert at testrac.com (Vaughn Lambert) Date: Wed Jul 2 16:20:06 2003 Subject: [Spambayes] Announcement: SpamAtBay Beta Candidate 9 Message-ID: <0FD6A0E0D799E246927ADEA979B5F49E75E8@dssnt11.testrac.com> We've been doing some testing with Spambays but ran into problems when we upgraded the Exchange server to 2000 from 5.5. I'd like to try your newest version (beta) if possible. Thanks. Vaughn _______________________ Vaughn Lambert TesTrac.Com, Ltd. 1409 Summit Oaks Drive Burnsville, MN 55337 Phone: (952)953-6292 Direct: (952)432-3249 Fax: (952)432-6646 vlambert@testrac.com From edrubins at andisplace.com Wed Jul 2 17:51:23 2003 From: edrubins at andisplace.com (Ed Rubinsky) Date: Wed Jul 2 16:51:31 2003 Subject: [Spambayes] pop3proxy won't start after a reboot Message-ID: <5.1.0.14.0.20030702164527.00b08f40@localhost> Skip Montanaro wrote: >> I suggest you use something other than dumbdbm as the underlying database >> file. This problem has surfaced a couple times. Dumbdbm is a "database of >> last resort". Precisely because of this it gets very little exercise and is >> probably buggy. You should install PyBSDDB and a version of Sleepycat's >> Berkeley DB library to wedge under it. Simply upgrading to Python >> 2.2.3 is not sufficient. You can get PyBSDDB here: >> http://sourceforge.net/project/showfiles.php?group_id=13900 >> Once you install it, Spambayes will start using it. I did, it did, and all seems well with the world, at least for the moment. One thing I noticed is that with PyBSDDB training is orders of magnitude faster. Best, Ed From erik at sky.cz Thu Jul 3 00:42:41 2003 From: erik at sky.cz (Erik Piper) Date: Wed Jul 2 17:41:18 2003 Subject: [Spambayes] Bug? Message-ID: Hello all, I eagerly downloaded the Outlook addin for Spambayes, saying to myself, "finally! I can use Bayesian filtering even though I'm too lazy to leave Windows!" Well, no dice. The SpamBayes addin is listed in Outlook but not checked, and cannot successfully be checked, because attempts to turn it on in Outlook melt down, with the following footprint in the log: SpamAddin - Connecting to Outlook pythoncom error: Failed to call the universal dispatcher Traceback (most recent call last): File "E:\src\pythonex\com\win32com\universal.py", line 170, in dispatch File "E:\src\pythonex\com\win32com\server\policy.py", line 322, in _InvokeEx_ File "E:\src\pythonex\com\win32com\server\policy.py", line 601, in _invokeex_ File "E:\src\pythonex\com\win32com\server\policy.py", line 541, in _invokeex_ File "E:\src\spambayes\Outlook2000\addin.py", line 655, in OnConnection File "E:\src\spambayes\Outlook2000\manager.py", line 475, in GetManager File "E:\src\spambayes\Outlook2000\manager.py", line 152, in __init__ File "E:\src\spambayes\Outlook2000\manager.py", line 350, in LoadConfig exceptions.UnicodeEncodeError: 'ascii' codec can't encode character '\ued' in position 84: ordinal not in range(128) Am I overlooking something obvious here? The environment is: - Win2K Czech - Outlook 2K Czech - both CZ and EN-US locales tested - binary installation Thanks in advance for your help. If this is news to everyone, I'll go ahead and post a bug report. Erik Piper From derek at hordern.com Thu Jul 3 10:38:36 2003 From: derek at hordern.com (Derek McDonnell) Date: Wed Jul 2 19:39:56 2003 Subject: [Spambayes] Unsolicited testimonial Message-ID: <004401c340f3$0ee6c060$6600a8c0@COMPAQ> Dear SpamBayes This is an unsolicited testimonial to say that your anti-spam package is brilliant, quite remarkably so. Spam was driving us crazy -- on our generic address (and we are a very small business) over 400 messages in after the weekend typically, and on my own address about 150. After a couple of days training I would estimate about 90% accuracy on both accounts and visibly improving. Such a fan I am that I feel guilty for having it free. Are you going to sell it eventually? Or do you have a designated charity I can send some money to? Judge my happiness from this offer -- I have never offered to pay for freeware before. One sophistication we beseech: the incoming mail icon that appears in the system tray -- can this be adjusted to show only for spam-cleared mail? Kind regards and thank you very much Derek Derek McDonnell Hordern House, Sydney www.hordern.com From T.A.Meyer at massey.ac.nz Thu Jul 3 13:06:22 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Wed Jul 2 20:07:05 2003 Subject: [Spambayes] Unsolicited testimonial Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F130237CC79@its-xchg4.massey.ac.nz> [Conveniently ignoring the money questions, which Tim or someone can answer]. > One sophistication we beseech: the incoming mail icon that > appears in the system tray -- can this be adjusted to show > only for spam-cleared mail? Fiddling with that little icon is rather problematic - this feature (in various forms) has been requested a number of times. However, with the latest version of the plugin, you can set mail classified as spam to be marked as read, which I presume will also clear the mail icon. Details about how to do this are in the 'configuration' help page, which is linked from the 'about' page. =Tony Meyer From T.A.Meyer at massey.ac.nz Thu Jul 3 13:09:16 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Wed Jul 2 20:10:00 2003 Subject: [Spambayes] pop3proxy won't start after a reboot Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F130237CC7C@its-xchg4.massey.ac.nz> > Am I the only person who thinks letting Spambayes > use dumbdbm is a bad idea? +1 on the idea to restrict it. (as long as you check in the changes ;) =Tony Meyer From T.A.Meyer at massey.ac.nz Thu Jul 3 13:12:04 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Wed Jul 2 20:12:58 2003 Subject: [Spambayes] spambayes filter - won't "remeber" my SPAM directory Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F130237CC82@its-xchg4.massey.ac.nz> > Nope, here's what happens.... > Under filtering it says that it is managing my spam in > so I click the define filter button. Click browse > and it shows my personal folders, but not expanded, so I > expand it, and click on the spam directory, and click ok. Now > says "Move to spam" Click OK, Still says managing spam in Unknown This definitely sounds like a problem that needs the log files to find the cause. Could you locate them and send them along? ('x' out any personal data in them if you like). It would definitely be worth updating to the 003 binary (if you haven't) as well, and seeing if this problem still exists. =Tony Meyer From mhammond at skippinet.com.au Thu Jul 3 11:30:53 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Wed Jul 2 20:31:16 2003 Subject: [Spambayes] Bug? In-Reply-To: Message-ID: <02fd01c340fa$5e2599b0$f501a8c0@eden> What binary version? If not verion 0.3, please try that. Mark. > -----Original Message----- > From: spambayes-bounces@python.org > [mailto:spambayes-bounces@python.org]On Behalf Of Erik Piper > Sent: Thursday, 3 July 2003 7:43 AM > To: spambayes@python.org > Subject: [Spambayes] Bug? > > > Hello all, > > I eagerly downloaded the Outlook addin for Spambayes, saying > to myself, > "finally! I can use Bayesian filtering even though I'm too > lazy to leave > Windows!" > > Well, no dice. > > The SpamBayes addin is listed in Outlook but not checked, and cannot > successfully be checked, because attempts to turn it on in > Outlook melt > down, with the following footprint in the log: > > SpamAddin - Connecting to Outlook > pythoncom error: Failed to call the universal dispatcher > Traceback (most recent call last): > File "E:\src\pythonex\com\win32com\universal.py", > line 170, in dispatch > File "E:\src\pythonex\com\win32com\server\policy.py", > line 322, in > _InvokeEx_ > File "E:\src\pythonex\com\win32com\server\policy.py", > line 601, in > _invokeex_ > File "E:\src\pythonex\com\win32com\server\policy.py", > line 541, in > _invokeex_ > File "E:\src\spambayes\Outlook2000\addin.py", line > 655, in OnConnection > File "E:\src\spambayes\Outlook2000\manager.py", line > 475, in GetManager > File "E:\src\spambayes\Outlook2000\manager.py", line > 152, in __init__ > File "E:\src\spambayes\Outlook2000\manager.py", line > 350, in LoadConfig > exceptions.UnicodeEncodeError: 'ascii' codec can't > encode character '\ued' > in position 84: ordinal not in range(128) > > Am I overlooking something obvious here? The environment is: > - Win2K Czech > - Outlook 2K Czech > - both CZ and EN-US locales tested > - binary installation > > Thanks in advance for your help. If this is news to everyone, > I'll go ahead > and post a bug report. > > Erik Piper > > > _______________________________________________ > Spambayes mailing list > Spambayes@python.org > http://mail.python.org/mailman/listinfo/spambayes From tim.one at comcast.net Wed Jul 2 22:29:58 2003 From: tim.one at comcast.net (Tim Peters) Date: Wed Jul 2 21:34:30 2003 Subject: [Spambayes] Unsolicited testimonial In-Reply-To: <004401c340f3$0ee6c060$6600a8c0@COMPAQ> Message-ID: [Derek McDonnell] > This is an unsolicited testimonial to say that your anti-spam package > is brilliant, quite remarkably so. Spam was driving us crazy -- on our > generic address (and we are a very small business) over 400 messages > in after the weekend typically, and on my own address about 150. > After a couple of days training I would estimate about 90% accuracy > on both accounts and visibly improving. I'm delighted it's working OK for you -- we didn't even test it on Australian . 90% accuracy is low, and should improve substantially over time. General hint: try to train on approximately equal numbers of ham and spam. You don't have to be rigid about this, but a large imbalance can confuse the math. > Such a fan I am that I feel guilty for having it free. Are you going > to sell it eventually? Nope! It's an open source project, and free access to the source code is part of what open source means. The PSF (Python Software Foundation -- the spambayes copyright holder) license allows commercial interests to use this code freely too, so others may sell products based on this work. For example, http://www.inboxer.com intends to sell an Outlook addin incorporating this code. > Or do you have a designated charity I can send some money to? Judge my > happiness from this offer -- I have never offered to pay for freeware > before. The PSF would be the most appropriate place to invest your life's savings: http://www.python.org/psf/donations.html Note that we (I happen to be a Director of the PSF) haven't yet made it notably easy to contribute, though. If you wait a few weeks, I hope we'll at least have a PayPal (or similar) "click to contribute" button set up. My employer happened to pay for the initial research and coding on the spambayes project. Open source does very well at the latter but not so well at the former (research on statistical algorithms is time-consuming and tedious, and there's no a priori guarantee of success). One thing I hope the PSF can do in coming years is fund core research -- but last time I worked out the details, it seemed to require some funds first . From Paul.Moore at atosorigin.com Thu Jul 3 10:53:41 2003 From: Paul.Moore at atosorigin.com (Moore, Paul) Date: Thu Jul 3 04:54:58 2003 Subject: [Spambayes] Unsolicited testimonial Message-ID: <16E1010E4581B049ABC51D4975CEDB880113DBCB@UKDCX001.uk.int.atosorigin.com> From: Meyer, Tony [mailto:T.A.Meyer@massey.ac.nz] > However, with the latest version of the plugin, you > can set mail classified as spam to be marked as read, > which I presume will also clear the mail icon. I tried this, and unfortunately it does not seem to stop the "New Mail" flag being displayed. This is with Outlook 2000 on Win2K Pro. Paul From avle at ii.uib.no Thu Jul 3 12:03:23 2003 From: avle at ii.uib.no (Helge Avlesen) Date: Thu Jul 3 07:03:23 2003 Subject: [Spambayes] 1.0a3 and ^M Message-ID: <72wuezlvnt.fsf@tindved.ii.uib.no> Hi, cannot get this prerelease to work at all on solaris with python 2.2.3, the previous prerelease works fine. one major difference seems to be all the ^M's in .py files. after training with mboxtrain on all my email and spam the filter (cat $1 | hammie.py -f -d | grep Spambayes ) always reports unsure and 0.5, no matter what I throw on it. I also had to insert a space between the #! and /usr/bin/env on the first line of several scripts in the final bin directory to avoid getting ?command not found? errors in the shell (bash). -- Helge From bwims at yahoo.com Thu Jul 3 13:19:42 2003 From: bwims at yahoo.com (=?iso-8859-1?q?Brian=20Williams?=) Date: Thu Jul 3 07:20:22 2003 Subject: [Spambayes] Outlook plugin 003 is brilliant - when will it go into SpamAtBay? Message-ID: <20030703111942.1559.qmail@web41011.mail.yahoo.com> Three cheers for Outlook plugin 003! It's fixed all the problems I had with icons by moving them to a separate toolbar (was that my suggestion? ;-) and with hanging by supporting multiple profiles It is brilliant - when will it be rolled up into SpamAtBay? Quite frankly it knocks the latter into a cocked hat right now. All the best, Brian Williams --------------------------------- Want to chat instantly with your online friends??Get the FREE Yahoo!Messenger From ccrans at optonline.net Thu Jul 3 08:43:13 2003 From: ccrans at optonline.net (Chris) Date: Thu Jul 3 07:43:33 2003 Subject: [Spambayes] How to back-up database,... Message-ID: <000401c34158$4c883bf0$6401a8c0@D7KXX511> Is there a file that I could back-up where the Anti-Spam database is stored on my computer?Thanks. -Chris From seant at iname.com Thu Jul 3 09:13:59 2003 From: seant at iname.com (Sean True) Date: Thu Jul 3 08:14:18 2003 Subject: [Spambayes] Outlook plugin 003 is brilliant - when will it go intoSpamAtBay? In-Reply-To: <20030703111942.1559.qmail@web41011.mail.yahoo.com> Message-ID: <006201c3415c$975f2ea0$0201a8c0@swapwizard.com> I agree, it's good stuff. We're on a different release rhythm from Mark. Here's where we stand on these two issues: * Adding the buttons to their own toolbar appears to still have some issues (looking at the bug reports), and we're holding off till after releasing 1.0. It's a dangerous change this late in a commercial development cycle. * The profile change is more profound -- involving a major change to the way configurations are handled. Mark changed the core code for this substantially in 003, and (as usual) it's a major improvement. Misfortunately for us, we currently depend on the old configuration code. The change makes it much easier for Mark to expose options for changing with a text editor, and as a benefit, supports profiles. For most commercial users (Tim's sister?), using a text editor to change options is both unpleasant and potentially disastrous. In any case, once 1.0 is out (very soon), we can rip up the stable code and create a 1.1 beta that addresses these. Mark is hard to keep up with! -- Sean > -----Original Message----- > From: spambayes-bounces@python.org > [mailto:spambayes-bounces@python.org] On Behalf Of Brian Williams > Sent: Thursday, July 03, 2003 7:20 AM > To: spambayes@python.org > Subject: [Spambayes] Outlook plugin 003 is brilliant - when > will it go intoSpamAtBay? > > > > Three cheers for Outlook plugin 003! > > It's fixed all the problems I had with icons by moving them > to a separate toolbar (was that my suggestion? ;-) and with > hanging by supporting multiple profiles > > It is brilliant - when will it be rolled up into SpamAtBay? > Quite frankly it knocks the latter into a cocked hat right now. > > All the best, > > Brian Williams > > > > --------------------------------- > Want to chat instantly with your online friends??Get the FREE > Yahoo!Messenger _______________________________________________ > Spambayes mailing list > Spambayes@python.org http://mail.python.org/mailman/listinfo/spambayes > From ken20825 at centurytel.net Thu Jul 3 10:58:39 2003 From: ken20825 at centurytel.net (Ken Wilson) Date: Thu Jul 3 12:57:24 2003 Subject: [Spambayes] Won't install Message-ID: <000801c34184$5abf97a0$0302a8c0@KenWilson> I go to tools > options > com stuff, etc. etc. and I see the check box for spambays. I check it and say ok. There is a slight delay and everything seems to be alright. I then Ok to everything as I back out. Nothing on the tool bar. I go back to check the box (check box) and it is unchecked. I do it again and the same thing happens. Ken From edrubins at andisplace.com Thu Jul 3 22:24:24 2003 From: edrubins at andisplace.com (Ed Rubinsky) Date: Thu Jul 3 21:24:28 2003 Subject: [Spambayes] Which database does the Outlook plugin use? Message-ID: <5.1.0.14.0.20030703211207.00adc430@localhost> Which database does the 003 binary version of Outlook plugin use by default? If it's the dumbdbm, will installing the WIn32 binary for PyBSDDB and restarting Outlook cause it to use that instead? Best, Ed From T.A.Meyer at massey.ac.nz Fri Jul 4 15:55:45 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Thu Jul 3 22:56:37 2003 Subject: [Spambayes] How to back-up database,... Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F130237D051@its-xchg4.massey.ac.nz> > Is there a file that I could back-up where the Anti-Spam > database is stored on my computer?Thanks. See FAQ 3.6: """Yes you can do this, and it is a good idea if you don't keep copies of the mail that you have trained. This way, if your database becomes corrupted, you will be able to recover without losing all your data (if you do keep copies of mail that you train, you can simply recreate the database via the SpamBayes manager dialog). To backup the databases, all you need to do is make a copy of the directory that SpamBayes keeps its data in. If you need to, you can drop the files back in to recover from a corrupted database, or for any other reason. This directory is located in the "Application Data" directory. On Windows NT/2000/XP, this will probably be: C:\Documents and Settings\[username]\Application Data\Spambayes On other versions of Windows, this will probably be: C:\Windows\Application Data\Spambayes Note that this folder may be hidden.""" =Tony Meyer From davea at sportingbet.com.au Fri Jul 4 13:30:30 2003 From: davea at sportingbet.com.au (Dave Alford) Date: Thu Jul 3 23:01:08 2003 Subject: [Spambayes] Deleting SPAM Message-ID: <003c01c341d8$6dad9660$d101a8c0@sbadarwin.com.au> Hi all, Silly question I know, but I have SpamBayes 003 working beautifully and filtering relevant messages as it should. Can I delete spam from the folder I have nominated (***SPAM*** in my case) without affecting anything? David Alford System Administrator SPORTINGBET AUSTRALIA From T.A.Meyer at massey.ac.nz Fri Jul 4 16:00:18 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Thu Jul 3 23:01:14 2003 Subject: [Spambayes] Which database does the Outlook plugin use? Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F130237D056@its-xchg4.massey.ac.nz> > Which database does the 003 binary version of Outlook plugin use by > default? If it's the dumbdbm, will installing the WIn32 > binary for PyBSDDB > and restarting Outlook cause it to use that instead? IIRC, the binary version uses PyDBDDB - everything necessary is bundled along with it. The dumbdbm issues should only apply to those applications that use FileCorpus.py (pop3proxy et al), unless I'm forgetting something. =Tony Meyer From mhammond at skippinet.com.au Fri Jul 4 14:01:20 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Thu Jul 3 23:01:36 2003 Subject: [Spambayes] Which database does the Outlook plugin use? In-Reply-To: <5.1.0.14.0.20030703211207.00adc430@localhost> Message-ID: <000e01c341d8$8c131cb0$f501a8c0@eden> > Which database does the 003 binary version of Outlook plugin use by > default? If it's the dumbdbm, will installing the WIn32 > binary for PyBSDDB > and restarting Outlook cause it to use that instead? It uses the bsddb module included in Python 2.3. There is no effective way to change what database it uses (but this is the "best" database for Python 2.3 anyway) Mark. From T.A.Meyer at massey.ac.nz Fri Jul 4 16:10:19 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Thu Jul 3 23:11:05 2003 Subject: [Spambayes] Deleting SPAM Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F130237D05F@its-xchg4.massey.ac.nz> > Silly question I know, but I have SpamBayes 003 working > beautifully and filtering relevant messages as it should. > Can I delete spam from the folder I have nominated > (***SPAM*** in my case) without affecting anything? Yes, as long as you don't ever need to recreate your database. Note that it is possible that your database will become corrupted - this is less likely than with the 002 release, but still a possibility (one major reason that it's in beta, and not a release candidate!). There is one bug in particular that is known (but with an unknown cause) that can cause the counts in the database to become corrupted. If this happens, you have three choices: (1) If you kept all the spam, you can use the training dialog to rebuild the database from scratch. (2) If you backup the spambayes data folder occasionally, you can restore from this (see FAQ 3.6). (3) You can simply start training again with whatever new spam you get. This can be a perfectly valid option, especially if you saw good results after very little training. =Tony Meyer From T.A.Meyer at massey.ac.nz Fri Jul 4 17:49:24 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Fri Jul 4 00:50:21 2003 Subject: [Spambayes] 1.0a3 and ^M Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F130237D0D2@its-xchg4.massey.ac.nz> > cannot get this prerelease to work at all on solaris with > python 2.2.3, the previous prerelease works fine. one major > difference seems to be all the ^M's in .py files. > > I also had to insert a space between the #! and /usr/bin/env > on the first line of several scripts in the final bin > directory to avoid getting errors in the > shell (bash). I'll take the blame for this. I believe I built the release incorrectly. I'm hoping to put out 1.0a4 early next week to resolve this and other issues. > after training with mboxtrain on all my email and spam the > filter (cat $1 | hammie.py -f -d | grep Spambayes ) always > reports unsure and 0.5, no matter what I throw on it. If you were able to test this with current CVS, that would be fantastic. If it works, then it is just the distribution problem, which should be gone soon! If it doesn't, then we know we need to fix this too! (If you can't get CVS, then if you could just use a2 until next week, and then try a4 [1], that would be good). =Tony Meyer [1] Assuming that I am able to convince everyone that it's needed, and also able to find the time needed to get it done on schedule... From T.A.Meyer at massey.ac.nz Fri Jul 4 17:55:09 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Fri Jul 4 00:55:55 2003 Subject: [Spambayes] Won't install Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F130237D0D8@its-xchg4.massey.ac.nz> > I go to tools > options > com stuff, etc. etc. and I see the > check box for spambays. I check it and say ok. There is a > slight delay and everything seems to be alright. I then Ok > to everything as I back out. Nothing on the tool bar. I go > back to check the box (check box) and it is unchecked. I do > it again and the same thing happens. Have you tried the steps listed in the troubleshooting guide? (You can find this in the /docs directory in the directory that spambayes was installed in, or via the documentation page on the website). What version of Windows/Outlook/SpamBayes are you using? (including which service pack for the first two). If you could also get hold of the log file via the method outlined in the troubleshooting guide, that would be great. =Tony Meyer From T.A.Meyer at massey.ac.nz Fri Jul 4 18:14:40 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Fri Jul 4 01:16:14 2003 Subject: [Spambayes] spambayes filter - won't "remeber" my SPAM directory Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F130237D0E3@its-xchg4.massey.ac.nz> > I downloaded the new version of SpamBayes and it still > doesn't seem to make much of a difference. I hope I have > attached all of the pertinent files..... The log file has a couple of: NOTE: Skipping deleted folder messages. Is a folder that you are tried to filter/move things to deleted? I gather that this is what the message means, although Mark would have a better idea (hence me cc'ing this back to the list). Your spam folder isn't in the deleted items folder is it? The 003 release is meant to prevent that, but I don't know what it would do if it was simply using the config from 002. Note that there seem to be others with the same problem. It would probably be worth opening a bug report on sourceforge (http://sf.net/projects/spambayes then "Bugs" then "Submit New") since there doesn't seem to be one already. Make sure you attach the log file (the ini file isn't necessary) to the report if you do submit one. That would keep it on Mark's attention list (since he has the best chance of finding the cause if it is a problem with the code), and make sure it doesn't get lost in list traffic. > I looked at the INI > file (attached) and there's a place where it stores a value > for the SPAM folder name.... but it's a super long string of > numbers, is there any way of hacking into this and tricking > it into doing my bidding? Well, if you knew the correct replacement numbers, you could replace it with any text editor (like notepad). However, getting hold of the correct numbers (message entryid and storeid) is a tricky business. =Tony Meyer From T.A.Meyer at massey.ac.nz Fri Jul 4 18:22:35 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Fri Jul 4 01:23:22 2003 Subject: [Spambayes] expected behaviour in Outlook2k Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F130237D0E5@its-xchg4.massey.ac.nz> > If I open a message from the 'Inbox', I can see the message > change to 'read', and then back to 'unread' immediately, > while the message is still open. If I close the message, > it's status is still 'unread'. If I open it a second time, > it then marked 'read'. This is a known problem, although it's a tricky one to nail down. You can monitor it here: [ 716684 ] Filtering marks message as unread https://sourceforge.net/tracker/index.php?func=detail&aid=716684&group_i d=61702&atid=498103 I'm trying to track it down, but although I used to see this all the time, now that I'm trying to reproduce it, I'm having trouble! This may have something to do with the newer code, so downloading the 003 release and seeing if that makes a difference is worth trying (see below). Otherwise, be assured that we are working on it! > If an attachment is included, the first time I open the > message, I cannot open the attachment, or save it. If I > close the message, and reopen it, I can both open and save > the attachment. Hadn't heard that before, though. I'll add that information to the tracker. > The file that I downloaded was > "SpamBayes-Outlook-Setup-002.exe"; this was last Thursday or Friday. Note that there is a newer version out - the 002 release was getting pretty old. The new one has a large number of improvements, so is well worth getting (from the same location as the old one, or http://spambayes.org/download.html). You may also be interested in subscribing to the -announce list, which is a moderated mailing list that only has postings when a new release is announced (i.e. very low traffic). See http://spambayes.org for more information (towards the bottom of the page). =Tony Meyer From mhammond at skippinet.com.au Fri Jul 4 21:47:48 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Fri Jul 4 06:48:05 2003 Subject: [Spambayes] spambayes filter - won't "remeber" my SPAM directory In-Reply-To: <1ED4ECF91CDED24C8D012BCF2B034F130237D0E3@its-xchg4.massey.ac.nz> Message-ID: <013d01c34219$b6048130$f501a8c0@eden> [Tony] > > I downloaded the new version of SpamBayes and it still > > doesn't seem to make much of a difference. I hope I have > > attached all of the pertinent files..... > > The log file has a couple of: > NOTE: Skipping deleted folder > messages. Is a folder that you are tried to filter/move things to > deleted? I gather that this is what the message means, although Mark > would have a better idea (hence me cc'ing this back to the list). > > Your spam folder isn't in the deleted items folder is it? The 003 > release is meant to prevent that, but I don't know what it would do if > it was simply using the config from 002. This message should only be generated when the folder has actually been deleted. I used to run with a folder manually created under "Deleted Items", and it worked just fine. That message was in response to a bug - a user accidently deleted the folder, and spambayes died totally. 003 may or may not prevent you selecting an folder already configured under deleted items - I haven't tried :) > > I looked at the INI > > file (attached) and there's a place where it stores a value > > for the SPAM folder name.... but it's a super long string of > > numbers, is there any way of hacking into this and tricking > > it into doing my bidding? > > Well, if you knew the correct replacement numbers, you could > replace it > with any text editor (like notepad). However, getting hold of the > correct numbers (message entryid and storeid) is a tricky business. Delete the entire line, and see what happens. It *should* startup with a dialog telling you things aren't all cool. The config dialog should then prevent you from selecting a deleted folder. If not, please do file a bug. Mark. -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2568 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030704/80094199/winmail-0001.bin From avle at ii.uib.no Fri Jul 4 12:55:36 2003 From: avle at ii.uib.no (Helge Avlesen) Date: Fri Jul 4 07:55:37 2003 Subject: [Spambayes] 1.0a3 and ^M In-Reply-To: <1ED4ECF91CDED24C8D012BCF2B034F130237D0D2@its-xchg4.massey.ac.nz> References: <1ED4ECF91CDED24C8D012BCF2B034F130237D0D2@its-xchg4.massey.ac.nz> Message-ID: <72vfuicxqr.fsf@tindved.ii.uib.no> "Meyer, Tony" writes: | If you were able to test this with current CVS, that would be fantastic. | If it works, then it is just the distribution problem, which should be | gone soon! If it doesn't, then we know we need to fix this too! (If | you can't get CVS, then if you could just use a2 until next week, and | then try a4 [1], that would be good). Hi, in CVS the ^M's are gone and sb does not fail to execute anymore, however, after rebuilding the spam database and testing random mail I get a 0.5 classification on anything (even my .emacs....) It would be really neat with a simple self-test inside the package - just a handful of spams and bogus hams for training and verification. (or maybe similar functionality is already there?) -- Helge From erik at sky.cz Fri Jul 4 15:58:48 2003 From: erik at sky.cz (erik@sky.cz) Date: Fri Jul 4 08:58:53 2003 Subject: [Spambayes] Re: Spambayes Digest, Vol 59, Issue 9 In-Reply-To: References: Message-ID: <1057323528.3f057a080f630@ctimail.skynet.cz> Hi all, Mark replied to my recent message on installation problems in private, and I replied back in private... since there's been activity from Mark on the list but no reply to that e-mail, I'll take the liberty of continuing this one on the list. The basics again: - I first discovered the problem in the 002 binary, but it does repro in the 003. - both repro machines run Outlook 2K CZ - one runs W98SE CZ and the other W2K CZ - Reproduced in W2K under both CZ-CZ locale and EN-US regional settings - Addin joins the list in Outlook after installation, but cannot be successfully activated - each return to the COM add-ins dialog finds it unchecked. - The original report was for W2K CZ / binary 2; see the list a few days back for details. - Here is the behavior for W98SE/CZ regional settings/binary 3: Error connecting to Outlook! Traceback (most recent call last): File "out1.pyz/addin", line 800, in OnConnection File "out1.pyz/manager", line 682, in GetManager File "out1.pyz/manager", line 226, in __init__ File "out1.pyz/manager", line 487, in LoadConfig File "out1.pyz/ntpath", line 101, in join UnicodeDecodeError: 'ascii' codec can't decode byte 0xed in position 9: ordinal not in range(128) ERROR: 'There was an error initializing the SpamBayes addin\r\n\r\nPlease re- start Outlook and try again.' Traceback (most recent call last): File "out1.pyz/addin", line 800, in OnConnection File "out1.pyz/manager", line 682, in GetManager File "out1.pyz/manager", line 226, in __init__ File "out1.pyz/manager", line 487, in LoadConfig File "out1.pyz/ntpath", line 101, in join UnicodeDecodeError: 'ascii' codec can't decode byte 0xed in position 9: ordinal not in range(128) SpamBayes - Disconnecting from Outlook Addin terminating: 0 COM client and 1 COM servers exist. - the error with 003 on W2K was, as far as I can recall, mostly the same, except for the "can't decode byte XXXX" - a different byte was cited, AFAICR. Erik Piper From spmcpa at pacbell.net Fri Jul 4 14:46:53 2003 From: spmcpa at pacbell.net (Steve Miller) Date: Fri Jul 4 16:44:19 2003 Subject: [Spambayes] PLEASE HELP - THE PROGRAM IS CAUSING PROBLEMS TO OUTLOOK! Message-ID: <000501c3426d$6758d7d0$6401a8c0@Jorstad.local> Every time I start-up MS Outlook, I get the following error message: OUTLOOK.EXE - No Disk There is no disk in the drive. Pleas insert a disk into drive\Device\Harddisk1\DR2. It takes several attempts but after hitting the "continue" button, it finally disappears. I don't think the anti-spam program works after that. Note: I have Windows 2000 and am running MS Outlook 2000 for my email. PLEASE HELP!!!! Thanks, Steve Steven P. Miller, CPA 1000 Fourth Street, Suite 875 San Rafael, CA 94901 Tel 415.482.9306 Fax 415.482.9308 spmcpa@pacbell.net From mhammond at skippinet.com.au Sat Jul 5 10:48:52 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Fri Jul 4 19:49:14 2003 Subject: [Spambayes] Re: Spambayes Digest, Vol 59, Issue 9 In-Reply-To: <1057323528.3f057a080f630@ctimail.skynet.cz> Message-ID: <024801c34286$d36af980$f501a8c0@eden> It would seem to me that either the profile name, or the "application directory" name is what is giving us problems. If you have Python 2.3 available for the machine, we could perform some experiments to help move us closer. Mark. > -----Original Message----- > From: spambayes-bounces@python.org > [mailto:spambayes-bounces@python.org]On Behalf Of erik@sky.cz > Sent: Friday, 4 July 2003 10:59 PM > To: spambayes@python.org > Cc: erik@sky.cz > Subject: [Spambayes] Re: Spambayes Digest, Vol 59, Issue 9 > > > Hi all, > > Mark replied to my recent message on installation problems in > private, and I > replied back in private... since there's been activity from > Mark on the list > but no reply to that e-mail, I'll take the liberty of > continuing this one on > the list. > > The basics again: > - I first discovered the problem in the 002 binary, but it > does repro in the > 003. > - both repro machines run Outlook 2K CZ > - one runs W98SE CZ and the other W2K CZ > - Reproduced in W2K under both CZ-CZ locale and EN-US > regional settings > - Addin joins the list in Outlook after installation, but cannot be > successfully activated - each return to the COM add-ins > dialog finds it > unchecked. > - The original report was for W2K CZ / binary 2; see the list > a few days back > for details. > - Here is the behavior for W98SE/CZ regional settings/binary 3: > Error connecting to Outlook! > Traceback (most recent call last): > File "out1.pyz/addin", line 800, in OnConnection > File "out1.pyz/manager", line 682, in GetManager > File "out1.pyz/manager", line 226, in __init__ > File "out1.pyz/manager", line 487, in LoadConfig > File "out1.pyz/ntpath", line 101, in join > UnicodeDecodeError: 'ascii' codec can't decode byte 0xed in > position 9: ordinal > not in range(128) > ERROR: 'There was an error initializing the SpamBayes > addin\r\n\r\nPlease re- > start Outlook and try again.' > Traceback (most recent call last): > File "out1.pyz/addin", line 800, in OnConnection > File "out1.pyz/manager", line 682, in GetManager > File "out1.pyz/manager", line 226, in __init__ > File "out1.pyz/manager", line 487, in LoadConfig > File "out1.pyz/ntpath", line 101, in join > UnicodeDecodeError: 'ascii' codec can't decode byte 0xed in > position 9: ordinal > not in range(128) > SpamBayes - Disconnecting from Outlook > Addin terminating: 0 COM client and 1 COM servers exist. > - the error with 003 on W2K was, as far as I can recall, > mostly the same, > except for the "can't decode byte XXXX" - a different byte > was cited, AFAICR. > > Erik Piper > > _______________________________________________ > Spambayes mailing list > Spambayes@python.org > http://mail.python.org/mailman/listinfo/spambayes From john.abel at pa.press.net Sat Jul 5 12:09:05 2003 From: john.abel at pa.press.net (John Abel) Date: Sat Jul 5 06:10:19 2003 Subject: [Spambayes] Message Causes Exception Message-ID: <3F06A3C1.6040508@pa.press.net> Hi, I've been using SpamBayes for over a month now, and recently upgraded to the latest CVS version. However, a couple of messages have started to filter through. Looking at the headers, it seems that SpamBayes couldn't parse the mail (I've enclosed one of the offending mails), due to a Unicode error. I'm using Python2.3b2, with SpamBayes CVS from 4 July, 2003. Regards John From dan at confusedrobot.co.uk Sat Jul 5 12:25:38 2003 From: dan at confusedrobot.co.uk (Dan) Date: Sat Jul 5 06:26:17 2003 Subject: [Spambayes] Customise - Freeze Message-ID: <000601c342df$d65d6110$0100a8c0@robotish> I upgraded to Spam Bayes 0.3 today and have found that when I go to options/customize outlook freezes..not in the normal sense though, it continues checking mail and is apparently working in the background (it doesn't stop responding as such) but I am unable to change any options or click on the tabs and have to force it to close and restart in order for it to work. Dan From erik at sky.cz Sat Jul 5 13:44:01 2003 From: erik at sky.cz (Erik Piper) Date: Sat Jul 5 06:43:04 2003 Subject: "UnicodeDecodeError" problem in Czech setup (WAS: [Spambayes] Re: Spambayes Digest, Vol 59, Issue 9) In-Reply-To: <024801c34286$d36af980$f501a8c0@eden> Message-ID: I don't have Python yet, because I'd been hoping to get by with just the binary -- I'm not good at getting up and running on programming languages. But I'll be happy to help in the name of science. I've started the download, rates are cheap now, so I'll probably download it all now. Let me know what kind of experiments I should run. I noticed the Python 2.3b engine is a beta -- anything really odd in its behavior (from the standpoint of a layman) I'll need to know about? For the moment, here's some info on the profile name and application directory Profile name: I hope this is the same as an "account"... it's been a long time since I worked in English Outlook. I have just one account on my home machine, and it's a dialup account named mail.sky.cz. "Application directory" -- here are some wild stabs... Directory where application is located: C:\program files\microsoft office\office\ The "Application Data" root directory in Czech Win2K is localized, and thus C:\documents and settings\\Data aplikac?. (In case the diacritical marks don't come through right: the last character is an i with an acute accent.) Note that the Addins subdirectory's name is also localized, and the localized name includes one of the technically more troublesome characters in Czech: an n with a hacek. By "technically most troublesome," I am referring to the fact that generally, if an application handles Czech accented characters well, but has trouble with just a few, n-with-hacek is among those few. Thanks a lot for your help! Erik -----Original Message----- From: Mark Hammond [mailto:mhammond@skippinet.com.au] Sent: Saturday, July 05, 2003 1:49 AM To: erik@sky.cz; spambayes@python.org Subject: RE: [Spambayes] Re: Spambayes Digest, Vol 59, Issue 9 It would seem to me that either the profile name, or the "application directory" name is what is giving us problems. If you have Python 2.3 available for the machine, we could perform some experiments to help move us closer. Mark. > -----Original Message----- > From: spambayes-bounces@python.org > [mailto:spambayes-bounces@python.org]On Behalf Of erik@sky.cz > Sent: Friday, 4 July 2003 10:59 PM > To: spambayes@python.org > Cc: erik@sky.cz > Subject: [Spambayes] Re: Spambayes Digest, Vol 59, Issue 9 > > > Hi all, > > Mark replied to my recent message on installation problems in > private, and I > replied back in private... since there's been activity from > Mark on the list > but no reply to that e-mail, I'll take the liberty of > continuing this one on > the list. > > The basics again: > - I first discovered the problem in the 002 binary, but it > does repro in the > 003. > - both repro machines run Outlook 2K CZ > - one runs W98SE CZ and the other W2K CZ > - Reproduced in W2K under both CZ-CZ locale and EN-US > regional settings > - Addin joins the list in Outlook after installation, but cannot be > successfully activated - each return to the COM add-ins > dialog finds it > unchecked. > - The original report was for W2K CZ / binary 2; see the list > a few days back > for details. > - Here is the behavior for W98SE/CZ regional settings/binary 3: > Error connecting to Outlook! > Traceback (most recent call last): > File "out1.pyz/addin", line 800, in OnConnection > File "out1.pyz/manager", line 682, in GetManager > File "out1.pyz/manager", line 226, in __init__ > File "out1.pyz/manager", line 487, in LoadConfig > File "out1.pyz/ntpath", line 101, in join > UnicodeDecodeError: 'ascii' codec can't decode byte 0xed in > position 9: ordinal > not in range(128) > ERROR: 'There was an error initializing the SpamBayes > addin\r\n\r\nPlease re- > start Outlook and try again.' > Traceback (most recent call last): > File "out1.pyz/addin", line 800, in OnConnection > File "out1.pyz/manager", line 682, in GetManager > File "out1.pyz/manager", line 226, in __init__ > File "out1.pyz/manager", line 487, in LoadConfig > File "out1.pyz/ntpath", line 101, in join > UnicodeDecodeError: 'ascii' codec can't decode byte 0xed in > position 9: ordinal > not in range(128) > SpamBayes - Disconnecting from Outlook > Addin terminating: 0 COM client and 1 COM servers exist. > - the error with 003 on W2K was, as far as I can recall, > mostly the same, > except for the "can't decode byte XXXX" - a different byte > was cited, AFAICR. > > Erik Piper > > _______________________________________________ > Spambayes mailing list > Spambayes@python.org > http://mail.python.org/mailman/listinfo/spambayes From richie at entrian.com Sat Jul 5 12:50:01 2003 From: richie at entrian.com (Richie Hindle) Date: Sat Jul 5 06:53:23 2003 Subject: [Spambayes] Message Causes Exception In-Reply-To: <3F06A3C1.6040508@pa.press.net> References: <3F06A3C1.6040508@pa.press.net> Message-ID: Hi John, > I've been using SpamBayes for over a month now, and recently upgraded to > the latest CVS version. However, a couple of messages have started to > filter through. Looking at the headers, it seems that SpamBayes > couldn't parse the mail (I've enclosed one of the offending mails), due > to a Unicode error. Which application are you using - POP3 proxy, Outlook Express plugin, IMAP filter, etc.? And there was no message attached to yours - of you're sure you sent it, the list server probably filtered it out. Could you send it to me by private email, preferably as a zipped text file so that it doesn't get munged by any email systems? Thanks. -- Richie Hindle richie@entrian.com From richie at entrian.com Sat Jul 5 13:16:07 2003 From: richie at entrian.com (Richie Hindle) Date: Sat Jul 5 07:19:21 2003 Subject: [Spambayes] Message Causes Exception In-Reply-To: References: <3F06A3C1.6040508@pa.press.net> Message-ID: [me] > ...Outlook Express plugin.... Oops, wishful thinking, I meant "Outlook plugin" of course. -- Richie Hindle richie@entrian.com From general at confusedrobot.co.uk Sat Jul 5 13:24:02 2003 From: general at confusedrobot.co.uk (Dan) Date: Sat Jul 5 07:24:12 2003 Subject: [Spambayes] Customise - Freeze In-Reply-To: <000601c342df$d65d6110$0100a8c0@robotish> Message-ID: <000001c342e7$f031cce0$0100a8c0@robotish> You can disregard this...sorry, it seems to have suddenly started working again...I blame Microsoft. Dan -----Original Message----- From: spambayes-bounces@python.org [mailto:spambayes-bounces@python.org] On Behalf Of Dan Sent: 05 July 2003 11:26 To: spambayes@python.org Subject: [Spambayes] Customise - Freeze I upgraded to Spam Bayes 0.3 today and have found that when I go to options/customize outlook freezes..not in the normal sense though, it continues checking mail and is apparently working in the background (it doesn't stop responding as such) but I am unable to change any options or click on the tabs and have to force it to close and restart in order for it to work. Dan _______________________________________________ Spambayes mailing list Spambayes@python.org http://mail.python.org/mailman/listinfo/spambayes From skip at pobox.com Sat Jul 5 09:04:23 2003 From: skip at pobox.com (Skip Montanaro) Date: Sat Jul 5 09:04:38 2003 Subject: [Spambayes] Which database does the Outlook plugin use? In-Reply-To: <5.1.0.14.0.20030703211207.00adc430@localhost> References: <5.1.0.14.0.20030703211207.00adc430@localhost> Message-ID: <16134.52439.607173.726138@montanaro.dyndns.org> Ed> Which database does the 003 binary version of Outlook plugin use by Ed> default? If it's the dumbdbm, will installing the WIn32 binary for Ed> PyBSDDB and restarting Outlook cause it to use that instead? Yes, though you will have to delete the existing database files and retrain. Skip From russell_mortishire-smith at merck.com Sat Jul 5 13:32:36 2003 From: russell_mortishire-smith at merck.com (Mortishire-Smith, Russell) Date: Sat Jul 5 12:32:53 2003 Subject: [Spambayes] Recover from spam button missing in v.003 Message-ID: <5F8B169E44CF3B4D8D099CF83FCD5CE30129359A@bebrmx06.merck.com> v.002 stopped working for me, so I deinstalled and reinstalled v.003. Works fine, except that the 'recover from spam' button doesn't appear in the toolbar. Any thoughts why this might be? Russell ------------------------------------------------------------------------------ Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (Whitehouse Station, New Jersey, USA) that may be confidential, proprietary copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named on this message. If you are not the intended recipient, and have received this message in error, please immediately return this by e-mail and then delete it. ------------------------------------------------------------------------------ From skip at pobox.com Sat Jul 5 14:02:17 2003 From: skip at pobox.com (Skip Montanaro) Date: Sat Jul 5 14:02:37 2003 Subject: "UnicodeDecodeError" problem in Czech setup (WAS: [Spambayes] Re: Spambayes Digest, Vol 59, Issue 9) In-Reply-To: References: <024801c34286$d36af980$f501a8c0@eden> Message-ID: <16135.4777.574295.719680@montanaro.dyndns.org> Erik> Let me know what kind of experiments I should run. I can think of a couple things you might try. First, if execute the Python interpreter from a DOS shell what is your default encoding (I suspect ascii): import sys print sys.getdefaultencoding() Second, I'd like to know what the arguments are to the ntpath.join() function. The character with ordinal 0xed (an accented 'i') is clearly not an ASCII character, yet the error message suggests ntpath.join is being passed string objects not Unicode objects. In Outlook2000/manager.py you should see a bit of code at the start of LoadConfig like this: def LoadConfig(self): profile_name = self.message_store.GetProfileName() if profile_name is None: # should only happen in source-code versions - older win32alls can't # determine this. profile_name = "unknown_profile" else: # xxx - remove me sometime - win32all grew this post 154(ish) # binary never released with this, so we can be a little more brutal # Try and rename to current profile, silent failure try: os.rename(os.path.join(self.data_directory, "unknown_profile.ini"), os.path.join(self.data_directory, profile_name + ".ini")) except os.error: pass One of those two os.path.join (aka ntpath.join on Windows) calls is what's failing. It would appear either your data directory or your chosen profile name contains an accented 'i'. One or both should be Unicode objects, not strings. If your system has filenames which contain non-ASCII characters I suspect your system's default encoding needs to be set properly in c:\Python23\site.py. Skip From dan at zurg.net Sat Jul 5 18:18:35 2003 From: dan at zurg.net (Dan Thompson) Date: Sat Jul 5 19:33:33 2003 Subject: [Spambayes] possible new bug related to Outlook filters Message-ID: <004401c34343$603c9a00$6d01a8c0@Lyta> I have found a possible bug/problem in SpamBayes, related to Outlook's own filters. I browsed the bug database, but I didn't see anything quite like it. SpamBayes version: Beta1, Binary version 3 (July 2003) Outlook version: Outlook 2002 (10.2627.3311) I have multiple types of email coming in, and I have Outlook filters setup to sort them into subfolders beneath my Inbox. In this example, it's all email to one of my alternate domains, LIXI.NET. That is, I have folders like: Inbox \--Humor \--LIXI \--webmaster etc. I have SpamBayes configured to look at Inbox and all of its subfolders to filter out spam. However, it seems that the messages in the subfolders have been used as Ham training prior to their Spam testing. That results in a particular type of spam slipping by easily. Specifically, if the spam just has some random character strings in it, they are unique to the database, and they have been recorded as Ham indicators. As a result, while the email carries some strong Spam indicators, it is outweighed by these false Ham indicators. I've included a sample below. If I turn off the Outlook filter that put it into the sub-folder, then the random-character words have not been recorded as Ham indicators, and the email is correctly identified as Spam. So, just when is a message checked for Spam, before or after the Outlook filters? Here's the email w/ Spam clues: -- Spam Score: 0.0147424 word spamprob #ham #spam '*H*' 0.970515 - - '*S*' 9.6979e-010 - - 'again,' 0.105588 4 47 'try' 0.148291 10 267 'all:' 0.155172 1 0 'elasticity' 0.155172 1 0 'fclg' 0.155172 1 0 'from:addr:7hifjaa6' 0.155172 1 0 'from:name:eloy ayers' 0.155172 1 0 'lidw' 0.155172 1 0 'message-id:@uh38c.c6tm9' 0.155172 1 0 'phmv' 0.155172 1 0 'rlvd' 0.155172 1 0 'subject:myltrt' 0.155172 1 0 'subject:xrbisrdk' 0.155172 1 0 'tlc,' 0.155172 1 0 'url:myluckystoreanywhere' 0.155172 1 0 'xjzgiqa' 0.155172 1 0 'dna/rna,' 0.158553 1 1 'excluse' 0.158553 1 1 'url:gh' 0.158553 1 1 'year!!' 0.158553 1 1 'cnn.' 0.161906 1 2 'bought' 0.163439 2 36 'do:' 0.165233 1 3 'url:1hothgh' 0.165233 1 3 'url:ie' 0.165233 1 3 'gaining' 0.171808 1 5 'quicken' 0.175056 1 6 'function' 0.184651 1 9 'store' 0.184862 2 48 'otc-fda' 0.1878 1 10 'wound' 0.191761 2 52 'channel,' 0.194026 1 12 'url:35' 0.194026 1 12 'url:www' 0.202469 22 930 'bone' 0.20918 1 17 'subject:getting' 0.20918 1 17 'url:com' 0.219244 23 1081 'what' 0.223433 14 664 'subject:years' 0.226629 1 23 'remove:' 0.240593 1 28 'subject:there' 0.240593 1 28 'has' 0.243779 21 1136 'year!' 0.246038 1 30 'skip:r 10' 0.24979 11 603 'url:htm' 0.26453 5 284 'on,' 0.26487 2 99 'list' 0.269845 12 737 'fact' 0.273262 2 105 'cholesterol' 0.274644 1 41 'any' 0.284856 19 1276 'without' 0.287688 12 809 'healing' 0.28935 1 47 'retention' 0.28935 1 47 'mass' 0.289483 2 117 'least' 0.290445 3 188 'like' 0.291082 22 1528 'exclusive' 0.293426 2 120 'lower' 0.294731 2 121 'url:auto' 0.296482 1 50 'supply;' 0.317045 1 59 'proto:http' 0.317819 19 1499 "we'd" 0.319255 1 60 'utilizing' 0.321452 1 61 'just' 0.327783 18 1487 'been' 0.330702 14 1168 'thirty' 0.336439 1 68 'encourage' 0.338526 1 69 'f.r.e.e' 0.338526 1 69 'subject:Are' 0.3406 1 70 'very' 0.341184 4 337 'symptoms' 0.344709 1 72 'world' 0.348093 3 257 'weight,' 0.348768 1 74 'look' 0.360191 6 563 'ask' 0.362585 1 81 'pressure' 0.362585 1 81 'sleep,' 0.362585 1 81 'this' 0.367825 34 3380 'must' 0.373615 4 394 'new' 0.375207 15 1531 'reduce' 0.377487 2 193 'while' 0.380748 7 724 'eliminate' 0.384955 1 93 'cardiac' 0.392067 1 97 'exercise' 0.392067 1 97 'first' 0.395809 5 549 'performance' 0.61966 1 304 'x-mailer:internet mail service (5.5.2650.21)' 0.625084 1 312 'increase' 0.629007 2 609 'cnn,' 0.631005 1 321 'receive' 0.63418 6 1814 'information' 0.660812 3 1040 'muscle' 0.66095 2 706 'exercise!' 0.68181 1 412 'proven' 0.685145 1 419 'reported' 0.689789 1 429 'fat' 0.700822 1 454 'offer' 0.703804 2 869 'cbs,' 0.709099 1 474 'reverses' 0.714625 1 488 'dieting' 0.718822 1 499 'energy' 0.728969 1 527 'aging' 0.757138 1 617 'lose' 0.76073 1 630 'subject:you' 0.761002 1 631 'sexual' 0.767348 1 655 'approved' 0.770896 1 669 'health' 0.780004 1 707 'remove' 0.797103 2 1462 'to:addr:lojo' 0.912844 1 2164 'to:addr:lixi.net' 0.923437 3 6639 Message Stream: Return-Path: <7hifjaa6@lycos.com> Received: from 209.249.147.134 ([211.184.52.129]) by addr29.addr.com (8.12.8/8.12.8/Submit) with SMTP id h65M47wB063164 for ; Sat, 5 Jul 2003 15:04:36 -0700 (PDT) Received: from vf.hwkxbj.net ([60.144.77.22]) by 209.249.147.134; Sun, 06 Jul 2003 03:02:36 +0100 Message-ID: From: "Eloy Ayers" <7hifjaa6@lycos.com> To: lojo@lixi.net Subject: Are you getting up there in years? xrbisrdk myltrt Date: Sun, 06 Jul 03 03:02:36 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Internet Mail Service (5.5.2650.21) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="5FDA.B.2.D_4C84.6._....E" X-UIDL: Uc@"!>:G"!hP1"!fa(!! MUST TRY FOR ALL: As a World Excluse utilizing DNA/RNA, we are the very first to offer this revolutionary product. This PROVEN OTC-FDA Approved discovery has been reported on by the New England Journal of Medicine - don't just take our word for it. Actually reverses aging symptoms without dieting or exercise! This CANNOT be BOUGHT in ANY Store for 1 year!! INTERNET EXCLUSIVE In fact we'd like you to receive a F.R.E.E thirty day supply; look and feel younger, lose weight, reduce sleep, The list goes on, we encourage you to at least take a look at the information as to what else it can do. Again, CANNOT be BOUGHT in ANY Store for 1 year! You ask what does this OTC-FDA approved discovery do: Improve Vision Increase Memory Retention Improve Quality of Sleep Increase Exercise Performance Lower Blood Pressure Improve Cholesterol Increase Bone Mass Quicken Wound Healing Lose Fat While Gaining Muscle Increase Energy Level Increase Immune Function Enhance Sexual Performance Increase Cardiac Output Improve Skin Elasticity Remove Wrinkles Eliminate Cellulite http://www.1hothgh.com/gh/ie/35/ As seen on TLC, Health Channel, CNN, CBS, & CNN. Remove: http://myluckystoreanywhere.com/auto/index.htm xjzgiqa ysfyfzuwetreffgfx lidw fclg hv fa m bihvrhcdjbboqx fh phmv rlvd ui m Message Tokens: 171 unique tokens 'actually' 'again,' 'aging' 'all:' 'and' 'any' 'approved' 'are' 'ask' 'been' 'blood' 'bone' 'bought' 'can' 'cannot' 'cardiac' 'cbs,' 'cc:none' 'cellulite' 'channel,' 'cholesterol' 'cnn,' 'cnn.' 'content-type:text/plain' 'day' 'dieting' 'discovery' 'dna/rna,' 'do.' 'do:' 'does' "don't" 'elasticity' 'eliminate' 'else' 'encourage' 'energy' 'england' 'enhance' 'excluse' 'exclusive' 'exercise' 'exercise!' 'f.r.e.e' 'fact' 'fat' 'fclg' 'feel' 'first' 'for' 'from:addr:7hifjaa6' 'from:addr:lycos.com' 'from:name:eloy ayers' 'function' 'gaining' 'goes' 'has' 'header:Date:1' 'header:From:1' 'header:MIME-Version:1' 'header:Message-ID:1' 'header:Received:2' 'header:Return-Path:1' 'header:Subject:1' 'header:To:1' 'healing' 'health' 'immune' 'improve' 'increase' 'information' 'internet' 'it.' 'journal' 'just' 'least' 'level' 'lidw' 'like' 'list' 'look' 'lose' 'lower' 'mass' 'medicine' 'memory' 'message-id:@uh38c.c6tm9' 'muscle' 'must' 'new' 'offer' 'on,' 'otc-fda' 'our' 'output' 'performance' 'phmv' 'pressure' 'product.' 'proto:http' 'proven' 'quality' 'quicken' 'receive' 'reduce' 'remove' 'remove:' 'reply-to:none' 'reported' 'retention' 'reverses' 'rlvd' 'seen' 'sender:none' 'sexual' 'skin' 'skip:b 10' 'skip:r 10' 'skip:y 10' 'sleep' 'sleep,' 'store' 'subject: ' 'subject:? ' 'subject:Are' 'subject:getting' 'subject:myltrt' 'subject:there' 'subject:xrbisrdk' 'subject:years' 'subject:you' 'supply;' 'symptoms' 'take' 'the' 'thirty' 'this' 'tlc,' 'to:2**0' 'to:addr:lixi.net' 'to:addr:lojo' 'to:no real name:2**0' 'try' 'url:1hothgh' 'url:35' 'url:auto' 'url:com' 'url:gh' 'url:htm' 'url:ie' 'url:index' 'url:myluckystoreanywhere' 'url:www' 'utilizing' 'very' 'vision' "we'd" 'weight,' 'what' 'while' 'without' 'word' 'world' 'wound' 'wrinkles' 'x-mailer:internet mail service (5.5.2650.21)' 'xjzgiqa' 'year!' 'year!!' 'you' 'younger,' From tim.one at comcast.net Sat Jul 5 23:38:18 2003 From: tim.one at comcast.net (Tim Peters) Date: Sat Jul 5 22:39:25 2003 Subject: [Spambayes] possible new bug related to Outlook filters In-Reply-To: <004401c34343$603c9a00$6d01a8c0@Lyta> Message-ID: [Dan Thompson] > ... > So, just when is a message checked for Spam, before or after the > Outlook filters? I'm afraid only Microsoft could answer that one -- exactly when Outlook rules trigger doesn't appear to be documented, and in the early days I know I saw strong evidence that sometimes Outlook 2000 told spambayes about a msg when it first came into the inbox, then moved the message to a different folder *while* spambayes was scoring it. Sometimes Outlook doesn't tell spambayes about an incoming msg at all, although that only appears to happen when I'm running another CPU-intensive program at the same time. And sometimes Outlook appears to tell spambayes about a msg when it first arrives in the inbox, and again after an Outlook rule moves it. In short, Outlook doesn't appear to feed msgs to spambayes in a consistent order with respect to when its own rules subsytem runs (note that there's a narrow programmer interface into the Outlook rules subsystem, too narrow for the spambayes addin to use -- spambayes uses a different gimmick to find out about new messages; life would certainly be easier for everyone if Outlook supported adding a "run spambayes" rule to its rule subsystem). From mhammond at skippinet.com.au Sun Jul 6 18:42:04 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Sun Jul 6 03:42:20 2003 Subject: [Spambayes] Recover from spam button missing in v.003 In-Reply-To: <5F8B169E44CF3B4D8D099CF83FCD5CE30129359A@bebrmx06.merck.com> Message-ID: <065101c34392$18808d30$f501a8c0@eden> > v.002 stopped working for me, so I deinstalled and > reinstalled v.003. Works > fine, except that the 'recover from spam' button doesn't appear in the > toolbar. > > Any thoughts why this might be? I'm afraid not. Try deleting SpamBayes toolbar, or see the other toolbar hints in the troubleshooting guide. If that fails, please open a bug, attaching a log (also in the troubleshooting guide) Mark. From mhammond at skippinet.com.au Sun Jul 6 18:49:27 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Sun Jul 6 03:49:45 2003 Subject: "UnicodeDecodeError" problem in Czech setup (WAS: [Spambayes] Re: Spambayes Digest, Vol 59, Issue 9) In-Reply-To: <16135.4777.574295.719680@montanaro.dyndns.org> Message-ID: <065201c34393$209b5490$f501a8c0@eden> [Skip] > Erik> Let me know what kind of experiments I should run. > > I can think of a couple things you might try. First, if > execute the Python > interpreter from a DOS shell what is your default encoding (I suspect > ascii): > > import sys > print sys.getdefaultencoding() > > Second, I'd like to know what the arguments are to the ntpath.join() > function. The arguments should be the literal strings in the source, plus the result of: >>> from win32com.shell import shell, shellcon >>> shell.SHGetFolderPath(0,shellcon.CSIDL_APPDATA,0,0) u'E:\\Documents and Settings\\skip\\Application Data' >>> Which is unicode - so the extended characters "should" work. Note that Python 2.3 has grown support for Unicode filenames - hence I am quite keen to know why this is broken. Even though: The character with ordinal 0xed (an accented 'i') > is clearly not > an ASCII character, yet the error message suggests > ntpath.join is being > passed string objects not Unicode objects. In > Outlook2000/manager.py you > should see a bit of code at the start of LoadConfig like this: > > def LoadConfig(self): > profile_name = self.message_store.GetProfileName() > if profile_name is None: > # should only happen in source-code versions - > older win32alls can't > # determine this. > profile_name = "unknown_profile" > else: > # xxx - remove me sometime - win32all grew this > post 154(ish) > # binary never released with this, so we can be a > little more brutal > # Try and rename to current profile, silent failure > try: > os.rename(os.path.join(self.data_directory, > "unknown_profile.ini"), > os.path.join(self.data_directory, > profile_name + ".ini")) > except os.error: > pass > > One of those two os.path.join (aka ntpath.join on Windows) > calls is what's > failing. It would appear either your data directory or your > chosen profile > name contains an accented 'i'. One or both should be Unicode > objects, not > strings. If your system has filenames which contain > non-ASCII characters I > suspect your system's default encoding needs to be set properly in > c:\Python23\site.py. > > Skip From mhammond at skippinet.com.au Sun Jul 6 19:10:53 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Sun Jul 6 04:11:16 2003 Subject: "UnicodeDecodeError" problem in Czech setup (WAS: [Spambayes] Re: Spambayes Digest, Vol 59, Issue 9) Message-ID: <066201c34396$1f3e5540$f501a8c0@eden> [Damn - my bumble-fingers hit "Send"] I wrote: > The arguments should be the literal strings in the source, > plus the result of: > > >>> from win32com.shell import shell, shellcon > >>> shell.SHGetFolderPath(0,shellcon.CSIDL_APPDATA,0,0) > u'E:\\Documents and Settings\\skip\\Application Data' > >>> > > Which is unicode - so the extended characters "should" work. > > Note that Python 2.3 has grown support for Unicode filenames > - hence I am quite keen to know why this is broken. Even though: What I meant to say... :) On Windows 2000, there shouldn't be any Unicode->string encodings going on. ie: >>> os.path.join(unicode_filename, "whatever") should never try and convert the param to a string. eg, I tried this: >>> f=unicode("c:\\@test-\xe0\xf2", "latin-1") >>> os.path.join(f, "foo") u'c:\\@test-\xe0\xf2\\foo' which works fine, even though the filename can't be decoded using ascii: >>> str(os.path.join(f, "foo")) Traceback (most recent call last): File "", line 1, in ? UnicodeEncodeError: 'ascii' codec can't encode characters in position 9-10: ordinal not in range(128) >>> What I would like to see is, basically, a re-creation of the above Python snippets to narrow down what is going on... Thanks, Mark. From erik at sky.cz Sun Jul 6 15:18:04 2003 From: erik at sky.cz (Erik Piper) Date: Sun Jul 6 08:16:54 2003 Subject: [Spambayes] first experiments - "UnicodeDecodeError" problem in Czech setup In-Reply-To: Message-ID: Hello all, Well, these will be pretty faltering steps, but here goes... All experiments run on Windows 2000, with EN/US regional settings. For simplicity's sake, I'll stick to one machine from now on while examining this issue, and only test on the other (workplace) Win98SE machine if any solution we find doesn't work immediately there.. IMPORTANT NOTE: the behavior in Win2K is, as stated before, a bit different than in Win98SE. Here's my logfile from this morning: Error connecting to Outlook! Traceback (most recent call last): File "out1.pyz/addin", line 800, in OnConnection File "out1.pyz/manager", line 682, in GetManager File "out1.pyz/manager", line 229, in __init__ File "out1.pyz/manager", line 75, in import_core_spambayes_stuff File "out1.pyz/os", line 414, in __setitem__ UnicodeEncodeError: 'ascii' codec can't encode character '\ued' in position 52: ordinal not in range(128) ERROR: 'There was an error initializing the SpamBayes addin\r\n\r\nPlease re-start Outlook and try again.' Traceback (most recent call last): File "out1.pyz/addin", line 800, in OnConnection File "out1.pyz/manager", line 682, in GetManager File "out1.pyz/manager", line 229, in __init__ File "out1.pyz/manager", line 75, in import_core_spambayes_stuff File "out1.pyz/os", line 414, in __setitem__ UnicodeEncodeError: 'ascii' codec can't encode character '\ued' in position 52: ordinal not in range(128) ---------------- > First, if execute the Python interpreter from a DOS shell what is your default encoding (I suspect ascii): > import sys > print sys.getdefaultencoding() The result was "ascii". ----------------- > In Outlook2000/manager.py... I'm afraid you've confused me a bit here -- I only could find such a file named manager.py in the spambayes-1.0a3.zip package located on SourceForge. Installing version 003 didn't put it on my machine. Are you assuming that I'm running from that SourceForge package? If so, I'll need instructions on how to install from that. ------------------ [request for the following test] > >>> f=unicode("c:\\@test-\xe0\xf2", "latin-1") > >>> os.path.join(f, "foo") > u'c:\\@test-\xe0\xf2\\foo' Sorry, but I've never laid my fingers on python (and for all practical purposes haven't laid my fingers on ANY programming language) before, and I couldn't get the above to work in any useful way. The interpreter reacts like this: >>> f=unicode("c:\\@test-\xe0\xf2", "latin-1") >>> os.path.join(f, "foo") Traceback (most recent call last): File "", line 1, in ? NameError: name 'os' is not defined # I went on to try: >>> ntpath.join(f, "foo") Traceback (most recent call last): File "", line 1, in ? NameError: name 'ntpath' is not defined I'm an intelligent guy and I've been steeped in the computing environment (as a localization tester and a tech support guy) for years, and so hopefully I'll be able to figure out any instructions I'm given. However, don't take too much for granted regarding my knowledge. ----------------- Incidentally, in regard to Skip's note: > If your system has filenames which contain non-ASCII characters I suspect your system's default encoding needs to be set properly in c:\Python23\site.py ...there's no such file in my c:\Python23 folder. ---------------- As soon as I get some more clarifying information, I'll continue with the experiments. Erik From tupine at adelphia.net Sun Jul 6 10:11:37 2003 From: tupine at adelphia.net (Alex Tupine) Date: Sun Jul 6 12:12:09 2003 Subject: [Spambayes] Bugs in 03 release Message-ID: <000001c343d9$4791d650$e0c24444@ALEX> I downloaded and installed the 03 release. The enable filtering option is grayed out. I cannot delete as spam from my inbox. I get the message to enable SpamBayes. Also I am missing the "recover" button. From ericbr at oz.net Sun Jul 6 10:42:15 2003 From: ericbr at oz.net (Eric Brown) Date: Sun Jul 6 12:42:00 2003 Subject: [Spambayes] possible new bug related to Outlook filters In-Reply-To: Message-ID: <003201c343dd$8eef0b90$5264a8c0@ghidorah> Outlook 2000 has the 'perform custom action' action in its rulebase, and 2002 has 'run a script' action; unfortunately, I have no idea how to set up a custom action or script, so I don't know where to take it from there.... Eric -----Original Message----- From: spambayes-bounces@python.org [mailto:spambayes-bounces@python.org] On Behalf Of Tim Peters Sent: Saturday, July 05, 2003 7:38 PM To: Dan Thompson; spambayes@python.org Subject: RE: [Spambayes] possible new bug related to Outlook filters [Dan Thompson] > ... > So, just when is a message checked for Spam, before or after the > Outlook filters? I'm afraid only Microsoft could answer that one -- exactly when Outlook rules trigger doesn't appear to be documented, and in the early days I know I saw strong evidence that sometimes Outlook 2000 told spambayes about a msg when it first came into the inbox, then moved the message to a different folder *while* spambayes was scoring it. Sometimes Outlook doesn't tell spambayes about an incoming msg at all, although that only appears to happen when I'm running another CPU-intensive program at the same time. And sometimes Outlook appears to tell spambayes about a msg when it first arrives in the inbox, and again after an Outlook rule moves it. In short, Outlook doesn't appear to feed msgs to spambayes in a consistent order with respect to when its own rules subsytem runs (note that there's a narrow programmer interface into the Outlook rules subsystem, too narrow for the spambayes addin to use -- spambayes uses a different gimmick to find out about new messages; life would certainly be easier for everyone if Outlook supported adding a "run spambayes" rule to its rule subsystem). _______________________________________________ Spambayes mailing list Spambayes@python.org http://mail.python.org/mailman/listinfo/spambayes From tupine at adelphia.net Sun Jul 6 11:01:41 2003 From: tupine at adelphia.net (Alex Tupine) Date: Sun Jul 6 13:02:13 2003 Subject: [Spambayes] Bugs in 03 release #2 Message-ID: <000901c343e0$45ef6cc0$e0c24444@ALEX> Please disregard my earlier email which is attached. I found that my filter settings had changed when I installed version 03 from "move" to "untouched". When I changed the settings back, the I was enable to enable filtering and got my "recover from spam" option button back on my Outlook toolbar. -------------- next part -------------- An embedded message was scrubbed... From: "Alex Tupine" Subject: Bugs in 03 release Date: Sun, 6 Jul 2003 09:11:37 -0700 Size: 876 Url: http://mail.python.org/pipermail/spambayes/attachments/20030706/51100f94/attachment.eml From tim.one at comcast.net Sun Jul 6 14:19:29 2003 From: tim.one at comcast.net (Tim Peters) Date: Sun Jul 6 13:20:03 2003 Subject: [Spambayes] possible new bug related to Outlook filters In-Reply-To: <003201c343dd$8eef0b90$5264a8c0@ghidorah> Message-ID: [Eric Brown] > Outlook 2000 has the 'perform custom action' action in its rulebase, > and 2002 has 'run a script' action; unfortunately, I have no idea how > to set up a custom action or script, so I don't know where to take it > from there.... You can learn more about them here: http://www.slipstick.com/emo/1997/up970804.htm#custom Alas, they don't appear useful for spambayes's job. "run a script" conceivably could be, but process creation on Windows is an expensive operation, and you wouldn't be happy with the slowdown if a new process got created for every new msg you received. A rule based on the "selected properties of documents or forms" condition would be ideal -- except that doesn't allow a condition based on a custom property (i.e., the spam score property spambayes creates can't be used in a rule). From T.A.Meyer at massey.ac.nz Mon Jul 7 12:16:37 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Sun Jul 6 19:17:32 2003 Subject: [Spambayes] PLEASE HELP - THE PROGRAM IS CAUSING PROBLEMS TOOUTLOOK! Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F130237D269@its-xchg4.massey.ac.nz> > Every time I start-up MS Outlook, I get the following error message: > OUTLOOK.EXE - No Disk > There is no disk in the drive. Pleas insert a disk into > drive\Device\Harddisk1\DR2. Which version of the spambayes installer did you use? This sounds rather like a problem that the 002 version had. If you didn't use 003, please download that and install it - it should remove this problem. Otherwise, you ought to be able to stop the problem by simply uninstalling spambayes, or disabling the plugin in the Tools-Options-Advanced-COM Plugins dialog. If this is the case, please open a bug report as outlined in the troubleshooting guide, so that we can work on fixing this problem. =Tony Meyer From mhammond at skippinet.com.au Mon Jul 7 10:52:06 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Sun Jul 6 19:52:25 2003 Subject: [Spambayes] first experiments - "UnicodeDecodeError" problem inCzech setup In-Reply-To: Message-ID: <08ce01c34419$9c08f610$f501a8c0@eden> > Sorry, but I've never laid my fingers on python (and for all practical > purposes haven't laid my fingers on ANY programming language) > before, and I > couldn't get the above to work in any useful way. The > interpreter reacts > like this: Sorry about that - I should have been more clear. > >>> f=unicode("c:\\@test-\xe0\xf2", "latin-1") > >>> os.path.join(f, "foo") > Traceback (most recent call last): > File "", line 1, in ? > NameError: name 'os' is not defined Perform an "import os" before the above. > >>> ntpath.join(f, "foo") > Traceback (most recent call last): > File "", line 1, in ? > NameError: name 'ntpath' is not defined import ntpath should get that one working. Thanks, Mark. From T.A.Meyer at massey.ac.nz Mon Jul 7 13:45:40 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Sun Jul 6 20:46:21 2003 Subject: [Spambayes] SpamBayes-1.0a4 Released Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F130237D2EF@its-xchg4.massey.ac.nz> Hot on the heels of the 1.0a3 release comes Spambayes 1.0a4. This release fixes a couple of potentially serious bugs that were introduced in a3, as well as including various other improvements. Upgrading is recommended for all users. SpamBayes ========= The SpamBayes project (http://spambayes.org) is working on developing a Bayesian anti-spam filter, initially based on the work of Paul Graham. The major difference between this and other, similar projects is the emphasis on testing newer approaches to scoring messages. While most anti-spam projects are still working with the original graham algorithm, we found that a number of alternate methods yielded a more useful response. SpamBayes is implemented purely in Python. New in Alpha Release 4 ====================== Outlook Plug-in --------------- o Display a message for "Delete as Spam" or "Recover from Spam" when SpamBayes is not enabled. o The toolbar is now initialized when "Outlook Today" is the default view. POP3 Proxy ---------- o Fix a bug where long attachments would be broken. o If an exception occurs parsing a message, recover and append a new 'exception' header. (This will be added to other SpamBayes applications by the next release). o Stop including the trailing dot in messages. IMAP Filter ----------- o In imapfilter, try to append without flags if appending fails. o Fix the -i switch in imapfilter and an import error. o Don't try and get password from options if -p is specified in imapfilter. Developer --------- o Various changes/improvements to storage.py. Note that this includes a fix for a potentially serious bug introduced in a3 which could result in incorrect token counts. General ------- o The web interface (used by pop3proxy and imapfilter) now shows the correct date and time in the footer. o A new stripper to squash yet another way of hiding content in HTML spam, like Erections to hide Erections. Transition ========== Transition between release a3 and a4 should be seamless. Refer to the a3 release for information about transitioning between a2 and a4. Reported Bugs Fixed =================== The following bugs tracked via the Sourceforge system were fixed: 761677, 761670 A url containing the details of these bugs can be made by appending the bug number to this url: http://sourceforge.net/tracker/index.php?func=detail&group_id=61702&atid =498103&aid= Feature Requests Added ====================== The following feature request tracked via the Sourceforge system was added: 755098 A url containing the details of these feature requests can be made by appending the request number to this url: http://sourceforge.net/tracker/index.php?func=detail&group_id=61702&atid =498104&aid= From T.A.Meyer at massey.ac.nz Mon Jul 7 13:50:57 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Sun Jul 6 20:51:33 2003 Subject: [Spambayes] SpamBayes-1.0a4 Released Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F13024E909B@its-xchg4.massey.ac.nz> > o A new stripper to squash yet another way of hiding content in HTML > spam, > like Erections to hide > Erections. Is this how this came out for everyone? (i.e. without any html tags?) If so, stupid Outlook must have taken my plain text message and stripped the html tags for me...how considerate and annoying. (Why do programmers always think they know more than the user?) The "like Erections to hide Erections" bit should have some iframe tags around the first "Erections". =Tony Meyer From T.A.Meyer at massey.ac.nz Mon Jul 7 14:00:17 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Sun Jul 6 21:01:36 2003 Subject: [Spambayes] 1.0a3 and ^M Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F13024E90A5@its-xchg4.massey.ac.nz> > in CVS the ^M's are gone and sb does not fail to execute > anymore, The a4 release should fix this (the zip is there now, the tar.gz will be there shortly). > however, after rebuilding the spam database and > testing random mail I get a 0.5 classification on anything > (even my .emacs....) The most likely reasons for this are that either no training is being saved to the database, or that the correct database isn't being used for classification. If you look at the hammie.db file (or whatever you have called it), does it change after training? You can use the dbExpImp.py script to convert it to a text file and examine it, or just go by the size. Is this file definitely the one being passed to the classification script? (i.e. there isn't another (empty) db being created/passed?). Do you get any useful output if you set the [globals]verbose option to True? > It would be really neat with a simple self-test inside the > package - just a handful of spams and bogus hams for training > and verification. (or maybe similar functionality is already there?) Such tests exist for pop3proxy and the Outlook plugin, but AFAIK not for hammie/mboxtrain. If you would like them, then you can open up a feature request on the sf page (http://sf.net/projects/spambayes) and I'm sure someone will get to it sometime! =Tony Meyer From seant at iname.com Mon Jul 7 01:03:57 2003 From: seant at iname.com (Sean True) Date: Mon Jul 7 00:04:29 2003 Subject: [Spambayes] Customise - Freeze In-Reply-To: <000601c342df$d65d6110$0100a8c0@robotish> Message-ID: <000201c3443c$cabbaed0$0201a8c0@swapwizard.com> This is related to the addin using win32ui for dialog management. I think if you hit escape on the options/customize window you may get out if it, and if you don't bring up any SpamBayes dialogs, you should be fine. Our commercial derivative of this code (SpamAtBay) is still in beta, and therefore free if you would like to try it. It's largely free of this particular problem. -- Sean > -----Original Message----- > From: spambayes-bounces@python.org > [mailto:spambayes-bounces@python.org] On Behalf Of Dan > Sent: Saturday, July 05, 2003 6:26 AM > To: spambayes@python.org > Subject: [Spambayes] Customise - Freeze > > > I upgraded to Spam Bayes 0.3 today and have found that when I > go to options/customize outlook freezes..not in the normal > sense though, it continues checking mail and is apparently > working in the background (it doesn't stop responding as > such) but I am unable to change any options or click on the > tabs and have to force it to close and restart in order for > it to work. > > > > Dan > > _______________________________________________ > Spambayes mailing list > Spambayes@python.org http://mail.python.org/mailman/listinfo/spambayes > From tim.one at comcast.net Mon Jul 7 01:24:57 2003 From: tim.one at comcast.net (Tim Peters) Date: Mon Jul 7 00:25:33 2003 Subject: [Spambayes] SpamBayes-1.0a4 Released In-Reply-To: <1ED4ECF91CDED24C8D012BCF2B034F13024E909B@its-xchg4.massey.ac.nz> Message-ID: [Tony Meyer] >> o A new stripper to squash yet another way of hiding content in >> HTML spam, like Erections to hide >> Erections. > Is this how this came out for everyone? (i.e. without any html tags?) > > If so, stupid Outlook must have taken my plain text message and > stripped the html tags for me...how considerate and annoying. (Why do > programmers always think they know more than the user?) > > The "like Erections to hide Erections" bit should have some iframe > tags around the first "Erections". It came out that way for me, but I'm also using Outlook. I'll try it again here: like Erections to hide Erections From T.A.Meyer at massey.ac.nz Mon Jul 7 17:55:18 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Mon Jul 7 00:58:31 2003 Subject: [Spambayes] Release 1.0a4 clarification Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F13024E91E9@its-xchg4.massey.ac.nz> Two clarifying notes regarding the recent message about 1.0a4: 1. This is *not* a binary installer for the Outlook plug-in. This is the fourth pre-release of the SpamBayes source code. (It does, however, include the Outlook plug-in source, and the plug-in can be run from source). 2. I hadn't managed to update the spambayes website until an hour or so ago, so references to alpha3 were still visible. These should all be gone now. The file[1] is still listed on the sourceforge download site (although it may not have propagated to all the sourceforge mirrors yet). My apologies if the original message was unclear. =Tony Meyer [1] The zipped version is there now; the tar/gzipped version will arrive shortly. From wsadkin at nameconnector.com Mon Jul 7 09:39:09 2003 From: wsadkin at nameconnector.com (Will Sadkin) Date: Mon Jul 7 08:39:13 2003 Subject: [Spambayes] How to upgrade without losing my current database? Message-ID: <61957B071FF421419E567A28A45C7FE552F9C4@mailbox.nameconnector.com> To whom it may concern: I have been using Spambayes 1.0a2 with Outlook2000 for a while now, but noting that there was a new binary version available, I ran the installer, and discovered that it wanted to create a new directory, and places the database files in my profile, rather than in the Outlook plugin directory. But what is more at issue: the old database files, which were pickle files, have been replaced by a new apparently binary format. So my question: How do I recover my old database files into the new version, so I don't lose the training done to date? Respectfully, /Will Sadkin Parlance Corporation From skip at pobox.com Mon Jul 7 11:06:04 2003 From: skip at pobox.com (Skip Montanaro) Date: Mon Jul 7 11:06:19 2003 Subject: [Spambayes] first experiments - "UnicodeDecodeError" problem in Czech setup In-Reply-To: References: Message-ID: <16137.35932.374100.192853@montanaro.dyndns.org> >> In Outlook2000/manager.py... Erik> I'm afraid you've confused me a bit here -- I only could find such Erik> a file named manager.py in the spambayes-1.0a3.zip package located Erik> on SourceForge. Installing version 003 didn't put it on my Erik> machine. Are you assuming that I'm running from that SourceForge Erik> package? If so, I'll need instructions on how to install from Erik> that. I'm not sure about that. I was looking at a source tree. Things are apparently not installed the same way using the binary installer. Erik> Incidentally, in regard to Skip's note: >> If your system has filenames which contain non-ASCII characters I suspect Erik> your system's default encoding needs to be set properly in Erik> c:\Python23\site.py Erik> ...there's no such file in my c:\Python23 folder. Sorry, should have been c:\Python23\Lib\site.py Skip From mhammond at skippinet.com.au Tue Jul 8 01:59:59 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Mon Jul 7 11:23:35 2003 Subject: [Spambayes] How to upgrade without losing my current database? In-Reply-To: <61957B071FF421419E567A28A45C7FE552F9C4@mailbox.nameconnector.com> Message-ID: <011c01c3449b$b024fea0$f501a8c0@eden> > So my question: How do I recover my old database files into the new > version, so I don't lose the training done to date? I'm afraid you can't - you must either re-train, or stick with the source-code version (thereby sticking with pickles). Your old pickles should not have been deleted (but you may find that in reverting back, your configuration options are lost) Mark. From lists at webcrunchers.com Mon Jul 7 13:50:14 2003 From: lists at webcrunchers.com (John D.) Date: Mon Jul 7 15:50:58 2003 Subject: [Spambayes] mail.generator examples - anyone kknow where I can find them? Message-ID: Hi, I've been trying to understand the email.generator class. There are virtually NO examples showing how to "generate" an Email message. In the Email module: http://python.org/doc/current/lib/node397.html this URL has SOME examples, but no examples using "email.generator". Has anyone actually been able to figure out how to use it? I searched the web, and didn't come up with anything useful. Perhaps I'm using the wrong search keys. I've tried "message.generator examples" in all the search engines, and the 4 different search databases of Python, but (sigh) nothing. John From skip at pobox.com Mon Jul 7 15:56:46 2003 From: skip at pobox.com (Skip Montanaro) Date: Mon Jul 7 15:57:00 2003 Subject: [Spambayes] mail.generator examples - anyone kknow where I can find them? In-Reply-To: References: Message-ID: <16137.53374.3816.265404@montanaro.dyndns.org> python-list instead of python-dev would be a better place to post your request. John> I've been trying to understand the email.generator class. There John> are virtually NO examples showing how to "generate" an Email John> message. You might try poking around the Mailman 2.1 source code for examples: % find . -name '*.py' | xargs egrep -i generator ./admin/www/MMGenerator.py:"""Generator for the Mailman on-line documentation. ./admin/www/MMGenerator.py:class MMGenerator(Skeleton, Sidebar, Banner): ./Mailman/Handlers/Scrubber.py:from email.Generator import Generator ./Mailman/Handlers/Scrubber.py:# We're using a subclass of the standard Generator because we want to suppress ./Mailman/Handlers/Scrubber.py:# sub-Generators will get created passing only mangle_from_ and maxheaderlen ./Mailman/Handlers/Scrubber.py:class ScrubberGenerator(Generator): ./Mailman/Handlers/Scrubber.py: Generator.__init__(self, outfp, mangle_from_=0) ./Mailman/Handlers/Scrubber.py: Generator._write_headers(self, msg) ./Mailman/Handlers/ToDigest.py:from email.Generator import Generator ./Mailman/Handlers/ToDigest.py: g = Generator(mboxfp) ./Mailman/Handlers/ToDigest.py: g = Generator(plainmsg) ./Mailman/ListAdmin.py:from email.Generator import Generator ./Mailman/ListAdmin.py: g = Generator(fp) ./Mailman/ListAdmin.py: g = Generator(outfp) ./Mailman/Mailbox.py:from email.Generator import Generator ./Mailman/Mailbox.py: # Create a Generator instance to write the message to the file ./Mailman/Mailbox.py: g = Generator(self.fp) Skip From alex at strasheim.org Mon Jul 7 16:36:48 2003 From: alex at strasheim.org (Alex Strasheim) Date: Mon Jul 7 16:37:09 2003 Subject: [Spambayes] moving outlook plugin training to another machine Message-ID: I use the outlook plugin, and I like it a lot. Is it possible for me to move the data files that have been built up from one machine to another? I haven't kept my spam, so I can't export the folder and use that for training. Thanks... From aaron at cox.net Mon Jul 7 14:57:33 2003 From: aaron at cox.net (AW) Date: Mon Jul 7 16:57:57 2003 Subject: [Spambayes] Spambayes Ver 003 Message-ID: <000001c344ca$639900c0$6500a8c0@AWexpress> WindowsXP OfficeXP Spambayes 003 (binary ver 003) I just upgraded from Spambayes version 002 to version 003. Following directions, I first uninstalled version 002. Version 003 seems to have installed, registered and loaded properly. However there are some peculiarities - not sure whether they are bugs, user-error, or? 1. Whereas in version 002, the Spambayes buttons appeared to the right of Outlook's Advanced Toolbar, they now consume their own toolbar... that's a waste of space. 2. When I attempt to use the 'Delete As Spam' or 'Recover From Spam' buttons, I receive a msg to the effect that I must 'Enable Spambayes'??? The appropriate folders are defined so I don't understand the meaning of the message! -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 1876 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030707/f8ae9344/winmail.bin From T.A.Meyer at massey.ac.nz Tue Jul 8 12:26:07 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Mon Jul 7 19:26:48 2003 Subject: [Spambayes] Spambayes Ver 003 Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F13024E9345@its-xchg4.massey.ac.nz> > 1. Whereas in version 002, the Spambayes buttons appeared > to the right of Outlook's Advanced Toolbar, they now consume > their own toolbar... that's a waste of space. The difference in space is pretty minute - the little down triangle and the vertical line starting the toolbar are about the only things that make it bigger. In exchange, having our own toolbar solves a lot of problems (see the bug reports for details), as well as making more sense. > 2. When I attempt to use the 'Delete As Spam' or > 'Recover From Spam' buttons, I receive a msg to the > effect that I must 'Enable Spambayes'??? The > appropriate folders are defined so I don't understand > the meaning of the message! Do you have the "enable filtering" checkbox ticked in the SpamBayes manager dialog? =Tony Meyer From T.A.Meyer at massey.ac.nz Tue Jul 8 12:30:16 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Mon Jul 7 19:30:57 2003 Subject: [Spambayes] How to upgrade without losing my current database? Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F13024E934C@its-xchg4.massey.ac.nz> > > So my question: How do I recover my old database files > > into the new > > version, so I don't lose the training done to date? > > I'm afraid you can't - you must either re-train, or stick > with the source-code version (thereby sticking with pickles). > Your old pickles should not have been deleted (but you may > find that in reverting back, your configuration options are lost) Are there any other people in this situation? (moving from pickles to db?) It doesn't seem like patching dbExpImp.py to work with Outlook databases as well (or creating a new Outlook version) would be all that difficult, and that would allow this sort of thing. If there were a number of people that wanted it, I would put this together. Mark, I presume that simply converting the 'bayes' database would not be enough? i.e. the message database is also necessary? =Tony Meyer From T.A.Meyer at massey.ac.nz Tue Jul 8 12:33:12 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Mon Jul 7 19:34:33 2003 Subject: [Spambayes] moving outlook plugin training to another machine Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F13024E9355@its-xchg4.massey.ac.nz> > I use the outlook plugin, and I like it a lot. Good! :) > Is it possible for me to move the data files that have been > built up from one machine to another? I haven't kept my > spam, so I can't export the folder and use that for training. Yes, you should be able to do this. (The FAQ has an explanation of where the files are, if you don't know - Q3.6). =Tony Meyer From erik at sky.cz Tue Jul 8 04:55:58 2003 From: erik at sky.cz (Erik Piper) Date: Mon Jul 7 21:54:54 2003 Subject: [Spambayes] "UnicodeDecodeError" in Czech setup - first experiments, post-Python-baby-steps results In-Reply-To: Message-ID: Mark> eg, I tried this: [1] Mark> >>> f=unicode("c:\\@test-\xe0\xf2", "latin-1") Mark> >>> os.path.join(f, "foo") Mark> u'c:\\@test-\xe0\xf2\\foo' Mark> which works fine, even though the filename can't be decoded using ascii: [2] Mark> >>> str(os.path.join(f, "foo")) Mark> Traceback (most recent call last): Mark> File "", line 1, in ? Mark> UnicodeEncodeError: 'ascii' codec can't encode characters in position 9-10: Mark> ordinal not in range(128) Mark> >>> Mark> What I would like to see is, basically, a re-creation of the above Python Mark> snippets to narrow down what is going on... [1]: >>> import os >>> f=unicode("c:\\@test-\xe0\xf2", "latin-1") >>> os.path.join(f, "foo") u'c:\\@test-\xe0\xf2\\foo' [2]: >>> str(os.path.join(f, "foo")) Traceback (most recent call last): File "", line 1, in -toplevel- str(os.path.join(f, "foo")) UnicodeEncodeError: 'ascii' codec can't encode characters in position 9-10: ordinal not in range(128) Tried importing ntpath and testing it too, since there was mention of it... behavior identical. FWIW all done in IDLE this time (was using the command line before). --- Skip> It would appear either your data directory or your chosen profile name contains an accented 'i'. A bit of repetition for clarity's sake here: Yes. The Application Data folder is called "Data aplikaci" in Czech. Skip> >> If your system has filenames which contain non-ASCII characters I suspect Skip> Erik> your system's default encoding needs to be set properly in Skip> Erik> c:\Python23\site.py OK, found this, now that I have Python installed. Pardon the dumb question, but... how is this relevant, and how does this work, when I'm running from the binary? In any case, oookayyy: encoding = please_tell_me_what_is_meant_by_Setting_Properly_thanks # Default value set by _PyUnicode_Init() Just to avoid silly questions in the future, you might want to explain to me what happens when the SpamBayes outlook addin binary is installed. Does the binary contain python code somehow compiled down to low-level code and ridded of the need for the interpreter, libraries, etc.? (Or rather, I suppose, not ridded of the need for them, but solving the need for them by compiling them to low-level code, too...) -------- One last question: Am I right to assume that \ued is the same as 0xed, since nobody is batting an eyebrow at these differing bits in the W98SE log (0xed) and W2K log (\ued)? -------- Looking forward to the next set of experiments (and above all to seeing the fabled SpamBayes buttons on my toolbars), and with apologies for all these beginner's questions. Erik From mhammond at skippinet.com.au Tue Jul 8 13:04:51 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Mon Jul 7 22:05:11 2003 Subject: [Spambayes] "UnicodeDecodeError" in Czech setup - first experiments, post-Python-baby-steps results In-Reply-To: Message-ID: <003501c344f5$521dd930$f501a8c0@eden> Erik: > > [1]: > >>> import os > >>> f=unicode("c:\\@test-\xe0\xf2", "latin-1") > >>> os.path.join(f, "foo") > u'c:\\@test-\xe0\xf2\\foo' > > [2]: > >>> str(os.path.join(f, "foo")) > Traceback (most recent call last): > File "", line 1, in -toplevel- > str(os.path.join(f, "foo")) > UnicodeEncodeError: 'ascii' codec can't encode characters in > position 9-10: > ordinal not in range(128) So this is exactly what I saw :( Can you please try the following: >>> from win32com.shell import shell, shellcon >>> d=shell.SHGetFolderPath(0,shellcon.CSIDL_APPDATA,0,0) >>> import os >>> f=os.path.join(d, "SpamBayes") >>> f u'E:\\Documents and Settings\\skip\\Application Data\\SpamBayes' I expect you will get similar results to me - except that will stump me, as it will not help explain why you are seeing the failuer in the binary :( Our next step would be to use this Python version to run from source-code, and see if we get the error there. I am starting to suspect something in the "installer" package I used to create the binary. > Tried importing ntpath and testing it too, since there was mention of it... That was misleading on my part, and just a side-effect of the way I was testing. os.path *is* ntpath (on Windows) so you almost never will see ntpath used directly. Mark. From Peter.Houppermans at paconsulting.com Tue Jul 8 11:34:40 2003 From: Peter.Houppermans at paconsulting.com (Peter Houppermans) Date: Tue Jul 8 05:35:16 2003 Subject: [Spambayes] Combining SpamBayes with SPEWS (and similar) resources? Message-ID: <3BB26977D1FB7E4F9E21092BE51D1D5C263AA1@lonmbx102.paconsulting.com> Obviously only possible with POP3/IMAP based email, but I was wondering if there was any value in adding SPEWS and similar blacklists support to SpamBayes. I have noticed a HUGE, DRAMATIC (etc, you get the idea ;-) reduction in spam after I started to use SpamBayes so I'm quite happy with the way it currently works - I was just wondering if there was any benefit in adding the above. Of the 30+ spams I get daily there's maybe the odd one or two that SpamBayes misses - I can cope with that, especially as it has yet to file a false "definite spam" positive after a week of training ;-). Thanks for a great program! Regards, /// Peter /// Peter Houppermans [private email, not company opinion] From john.abel at pa.press.net Tue Jul 8 11:39:11 2003 From: john.abel at pa.press.net (John Abel) Date: Tue Jul 8 05:40:30 2003 Subject: [Spambayes] bsddb Errors In Headers Message-ID: <3F0A913F.7010206@pa.press.net> Since I updated to the latest CVS version, I've been getting the following error messages in the mail headers: Exception bsddb._db.DBRunRecoveryError: (-30982, 'DB_RUNRECOVERY: Fatal error, run database recovery -- fatal region error detected; run recovery') in ignored Exception bsddb._db.DBRunRecoveryError: (-30982, 'DB_RUNRECOVERY: Fatal error, run database recovery -- fatal region error detected; run recovery') in > ignored I've tried rebuilding my hammie.db, by using the dbExpIm, but the errors are still occuring. I'm using POP3Proxy, with Py2.3b2 on Suse8.2 Regards John From niek at bergboer.net Tue Jul 8 12:47:22 2003 From: niek at bergboer.net (Niek Bergboer) Date: Tue Jul 8 05:42:29 2003 Subject: [Spambayes] Priming SpamBayes Message-ID: <20030708094722.GH10918@haunter.student.utwente.nl> Is it possible to prime, or bias, SpamBayes such that it attaches a greater weight to some tokens than to others? Case in point is the following: my university places SpamAssassin headers in all incoming mail which, most of the time, are pretty good indicators of whether something is spam. I would like spambayes to pay a lot of attention to that and use the other tokens as "fine-tuning". Is this possible? I've attached a false negative that, had spambayes payed more attention to the SpamAssassin headers, would surely have been classified as spam. Regards, Niek -- "Those who dream by day are cognizant of many things which escape those who dream only by night." Edgar Allan Poe -------------- next part -------------- >From rachelrain@aol.com Tue Jul 08 11:40:57 2003 Received: from netlx014.civ.utwente.nl ([130.89.1.88]) by haunter.student.utwente.nl with esmtp (Exim 3.35 #1 (Debian)) id 19Zoy1-0004tN-00 for ; Tue, 08 Jul 2003 11:40:57 +0200 Received: from mx.mailix.net ([216.148.221.135]) by netlx014.civ.utwente.nl (8.11.4/HKD) with ESMTP id h689Zxi29532 for ; Tue, 8 Jul 2003 11:35:59 +0200 Received: from [63.205.41.223] (helo=216.148.221.135) by mx.mailix.net with smtp (Exim 3.33 #1) id 19ZosY-0002bN-00 for niek@bergboer.net; Tue, 08 Jul 2003 02:35:18 -0700 Message-ID: From: "*rachel*" To: niek@bergboer.net X-MS-GYN: AFGLMUSNXQ Date: Tue, 08 Jul 03 02:34:54 Pacific Daylight Time X-Priority: 1 X-MSMail-Priority: High Subject: 19;/F on cam...; wanna watch me? X-Mailer: Microsoft Outlook Express 5.50.4133.2400 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary=WC_MAIL_PaRt_BoUnDaRy_05151998 X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-SpamCheck: spam, RFC-IGNORANT-POSTMASTER, SpamAssassin (score=6.9, required 5, CLICK_BELOW, CLICK_HERE_LINK, DATE_IN_PAST_06_12, HTML_FONT_COLOR_MAGENTA, HTML_FONT_COLOR_NAME, HTML_FONT_FACE_CAPS, INVALID_DATE, MIME_HTML_NO_CHARSET, MISSING_MIMEOLE, SPAM_PHRASE_13_21, USER_AGENT_OE, X_MSMAIL_PRIORITY_HIGH, X_PRIORITY_HIGH) X-UTwente-MailScanner-SpamScore: ssssss X-Spambayes-Classification: unsure; 0.56 Status: RO Content-Length: 1309 Lines: 37 This is a multi-part message in MIME format. --WC_MAIL_PaRt_BoUnDaRy_05151998 Content-Type: text/html Content-Transfer-Encoding: 7Bit Hi... I saw you in the room. My IMs are off cause I get too many stupid kids, if you want to watch my web cam click here :-)

I'll be on for 2 or 3 hours. It gets me really wet to masturbate in front of someone. You don't need a cam to watch me... Just watch/chat from your screen. Talk to you soon! click here and I'll make you cum hard! ;-)

P.S: Don't worry, you won't need your wallet ;-) and if those links didn't work you can try www.absolutefree.info/rachel




Remember: You asked me to put you on my mailing list!
Either you or someone on your account subsribed to my mailings! If you do not recall doing so then I highly suggest that you change your password immediately and/or purchase and run some quality anti-virus software as soon as possible! I do apologize for this inconvenience! Will you forgive me? ::muah:: --WC_MAIL_PaRt_BoUnDaRy_05151998-- From mhammond at skippinet.com.au Tue Jul 8 21:28:34 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Tue Jul 8 06:28:48 2003 Subject: [Spambayes] Combining SpamBayes with SPEWS (and similar) resources? In-Reply-To: <3BB26977D1FB7E4F9E21092BE51D1D5C263AA1@lonmbx102.paconsulting.com> Message-ID: <010c01c3453b$afd05940$f501a8c0@eden> > Obviously only possible with POP3/IMAP based email, but I was > wondering if there was any value in adding SPEWS and similar > blacklists support to SpamBayes. Not from what you said below > I have noticed a HUGE, DRAMATIC (etc, you get the idea ;-) > reduction in spam > after I started to use SpamBayes so I'm quite happy with the way it > currently works Me too (except for virus and "fake" bounce notifications - but I use a similar tool to deal with them) > - I was just wondering if there was any > benefit in adding > the above. Of the 30+ spams I get daily there's maybe the > odd one or two > that SpamBayes misses - I can cope with that, especially as > it has yet to > file a false "definite spam" positive after a week of training ;-). >From most of the developers POV, you answered your own question. It works well enough that we don't need the overhead of additional features not related to the orignal project. Maybe what the world needs is a generic "mail filter" system that somehow knows to tie all of these "indicators" together (see, eg, the request for similar SpamAssasin integration), and knows what to do - but I don't think SpamBayes wants to become such a system. But-it-could-be-an-offshoot ly, Mark. From Peter.Houppermans at paconsulting.com Tue Jul 8 13:25:19 2003 From: Peter.Houppermans at paconsulting.com (Peter Houppermans) Date: Tue Jul 8 07:25:55 2003 Subject: [Spambayes] Combining SpamBayes with SPEWS (and similar) reso urces? Message-ID: <3BB26977D1FB7E4F9E21092BE51D1D5C01AF50@lonmbx102.paconsulting.com> Ah, but you've hit the core of the problem here. I'm sure I'm going to state the bleedin' obvious here, bear with me. Maybe it could move into the FAQ ;-). Just yell if you disagree ;-). === start === Q: why don't you put blacklist facilities in SpamBayes? A: This is really a server side responsibility. SpamBayes is a CONTENT filter, in other words, it looks at what is *inside* an email. Blacklisting, DNS based spam handling like rejecting mail without valid origin or from a known spam source is really the job of the mail server - in an ideal situation such mail should have been rejected before it got to you as it deals with the *outside* of an email, the delivery framework. Applying content based filtering at server side is complex as everyone's feeling about content differes - this is why it is a client end role that tools like SpamBayes fulfill. Although I'd doubt anyone could handle more than one or two body enhancements before needing made to measure tailoring , it's an end user decision. So, in summary, SpamBayes is a client, content based solution. === end === Thanks for helping me to sort this one out in my head ;-) -----Original Message----- From: Mark Hammond [mailto:mhammond@skippinet.com.au] Sent: 08 July 2003 11:29 To: Peter Houppermans; SpamBayes@python.org Subject: RE: [Spambayes] Combining SpamBayes with SPEWS (and similar) resources? > Obviously only possible with POP3/IMAP based email, but I was > wondering if there was any value in adding SPEWS and similar > blacklists support to SpamBayes. Not from what you said below > I have noticed a HUGE, DRAMATIC (etc, you get the idea ;-) > reduction in spam > after I started to use SpamBayes so I'm quite happy with the way it > currently works Me too (except for virus and "fake" bounce notifications - but I use a similar tool to deal with them) > - I was just wondering if there was any > benefit in adding > the above. Of the 30+ spams I get daily there's maybe the > odd one or two > that SpamBayes misses - I can cope with that, especially as > it has yet to > file a false "definite spam" positive after a week of training ;-). >From most of the developers POV, you answered your own question. It works well enough that we don't need the overhead of additional features not related to the orignal project. Maybe what the world needs is a generic "mail filter" system that somehow knows to tie all of these "indicators" together (see, eg, the request for similar SpamAssasin integration), and knows what to do - but I don't think SpamBayes wants to become such a system. But-it-could-be-an-offshoot ly, Mark. From anthony at interlink.com.au Tue Jul 8 23:08:22 2003 From: anthony at interlink.com.au (Anthony Baxter) Date: Tue Jul 8 08:08:44 2003 Subject: [Spambayes] Priming SpamBayes In-Reply-To: <20030708094722.GH10918@haunter.student.utwente.nl> Message-ID: <200307081208.h68C8MJT001394@localhost.localdomain> >>> Niek Bergboer wrote > Is it possible to prime, or bias, SpamBayes such that it attaches a > greater weight to some tokens than to others? Case in point is the > following: my university places SpamAssassin headers in all incoming > mail which, most of the time, are pretty good indicators of whether > something is spam. I would like spambayes to pay a lot of attention to > that and use the other tokens as "fine-tuning". > > Is this possible? > > I've attached a false negative that, had spambayes payed more attention > to the SpamAssassin headers, would surely have been classified as spam. You could train repeatedly on messages that exhibit the traits you want to see. I actually see the reverse - one of my sources of email has SA on the server side, and because it's 95% accurate, SB tends to like the clues from it. Unfortunately for the 5% SA gets wrong, SB foolishly trusts the SA headers. In earlier times, many of the original coders and testers got email via python.org - this machine had a very strong multi- layered anti-spam approach, so the result was that indications that the email went through python.org became a very strong ham clue. When spam did sneak past Greg's virtual attack-dogs and bear-traps, SB would mark it more hammy than it really was. In my local setup, I ignore SA headers, and have stuff in place to reverse the damage SA does to try and defang spam messages. In this case, getting it "mostly right" is worse for me than not being there... Anthony -- Anthony Baxter It's never too late to have a happy childhood. From draconus at bigpond.com Tue Jul 8 22:28:25 2003 From: draconus at bigpond.com (Mal Thomas) Date: Tue Jul 8 09:29:03 2003 Subject: [Spambayes] SpamBayes Message-ID: <000101c34554$d01ae9e0$4a6428cb@dadspc> Hello there, Is there a mailing list to keep up to date with the development of this project ?? Really interested to follow the progress. Just installed it on my XP Pro/Office XP system. F***ing brilliant ! Only trained it so far with less than 600 messages but am having really good results. So much so I have removed all my hard coded anti-spam Outlook Message Rules. I (like all of 'net-dom) was fighting a losing battle for years trying to use hardcoded Outlook filters for controlling spam. It was obvious something smarter was required. Looks like this is what we have all been waiting for. Good luck with the project, I wish you the utmost success. Cheers Mal Perth Western Australia. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.491 / Virus Database: 290 - Release Date: 18/06/2003 From skip at pobox.com Tue Jul 8 09:50:54 2003 From: skip at pobox.com (Skip Montanaro) Date: Tue Jul 8 09:51:08 2003 Subject: [Spambayes] SpamBayes In-Reply-To: <000101c34554$d01ae9e0$4a6428cb@dadspc> References: <000101c34554$d01ae9e0$4a6428cb@dadspc> Message-ID: <16138.52286.277636.95854@montanaro.dyndns.org> Mal> Is there a mailing list to keep up to date with the development of Mal> this project ?? Really interested to follow the progress. Just Mal> installed it on my XP Pro/Office XP system. Yes, there are three lists: spambayes@python.org spambayes-dev@python.org spambayes-announce@python.org You can subscribe to any of them: http://mail.python.org/mailman/listinfo/spambayes http://mail.python.org/mailman/listinfo/spambayes-dev http://mail.python.org/mailman/listinfo/spambayes-announce Skip From anthony at interlink.com.au Wed Jul 9 01:13:52 2003 From: anthony at interlink.com.au (Anthony Baxter) Date: Tue Jul 8 10:14:14 2003 Subject: [Spambayes] SpamBayes In-Reply-To: <16138.52286.277636.95854@montanaro.dyndns.org> Message-ID: <200307081413.h68EDqrL017304@localhost.localdomain> >>> Skip Montanaro wrote > > Mal> Is there a mailing list to keep up to date with the development of > Mal> this project ?? Really interested to follow the progress. Just > Mal> installed it on my XP Pro/Office XP system. > > Yes, there are three lists: > > spambayes@python.org > spambayes-dev@python.org > spambayes-announce@python.org "Five Sir!" spambayes-checkins@python.org spambayes-bugs@python.org These are all listed under "mailing lists" on the front page of http://spambayes.sf.net (along with a short description of each one). Hm. Should probably move that lot to a new page for the mailing lists.... Anthony -- Anthony Baxter It's never too late to have a happy childhood. From skip at pobox.com Tue Jul 8 13:19:43 2003 From: skip at pobox.com (Skip Montanaro) Date: Tue Jul 8 13:20:49 2003 Subject: [Spambayes] "UnicodeDecodeError" in Czech setup - first experiments, post-Python-baby-steps results In-Reply-To: References: Message-ID: <16138.64815.951795.873917@montanaro.dyndns.org> Erik> In any case, oookayyy: Erik> encoding = please_tell_me_what_is_meant_by_Setting_Properly_thanks # Default Try something like encoding = 'iso-8859-1' though I suspect that's not quite right for someone writing from the .cz top-level domain. Erik> Just to avoid silly questions in the future, you might want to Erik> explain to me what happens when the SpamBayes outlook addin binary Erik> is installed. That, I'm afraid, will have to come from someone else. Skip From DLChad at aol.com Tue Jul 8 15:17:53 2003 From: DLChad at aol.com (DLChad@aol.com) Date: Tue Jul 8 14:18:30 2003 Subject: [Spambayes] Blueprints magazine story on SPAM Message-ID: <104.323907d8.2c3c64d1@aol.com> Greetings, My name is Dara Chadwick and I am a freelance writer who has been assigned to write a story on how government and private businesses are addressing UCE or SPAM. The story will run in Blueprints magazine, a quarterly publication for produce growers and produce transportation companies (www.bluebookprco.com). I am looking for someone at SpamBayes who might be willing to be quoted as a source in my story. The piece will be a general overview covering what SPAM is, how it has affected worker productivity, what government is doing to decrease SPAM and what Internet users can do to reduce the amount of SPAM they receive. I'll also be writing a sidebar on software solutions that exist to help decrease SPAM. Specifically, I'm looking for someone in your organization to answer the following questions: 1. Tell me about your software solution, how it works and what it does. 2. What are the system requirements and costs for your solution? 3. Who is the typical user of your solution? (e.g. what size of business, how much email does that account typically receive, etc.) 4. Can you suggest any practical ways that a user might reduce the amount of SPAM that they get in their inbox? 5. Is there anything else you'd like to tell me about SPAM and/or how to combat it? If you're interested in taking part in this story, please have someone email me or call me at (401) 231-9389 as soon as possible so that we can set up a time to speak. I'm about a week away from my deadline, so I'll need to move as quickly as possible on this. Thanks in advance for your help and for any information you can provide. Best, Dara Chadwick Blueprints magazine From srengasamy at firstam.com Tue Jul 8 15:29:57 2003 From: srengasamy at firstam.com (srengasamy@firstam.com) Date: Tue Jul 8 15:30:36 2003 Subject: [Spambayes] SpamBayes Outlook Addin under CodeWeaver's Crossover Message-ID: I was able to install the Addin software and it is visible as a COM Plugin. Also log file is getting updated. But I am not able to get the Sppambayes Toolbar. Is anybody using SpamBayes Outlook Addin under CodeWeaver's Crossover. Thanks, Samy Rengsamy. <> <> -------------- next part -------------- A non-text attachment was scrubbed... Name: spambayes1.log Type: application/octet-stream Size: 1299 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030708/cb28e230/spambayes1.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: spambayes2.log Type: application/octet-stream Size: 92 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030708/cb28e230/spambayes2.obj From hwilkins at harrahs.com Tue Jul 8 17:04:35 2003 From: hwilkins at harrahs.com (Bobby Wilkins) Date: Tue Jul 8 17:05:13 2003 Subject: [Spambayes] export training? Message-ID: Is there a way to export training? I have a fairly well trained installation that I'd like to replicate without having to re-train... Thanks for any help, Bobby Wilkins From skip at pobox.com Tue Jul 8 17:06:43 2003 From: skip at pobox.com (Skip Montanaro) Date: Tue Jul 8 17:07:55 2003 Subject: [Spambayes] Blueprints magazine story on SPAM In-Reply-To: <104.323907d8.2c3c64d1@aol.com> References: <104.323907d8.2c3c64d1@aol.com> Message-ID: <16139.12899.790954.450214@montanaro.dyndns.org> Dara> I am looking for someone at SpamBayes who might be willing to be Dara> quoted as a source in my story. The piece will be a general Dara> overview covering what SPAM is, how it has affected worker Dara> productivity, what government is doing to decrease SPAM and what Dara> Internet users can do to reduce the amount of SPAM they Dara> receive. I'll also be writing a sidebar on software solutions that Dara> exist to help decrease SPAM. Dara, I'm sure there are people who might be willing to be quoted in your story, however it seems from your email that you are under the impression that SpamBayes is a company of some sort. Spambayes is an open source software project. The developers are literally scattered all over the globe. Very briefly: Dara> 1. Tell me about your software solution, how it works and what it Dara> does. Given a pile of good email (ham) and a pile of bad email (spam) Spambayes notes how many times each clue (basically a word) occurs in ham or spam. It then uses the accumulated counts it's gathered from its training messages to classify messages it hasn't previously seen. Each message it's presented with is given a score between 0 and 1 and a one-word rating: "ham", "unsure" or "spam". (That is a very rough description. You'll probably find something more coherent at .) Because there are many different ways people read email, several different ways of using Spambayes have been developed. Undoubtedly the most popular way to use it so far is via the Outlook plugin. Dara> 2. What are the system requirements and costs for your solution? Spambayes will run anywhere Python will run. It's free. Dara> 3. Who is the typical user of your solution? (e.g. what size of Dara> business, how much email does that account typically receive, Dara> etc.) I'm not sure Spambayes has a "typical" user. We're more-or-less just a bunch of geeks trying to stem the flow of spam to our own inboxes. Spambayes is probably not widely enough available yet to have really reached a large number of "average Internet users". Most of the Spambayes developers probably get far more email (and thus more spam) than average. Dara> 4. Can you suggest any practical ways that a user might reduce the Dara> amount of SPAM that they get in their inbox? I find that running Spambayes helps. ;-) Seriously, I've tried a number of different things in the past. Spambayes is the first spam filter that's made me stop looking for a better solution. Dara> 5. Is there anything else you'd like to tell me about SPAM and/or Dara> how to combat it? * Don't bother trying to "hide" your email address. It doesn't work. * Don't bother trying to create your own spam filters. They don't work. * Don't bother trying to create "whitelists" or "blacklists". They don't work. Dara> If you're interested in taking part in this story, please have Dara> someone email me or call me at (401) 231-9389 as soon as possible Dara> so that we can set up a time to speak. I'm about a week away from Dara> my deadline, so I'll need to move as quickly as possible on this. Dara> Thanks in advance for your help and for any information you can Dara> provide. You're welcome. -- Skip Montanaro Got gigs? http://www.musi-cal.com/ Got spam? http://spambayes.sf.net/ From hwilkins at harrahs.com Tue Jul 8 17:20:14 2003 From: hwilkins at harrahs.com (Bobby Wilkins) Date: Tue Jul 8 17:20:48 2003 Subject: [Spambayes] RE: export training? Message-ID: OK, perhpas that was worded poorly. I know I can copy the files, etc. However, could I configure one PC as my "master" training location, and point my other PCs to that same file location (via UNC if possible) so that I do not have to worry about which PC has the best training, and/or copying updated databases back and forth? Thanks for any help, Bobby > -----Original Message----- > From: Bobby Wilkins > Sent: Tuesday, July 08, 2003 4:05 PM > To: 'spambayes@python.org' > Subject: export training? > > Is there a way to export training? I have a fairly well trained installation that I'd like to replicate without having to re-train... > > Thanks for any help, > Bobby Wilkins > From virus.messages at quest.com Tue Jul 8 16:18:36 2003 From: virus.messages at quest.com (virus.messages@quest.com) Date: Tue Jul 8 18:15:15 2003 Subject: [Spambayes] InterScan NT Alert Message-ID: We have detected virus(es) in an E-mail attachment you sent to us. Date: Tue, 08 Jul 2003 15:18:36 -0700 Method: Mail From: To: File: your_details.zip Action: clean failed - deleted Virus: WORM_SOBIG.E From T.A.Meyer at massey.ac.nz Wed Jul 9 13:36:32 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Tue Jul 8 20:37:17 2003 Subject: [Spambayes] RE: export training? Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F13024E96AB@its-xchg4.massey.ac.nz> > However, could I configure one PC as my "master" training > location, and point my other PCs to that same file location > (via UNC if possible) so that I do not have to worry about > which PC has the best training, and/or copying updated > databases back and forth? Which application are you using? I don't see any reason why this wouldn't work, unless you are using the Outlook plugin. (The plugin looks for the files in a specific place). If it is the plugin, you could open a feature request (http://sf.net/projects/spambayes) and Mark might add this (it has been discussed before, although I don't think there is an open feature request yet). =Tony Meyer From T.A.Meyer at massey.ac.nz Wed Jul 9 13:40:14 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Tue Jul 8 20:40:54 2003 Subject: [Spambayes] Combining SpamBayes with SPEWS (and similar) resources? Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F13024E96B2@its-xchg4.massey.ac.nz> > Ah, but you've hit the core of the problem here. I'm sure > I'm going to state the bleedin' obvious here, bear with me. > Maybe it could move into the FAQ ;-). Just yell if you disagree ;-). Q5.6: Why don't you add whitelisting/blacklisting to SpamBayes? Different reasons that the one you gave, but still an answer... :) =Tony Meyer From T.A.Meyer at massey.ac.nz Wed Jul 9 13:41:58 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Tue Jul 8 20:43:26 2003 Subject: [Spambayes] SpamBayes Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F13024E96B5@its-xchg4.massey.ac.nz> > These are all listed under "mailing lists" on the front page > of http://spambayes.sf.net (along with a short description of > each one). > > Hm. Should probably move that lot to a new page for the > mailing lists.... I quite liked the suggestion a little while ago that the 'contact' link on the left be changed to a link to a contact page (rather than a mailto this list). This page could have all the mailing list details (which is about all the contact there is, I guess). =Tony Meyer From T.A.Meyer at massey.ac.nz Wed Jul 9 14:54:35 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Tue Jul 8 21:55:17 2003 Subject: [Spambayes] RE: export training? Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F13024E96F5@its-xchg4.massey.ac.nz> Opps, I was wrong in my previous message. The latest plugin version does let you specify the data directory (I thought this was still coming). But you obviously found that anyway :) [...] > it works fine; however, if I specify: > data_directory:\\myhost\c$\data\Mail\SpamBayes > it simply acts like the directive was never specified. The test is whether the os.path.isdir() function returns true. If you have Python installed you could play around with getting access to a network drive; I don't know what the rules are. > I'll write a feature-request and see where it goes... Can't hurt :) =Tony Meyer From skip at pobox.com Tue Jul 8 22:42:05 2003 From: skip at pobox.com (Skip Montanaro) Date: Tue Jul 8 23:07:53 2003 Subject: [Spambayes] Combining SpamBayes with SPEWS (and similar) resources? In-Reply-To: <1ED4ECF91CDED24C8D012BCF2B034F13024E96B2@its-xchg4.massey.ac.nz> References: <1ED4ECF91CDED24C8D012BCF2B034F13024E96B2@its-xchg4.massey.ac.nz> Message-ID: <16139.33021.66921.155921@montanaro.dyndns.org> >> Maybe it could move into the FAQ ;-). Tony> Q5.6: Why don't you add whitelisting/blacklisting to SpamBayes? Tony> Different reasons that the one you gave, but still an answer... :) I merged Peter's info into that question. Skip From hwilkins at harrahs.com Tue Jul 8 23:55:06 2003 From: hwilkins at harrahs.com (Bobby Wilkins) Date: Tue Jul 8 23:55:48 2003 Subject: [Spambayes] RE: export training? Message-ID: > [...] > > it works fine; however, if I specify: > > data_directory:\\myhost\c$\data\Mail\SpamBayes > > it simply acts like the directive was never specified. > The test is whether the os.path.isdir() function returns true. Hmm.. then I do not understand why it is not working; might this be a bug instead of a "feature"? I wonder if it is not cutting the fields correctly, assuming that the first item will be a [drive][:] or something like that. Maybe I'll get brave and look at the source... The output of my test (on 2.2.2) is at the bottom. BTW, I noticed there was talk about allowing centralized database specification for initial installations, etc., but the assumption there was installing for different users, and the expectation was that they databases would grow apart as the individual activity went forward. Since I'm talking about sharing "my" database amongst multiple instances of "myself", it does not really follow the same model. [c:\temp\py] pathfix.py \\bwilkins\c$\data\mail\SpamBayes\ \\bwilkins\c$\data\mail\SpamBayes\ is a dir [c:\temp\py] pathfix.py c:\temp\py c:\temp\py is a dir [c:\temp\py] pathfix.py c:\temp\py\pathfix.py c:\temp\py\pathfix.py is not a dir [c:\temp\py] type pathfix.py #! /usr/bin/env python # note: cut from an existing script, and probably has unnecessary baggage... import sys import os from stat import * import string import getopt err = sys.stderr.write dbg = err rep = sys.stdout.write new_interpreter = None def main(): try: opts, args = getopt.getopt(sys.argv[1:], 'i:') except getopt.error, msg: err(msg + '\n') err(usage) sys.exit(2) bad = 0 for arg in args: if os.path.isdir(arg): rep(arg + ' is a dir\n') else: rep(arg + ' is not a dir\n') sys.exit(bad) main() From T.A.Meyer at massey.ac.nz Wed Jul 9 17:08:52 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Wed Jul 9 00:10:33 2003 Subject: [Spambayes] RE: export training? Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F13024E978E@its-xchg4.massey.ac.nz> > > The test is whether the os.path.isdir() function returns true. > > Hmm.. then I do not understand why it is not working; might > this be a bug instead of a "feature"? I wonder if it is not > cutting the fields correctly, assuming that the first item > will be a [drive][:] or something like that. Maybe I'll get > brave and look at the source... This is a 'feature' of Python, from what I can tell. os.path.isdir() does not work for me for network drives, although I can open (with file()) files on the network. The documentation for os.path.* does say that the functions may not work correctly with UNC on windows, which appears to be correct. os.path.ismount() and os.path.splitunc() are meant to work, but neither of these will tell you if a directory exists). I don't know whether there is such a function or not. It would be easy enough to patch your copy of the plugin to get it to work, if you ran from source. Just remove the test of whether the directory exists, and make sure that it does. > The output of my test (on 2.2.2) is at the bottom. > [c:\temp\py] pathfix.py \\bwilkins\c$\data\mail\SpamBayes\ > \\bwilkins\c$\data\mail\SpamBayes\ is a dir This would fail for me (2.3b2, WinXP), even though I can open files whose path starts with this: >>> import os >>> os.path.isdir("\\\\itsa-campus1\\tameyer\\") False Strange that (a) os.path.isdir() appears to work for you, and (b) that the plugin therefore doesn't allow it the path to be used. Does you log/trace from the plugin have a message about an invalid data directory being specified? That would indicate that the test is failing there (or in the abspath() call). If you do get adventurous, the bit of the code you're after starts at line 200 in Outlook2000\manager.py. Otherwise Mark may know more, since he knows just about everything about win32 and Python ;) =Tony Meyer From hwilkins at harrahs.com Wed Jul 9 00:49:55 2003 From: hwilkins at harrahs.com (Bobby Wilkins) Date: Wed Jul 9 00:51:49 2003 Subject: [Spambayes] RE: export training? Message-ID: > > > The test is whether the os.path.isdir() function returns true. > > Hmm.. then I do not understand why it is not working; might > This is a 'feature' of Python, from what I can tell. > os.path.isdir() does not work for me for network drives, although > I can open (with > Strange that (a) os.path.isdir() appears to work for you, and (b) > that the plugin therefore doesn't allow it the path to be used. > Does you log/trace from the plugin have a message about an invalid > data directory being specified? That would indicate that the test > is failing there (or in the abspath() call). OK, more strangeness: the error is this: Attempted to set [General] data_directory with invalid value \\bwtestxp\c$\data\Mail\SpamBayes () Seems like it is failing to set the variable in the first place. I'm not competent with Python enough to be able to find the function referenced here: value = self.config.general.data_directory If you can point me to it, I might be able to figure out why it is failing... From T.A.Meyer at massey.ac.nz Wed Jul 9 17:54:17 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Wed Jul 9 00:56:18 2003 Subject: [Spambayes] RE: export training? Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F13024E97AE@its-xchg4.massey.ac.nz> > OK, more strangeness: the error is this: > > Attempted to set [General] data_directory with invalid value > \\bwtestxp\c$\data\Mail\SpamBayes () Ha! It's got nothing to do with the fact that it's not local, then, it's the '$' in the pathname. I'll correct this, so that pathnames can have $'s in them. If you want to do this, you need to change the definition of PATH in spambayes/OptionsClass.py to: PATH = r"[\w\$\.\-~:\\/\*]+" I presume all will be well, then. =Tony Meyer From hwilkins at harrahs.com Wed Jul 9 01:00:52 2003 From: hwilkins at harrahs.com (Bobby Wilkins) Date: Wed Jul 9 01:02:48 2003 Subject: [Spambayes] RE: export training? Message-ID: > > OK, more strangeness: the error is this: > > > > Attempted to set [General] data_directory with invalid value > > \\bwtestxp\c$\data\Mail\SpamBayes () > Ha! It's got nothing to do with the fact that it's not local, > then, it's the '$' in the pathname. I'll correct this, so that > pathnames can have $'s in them. If you want to do this, you > need to change the definition of PATH in > spambayes/OptionsClass.py to: > PATH = r"[\w\$\.\-~:\\/\*]+" This I can do. Ignorant/dumb question: how do I get that compiled into the "binary" version? Or will it just be easier to switch to the non-binary version? Realize that this is my >first< foray into python at all... And thanks very much for the help! From T.A.Meyer at massey.ac.nz Wed Jul 9 18:05:19 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Wed Jul 9 01:06:01 2003 Subject: [Spambayes] RE: export training? Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F13024E97BD@its-xchg4.massey.ac.nz> > Ignorant/dumb question: how do I get that compiled into the > "binary" version? You'd have to rebuild the installer (or at least the .dll). You need the McMillan installer from Mark's website (where you got the binary), plus (to make it easy) the Inno Setup program to build the installer. All the necessary scripts are in the source version (CVS or a4). > Or will it just be easier to switch to the non-binary version? Yes. Especially if you already have Python installed, and especially especially if you already have Python and the (latest) win32all extensions. Then all you have to do is uninstall the binary and run Outlook2000/addin.py, and it's back to normal. (There are instructions about how to go about this on the website if you need them). > Realize that this is my >first< foray into python at all... SpamBayes was mine, too! (Beware: now I use it all the time, even in my 'real' work). > And thanks very much for the help! No worries. =Tony Meyer From alex at strasheim.org Wed Jul 9 01:36:47 2003 From: alex at strasheim.org (Alex Strasheim) Date: Wed Jul 9 01:36:48 2003 Subject: [Spambayes] one particular email seems to choke spambayes Message-ID: I'm running Windows 2000, with all of the patches, and Outlook 2000, also with all of the patches, and the spambayes outlook plugin. A couple of times a day, I get a similar spam email, and it seems to choke spambayes. First of all, it's never even dropped into the "unsure" folder, it always goes to "inbox". On top of that, when I click on "delete as spam" (which I do, every time), it usually doesn't go through. I have to click on the button a couple of times, and eventually it moves to the "spam" folder. Finally, if I select "show spam clues for current message", nothing happens. I have no idea if this is a bug, or if I'm doing something stupid, or what, so I haven't filed a bug report. I'm not in a hurry for a solution, because the emails have the same subject lines, and are easy to spot and delete. But if anyone is interested in this, I'll be happy to pass along the email in a zip file, or do whatever else I can to help track down the problem. I'm sorry if this is an inappropriate post... From T.A.Meyer at massey.ac.nz Wed Jul 9 18:42:33 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Wed Jul 9 01:45:17 2003 Subject: [Spambayes] one particular email seems to choke spambayes Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F13024E97D0@its-xchg4.massey.ac.nz> > I have no idea if this is a bug, or if I'm doing something > stupid, or what, so I haven't filed a bug report. I'm not in > a hurry for a solution, because the emails have the same > subject lines, and are easy to spot and delete. But if anyone > is interested in this, I'll be happy to pass along the email > in a zip file, or do whatever else I can to help track down > the problem. If you could do that along with the log file (the troubleshooting guide with the plug-in has details about how to find it) that would be great. It's a known problem that malformed messages (which I assume these are) cause us great trouble. We're in the midst of a couple of potential solutions to this at the moment, so there's light at the end of the tunnel, but we're not there yet. > I'm sorry if this is an inappropriate post... It's definitely not. =Tony Meyer From mhammond at skippinet.com.au Wed Jul 9 19:16:18 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Wed Jul 9 04:16:36 2003 Subject: [Spambayes] SpamBayes Outlook Addin under CodeWeaver's Crossover In-Reply-To: Message-ID: <000401c345f2$606bde30$f501a8c0@eden> The errors in that log are certainly strange - can you please file a bug at sourceforge? What is "CodeWeaver's Crossover"? Mark > -----Original Message----- > From: spambayes-bounces@python.org > [mailto:spambayes-bounces@python.org]On Behalf Of > srengasamy@firstam.com > Sent: Wednesday, 9 July 2003 5:30 AM > To: spambayes@python.org > Subject: [Spambayes] SpamBayes Outlook Addin under CodeWeaver's > Crossover > > > I was able to install the Addin software and it is visible as > a COM Plugin. > Also log file is getting updated. > > But I am not able to get the Sppambayes Toolbar. > > Is anybody using SpamBayes Outlook Addin under CodeWeaver's Crossover. > > Thanks, > > Samy Rengsamy. > > > <> <> > > From joe at copleyinternet.com Wed Jul 9 13:13:39 2003 From: joe at copleyinternet.com (Joe Copley) Date: Wed Jul 9 12:14:16 2003 Subject: [Spambayes] Recover from SPAM function changes message time Message-ID: <001f01c34635$0f442100$9819a8c0@DELL8250> Hello: When a message is placed in my possible SPAM folder, and I use the recover button to move it back to my Inbox, the message time is moved earlier by 8 hours. I have Outlook XP and am in the Eastern time zone. My Inbox is an IMAP account. I am using Beta 1, Binary Version 3. Regards, Joe Copley _____________________________________________ C O P L E Y I N T E R N E T S Y S T E M S Internet-powered Systems for Business http://www.copleyinternet.com Toll-Free 877 283-2904 info@copleyinternet.com ...we know a way _____________________________________________ From srengasamy at firstam.com Wed Jul 9 12:24:09 2003 From: srengasamy at firstam.com (srengasamy@firstam.com) Date: Wed Jul 9 12:24:49 2003 Subject: [Spambayes] SpamBayes Outlook Addin under CodeWeaver's Crosso ver Message-ID: "CodeWeaver's Crossover" is an enriched wine implementation, which lets you run several windows applications under Linux. Its URL http://www.codeweavers.com/home/ I will file the bug at sourceforge shortly. Thanks, Samy Regnasamy. -----Original Message----- From: Mark Hammond [mailto:mhammond@skippinet.com.au] Sent: Wednesday, July 09, 2003 3:16 AM To: Rengasamy, Samy; spambayes@python.org Subject: RE: [Spambayes] SpamBayes Outlook Addin under CodeWeaver's Crossover The errors in that log are certainly strange - can you please file a bug at sourceforge? What is "CodeWeaver's Crossover"? Mark > -----Original Message----- > From: spambayes-bounces@python.org > [mailto:spambayes-bounces@python.org]On Behalf Of > srengasamy@firstam.com > Sent: Wednesday, 9 July 2003 5:30 AM > To: spambayes@python.org > Subject: [Spambayes] SpamBayes Outlook Addin under CodeWeaver's > Crossover > > > I was able to install the Addin software and it is visible as > a COM Plugin. > Also log file is getting updated. > > But I am not able to get the Sppambayes Toolbar. > > Is anybody using SpamBayes Outlook Addin under CodeWeaver's Crossover. > > Thanks, > > Samy Rengsamy. > > > <> <> > > From ron_arn at msn.com Wed Jul 9 10:49:43 2003 From: ron_arn at msn.com (Ron Arnold) Date: Wed Jul 9 12:53:32 2003 Subject: [Spambayes] errors with spambayes1-0a4 Message-ID: <06d901c3463a$543f7c00$1102a8c0@roadrunner> 1.- Can't seem to get filtering to work?? 2.- also SMTP bounce to localhost rejects messages Using = spambayes1-0a4 My OS = Windows XP Pro My Email client = Outlook Express 6 My Mail server = pop3.email.msn.com Seeing this err msg in my emails and filtering is not working: ========================================= X-Message-Info: JGTYoYF78jEHjJx36Oi8+Q1OJDRSDidP Received: from tkuyhui ([62.159.132.170]) by mc9-f34.bay6.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Tue, 8 Jul 2003 23:12:12 -0700 From: Life Insurance To: Subject: Insurance carriers compete for your Business meb Date: Wed, 09 Jul 2003 01:05:15 -0700 Mime-Version: 1.0 Content-Type: text/html Content-Transfer-Encoding: base64 Return-Path: Lifefq@joymail.com Message-ID: X-OriginalArrivalTime: 09 Jul 2003 06:12:12.0797 (UTC) FILETIME=[09A062D0:01C345E1] X-Spambayes-Exception: exceptions.AssertionError() in probability() at C:\spambayes\spambayes-1.0a4\spambayes\classifier.py line 307: assert hamcount <= nham Get this error when I select the "Add unique spambayes id" and select header option: ========================================== 500 Server error Traceback (most recent call last): File "C:\spambayes\spambayes-1.0a4\spambayes\Dibbler.py", line 398, in found_terminator getattr(plugin, name)(**params) File "C:\spambayes\spambayes-1.0a4\spambayes\ProxyUI.py", line 428, in onShowclues results = self._buildCluesTable(message, subject) File "C:\spambayes\spambayes-1.0a4\spambayes\UserInterface.py", line 233, in _buildCluesTable evidence=True) File "C:\spambayes\spambayes-1.0a4\spambayes\classifier.py", line 223, in chi2_spamprob clues = self._getclues(wordstream) File "C:\spambayes\spambayes-1.0a4\spambayes\classifier.py", line 451, in _getclues prob = self.probability(record) File "C:\spambayes\spambayes-1.0a4\spambayes\classifier.py", line 307, in probability assert hamcount <= nhamAssertionError thanks for any help, Ron From Phil at novakbiddle.com Wed Jul 9 14:10:07 2003 From: Phil at novakbiddle.com (Phil Bronner) Date: Wed Jul 9 13:04:20 2003 Subject: [Spambayes] Interesting work Message-ID: <970631ABDEAFD3118B1A009027DE739BBF9437@ip192-168-1-2.z1-168-192.customer.algx.net> I am a VC who has been looking for an interesting spam solution to invest in, are you guys interested in packaging this an creating a company? Have you already started the process? Are there other startups based on this technology out there. Let me know, Phil Phil Bronner Novak Biddle Venture Partners 7501 Wisconsin Avenue East Tower, Suite 1380 Bethesda, MD 20814 W - 240-497-1910 F - 240-223-0255 -------------- next part -------------- A non-text attachment was scrubbed... Name: Phil Bronner.vcf Type: application/octet-stream Size: 127 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030709/8adf7d32/PhilBronner.obj From ron_arn at msn.com Wed Jul 9 11:19:31 2003 From: ron_arn at msn.com (Ron Arnold) Date: Wed Jul 9 13:20:18 2003 Subject: [Spambayes] Re: errors with spambayes1-0a4 References: <06d901c3463a$543f7c00$1102a8c0@roadrunner> Message-ID: <000801c3463e$4353d4f0$1102a8c0@roadrunner> also getting this error on service startup. is this a problem? ============================================ C:\spambayes\spambayes-1.0a4\windows>pop3proxy_service.py start Starting service pop3proxy Exception exceptions.AttributeError: "'NoneType' object has no attribute 'error' " in > ignored ----- Original Message ----- From: Ron Arnold To: SpamBayes@python.org Sent: Wednesday, July 09, 2003 9:49 AM Subject: errors with spambayes1-0a4 1.- Can't seem to get filtering to work?? 2.- also SMTP bounce to localhost rejects messages Using = spambayes1-0a4 My OS = Windows XP Pro My Email client = Outlook Express 6 My Mail server = pop3.email.msn.com Seeing this err msg in my emails and filtering is not working: ========================================= X-Message-Info: JGTYoYF78jEHjJx36Oi8+Q1OJDRSDidP Received: from tkuyhui ([62.159.132.170]) by mc9-f34.bay6.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Tue, 8 Jul 2003 23:12:12 -0700 From: Life Insurance To: Subject: Insurance carriers compete for your Business meb Date: Wed, 09 Jul 2003 01:05:15 -0700 Mime-Version: 1.0 Content-Type: text/html Content-Transfer-Encoding: base64 Return-Path: Lifefq@joymail.com Message-ID: X-OriginalArrivalTime: 09 Jul 2003 06:12:12.0797 (UTC) FILETIME=[09A062D0:01C345E1] X-Spambayes-Exception: exceptions.AssertionError() in probability() at C:\spambayes\spambayes-1.0a4\spambayes\classifier.py line 307: assert hamcount <= nham Get this error when I select the "Add unique spambayes id" and select header option: ========================================== 500 Server error Traceback (most recent call last): File "C:\spambayes\spambayes-1.0a4\spambayes\Dibbler.py", line 398, in found_terminator getattr(plugin, name)(**params) File "C:\spambayes\spambayes-1.0a4\spambayes\ProxyUI.py", line 428, in onShowclues results = self._buildCluesTable(message, subject) File "C:\spambayes\spambayes-1.0a4\spambayes\UserInterface.py", line 233, in _buildCluesTable evidence=True) File "C:\spambayes\spambayes-1.0a4\spambayes\classifier.py", line 223, in chi2_spamprob clues = self._getclues(wordstream) File "C:\spambayes\spambayes-1.0a4\spambayes\classifier.py", line 451, in _getclues prob = self.probability(record) File "C:\spambayes\spambayes-1.0a4\spambayes\classifier.py", line 307, in probability assert hamcount <= nhamAssertionError thanks for any help, Ron From drkrause at comcast.net Wed Jul 9 14:43:10 2003 From: drkrause at comcast.net (Doug Krause) Date: Wed Jul 9 13:41:54 2003 Subject: [Spambayes] Filtering Message-ID: <000401c34641$93361700$6401a8c0@DG6LFH11> Hello ...great program...many thanks! I use the Outlook plug-in. I have set up several rules to sort mail to folders for different family members. The plug-in works fine on the primary Inbox folder, but does not seem to sort out the SPAM items before moving them to the other folders. They are rated however. What I do is open Anti-SPAM Manager and click on Filter Now. Filtering is set to check unread messages for all the mailboxes, and then will move the SPAM messages to the SPAM folder. Is there any way to make this a one-step, rather than 2-step process?? Thanks......Doug Doug Krause 215 896-1827 M dougkrause@comcast.net From skip at pobox.com Wed Jul 9 13:58:28 2003 From: skip at pobox.com (Skip Montanaro) Date: Wed Jul 9 13:58:43 2003 Subject: [Spambayes] Interesting work In-Reply-To: <970631ABDEAFD3118B1A009027DE739BBF9437@ip192-168-1-2.z1-168-192.customer.algx.net> References: <970631ABDEAFD3118B1A009027DE739BBF9437@ip192-168-1-2.z1-168-192.customer.algx.net> Message-ID: <16140.22468.370982.647936@montanaro.dyndns.org> Phil> I am a VC who has been looking for an interesting spam solution to Phil> invest in, are you guys interested in packaging this an creating a Phil> company? Have you already started the process? Are there other Phil> startups based on this technology out there. Let me know, Phil Phil, Check http://spambayes.sourceforge.net/related.html especially the section "Projects based on SpamBayes". -- Skip Montanaro Got gigs? http://www.musi-cal.com/ Got spam? http://spambayes.sf.net/ From hwilkins at harrahs.com Wed Jul 9 16:14:25 2003 From: hwilkins at harrahs.com (Bobby Wilkins) Date: Wed Jul 9 16:15:05 2003 Subject: [Spambayes] error in log Message-ID: Strange issue: the following message fails to train or move, and the entire message appears to be the "from" as far as SpamBayes is concerned... FAILED to create email.message from: 'X-MS-Mail-Gibberish: Microsoft Mail Internet Headers Version 2.0\r\nReceived: from memex2.harrahs.org ([10.3.5.44]) by entcmail1.harrahs.org with Microsoft SMTPSVC(5.0.2195.5329);\r\n\t Wed, 9 Jul 2003 15:09:31 -0500\r\nReceived: from mail.sendmeoffers.com ([64.253.204.239]) by memex2.harrahs.org with Microsoft SMTPSVC(5.0.2195.5329);\r\n\t Wed, 9 Jul 2003 15:09:30 -0500\r\nReceived: from sendmeoffers.com (192.168.1.8)\r\n by mail.sendmeoffers.com with SMTP; 09 Jul 2003 16:09:29 -0400\r\nFrom: Clever Island<565-2078570-unsubscribe@sendmeoffers.com>\r\nTo: hwilkins@harrahs.com \r\nSubject: , Complimentary Twenty Dollar ToysRUs Gift Card\r\nDate: Wed, 9 Jul 2003 13:08:09 -0400\r\nContent-Type: multipart/alternative;\r\n boundary="= Multipart Boundary 2078570" \r\nX-Priority: 3 \r\nX-MSMail-Priority: Normal \r\nX-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) \r\nX-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 \r\nMime-Version: 1.0 \r\nReturn-Path: 565-2078570-unsubscribe@sendmeoffers.com\r\nMessage-ID: \r\nX-OriginalArrivalTim e: 09 Jul 2003 20:09:30.0953 (UTC) FILETIME=[01E6A390:01C34656]\r\n\n\r\n\r\nClaim Your FREE $20 ToysRUs Gift Card!!!\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n

\r\n
You\'re entitled to claim a FREE Toys"R"Us $20.00 \r\n Gift Card good at any Toys"R"Us store near you, for any merchandise \r\n you want. Just click below. \r\n

Act today to claim your $20.00 Gift Card while supplies last.
\r\n

\r\n
\r\n


Toys"R"Us is not a sponsor or a co-sponsor of this promotion. Please see back of gift card for terms and conditions of use. Toys"R"Us, Inc. is not liable for any alleged or actual claims related to this offer.

\r\n \r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n 
 
To stop receiving offers Go Here or send mail to:
Unsubscribe Department
1730 S. Federal Hwy, Suite 116
Delray Beach, FL 33483
\r\n\r\n\r\n\r\n--= Multipart Boundary 2078570-- \r\n\r\n\nAre you looking for \r\nhigh-quality, affordable \r\ntoys for your child?\r\n\r\nWhy Not Get Them For FREE!\r\n\r\nGet a Complimentary \r\n$20 Toys"R"Us Gift Card!\r\n\r\nYou\x92re entitled to claim a FREE Toys"R"Us $20.00 Gift Card good at any Toys"R"Us store near you, for any merchandise you want. Just click below. \r\n\r\nAct today to claim your $20.00 Gift Card while supplies last.\r\n\r\nCLICK HERE!\r\n\r\nhttp://www.sendmeoffers.com/c/c565c.php?ea=aHdpbGtpbnNAaGFy cmFocy5jb20=\r\n\r\nToys"R"Us is not a sponsor or a co-sponsor of this promotion. Please see back of gift card for terms and conditions of use. Toys"R"Us, Inc. is not liable for any alleged or actual claims related to this offer.\r\n\r\n\r\nStop receiving offers:\r\nhttp://www.sendmeoffers.com/unsubscribe/?ea=hwilkins@harrahs. com\r\n\r\n' pythoncom error: Python error invoking COM method. Traceback (most recent call last): File "out1.pyz/win32com.server.policy", line 275, in _Invoke_ File "out1.pyz/win32com.server.policy", line 280, in _invoke_ File "out1.pyz/win32com.server.policy", line 601, in _invokeex_ File "out1.pyz/win32com.server.policy", line 541, in _invokeex_ File "out1.pyz/addin", line 216, in OnItemAdd File "out1.pyz/addin", line 176, in ProcessMessage File "out1.pyz/filter", line 15, in filter_message File "out1.pyz/manager", line 635, in score File "out1.pyz/msgstore", line 681, in GetEmailPackageObject File "out1.pyz/email", line 52, in message_from_string File "out1.pyz/email.Parser", line 75, in parsestr File "out1.pyz/email.Parser", line 64, in parse File "out1.pyz/email.Parser", line 239, in _parsebody File "out1.pyz/email.Parser", line 75, in parsestr File "out1.pyz/email.Parser", line 62, in parse File "out1.pyz/email.Parser", line 111, in _parseheaders email.Errors.HeaderParseError: Continuation line seen before first header From walbright at firstquadrant.com Wed Jul 9 15:00:40 2003 From: walbright at firstquadrant.com (Wendy Albright) Date: Wed Jul 9 17:01:30 2003 Subject: [Spambayes] Spam Checker Outlook Plugin V 003 Message-ID: Hi, I am running the checker for Windows on the platform, 2000. I have just recently installed sp3 for Office and after installing the checker, it now bombs when checking the contacts folder for Outlook. I am not having this problem in any previous service packs. Are you aware of this problem and/or is there a fix. thanks and I appreciate your response. /wa Wendy Albright Associate Director/Systems/CCNA First Quadrant L.P. Pasadena Phone: (626) 683-4118 Fax: (626) 396-3118 < mailto:walbright@fqw.com > From renos at aceintl.com Wed Jul 9 17:52:04 2003 From: renos at aceintl.com (Russell Enos) Date: Wed Jul 9 17:07:04 2003 Subject: [Spambayes] Problem with SpamBayes Message-ID: <37B641179821D2118F0400104B63005355D984@ACEINTERNAT01> I installed spambayes using the binary installer 3 on a windows 98 system with office professional XP. During the training process I realized I had setup my spam and unsure folders in my outlook mailbox on the server and not in my personal folder locally. I moved these two folders to the personal folder and was successful at training, but now I can not properly define the filters in spambayes. When I choose the browse buttons in define filters, I can browse to the folder and select it. But when I close the window and go back in, it has not retained the information, it says unknown. I attempted to create new folders and use them instead, same thing happens. I can browse to the new folders and select them, but when I close the window then go back in, the field says unknown. I then tried to uninstall and my computer froze during uninstall. Any suggestions or more information I can provide please let me know. We have this running on two other computers with no problems and love it. THANKS!!!! Best Regards, Russ Enos Inside Sales Manager A.C.E. International 85 Independence Drive Taunton, MA 02780 Tel: (508)802-6322 Fax: (508)884-9666 E-mail: renos@aceintl.com Visit our web site: www.aceintl.com From jwalesch at casacorda.de Thu Jul 10 02:26:40 2003 From: jwalesch at casacorda.de (=?iso-8859-1?Q?J=F6rg_Walesch?=) Date: Wed Jul 9 19:27:55 2003 Subject: [Spambayes] Bug after first installation of SpamBayes add-in for OUTLOOK XP Message-ID: <000001c34671$8cf178f0$0b6411ac@jwaldi> Dear Sir! I have just tried to install the OUTLOOK XP add-in (*.exe file) but the add-in reported a bug. I have copied its text: Error connecting to Outlook! Traceback (most recent call last): File "out1.pyz/addin", line 800, in OnConnection File "out1.pyz/manager", line 682, in GetManager File "out1.pyz/manager", line 229, in __init__ File "out1.pyz/manager", line 75, in import_core_spambayes_stuff File "out1.pyz/os", line 414, in __setitem__ UnicodeEncodeError: 'ascii' codec can't encode character '\uf6' in position 32: ordinal not in range(128) ERROR: 'There was an error initializing the SpamBayes addin\r\n\r\nPlease re-start Outlook and try again.' Traceback (most recent call last): File "out1.pyz/addin", line 800, in OnConnection File "out1.pyz/manager", line 682, in GetManager File "out1.pyz/manager", line 229, in __init__ File "out1.pyz/manager", line 75, in import_core_spambayes_stuff File "out1.pyz/os", line 414, in __setitem__ UnicodeEncodeError: 'ascii' codec can't encode character '\uf6' in position 32: ordinal not in range(128) Now, being a complete novice not with filtering software but with SPAMBAYES I would like to 1. report this to the SourceForge people via their website: I registered and got a new account yet I cannot find the page anymore where I can post my report. 2. know what I can do. I'd really like to try SPAMBAYES! I have tried SAProxy recently (http://saproxy.bloomba.com/) but de-installed it from my computer before installing SPAMBAYES - what do I do now? I must say there have beena few mishaps with my OUTLOOK recently: Inspite of some good antivirus software I had Win32.SoBig.E@mm on my computer, removed it with BitDefender antivirus software, but ever since things haven't been back to normal: I had to reload some of my OUTLOOK data using my backups yet the error messages came back. For example: I keep getting an "0x800CCC0F" on end every time I download something from my POP3 server - drives me mad especially as it doesn't seem to be a real error but just a bug! Help! Sincerely - J. Walesch From mhammond at skippinet.com.au Thu Jul 10 10:55:41 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Wed Jul 9 19:55:58 2003 Subject: [Spambayes] Spam Checker Outlook Plugin V 003 In-Reply-To: Message-ID: <037601c34675$9c5d8b40$f501a8c0@eden> > Hi, I am running the checker for Windows on the platform, > 2000. I have just > recently installed sp3 for Office and after installing the > checker, it now > bombs when checking the contacts folder for Outlook. I am not > having this > problem in any previous service packs. Are you aware of this > problem and/or > is there a fix. Can you clarify what you mean by "checking the contacts folder"? SpamBayes should only ever check folders you configured it to, and I can't imagine why you would select the "Contacts" folder to check for spam - unless you actually selected the very top-level folder. Also see the "troubleshooting guide" - this contains information on how to extract a log - please mail us this too. Thanks, Mark. From mhammond at skippinet.com.au Thu Jul 10 10:57:05 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Wed Jul 9 19:57:20 2003 Subject: [Spambayes] Problem with SpamBayes In-Reply-To: <37B641179821D2118F0400104B63005355D984@ACEINTERNAT01> Message-ID: <037701c34675$cd3dc040$f501a8c0@eden> Please see the troubleshooting guide included with the tool, and also send a log from such a session. Thanks, Mark. > -----Original Message----- > From: spambayes-bounces@python.org > [mailto:spambayes-bounces@python.org]On Behalf Of Russell Enos > Sent: Thursday, 10 July 2003 6:52 AM > To: spambayes@python.org > Subject: [Spambayes] Problem with SpamBayes > > > I installed spambayes using the binary installer 3 on a > windows 98 system > with office professional XP. During the training process I > realized I had > setup my spam and unsure folders in my outlook mailbox on the > server and not > in my personal folder locally. I moved these two folders to > the personal > folder and was successful at training, but now I can not > properly define the > filters in spambayes. When I choose the browse buttons in > define filters, I > can browse to the folder and select it. But when I close the > window and go > back in, it has not retained the information, it says unknown. > > > > I attempted to create new folders and use them instead, same > thing happens. > I can browse to the new folders and select them, but when I > close the window > then go back in, the field says unknown. I then tried to > uninstall and my > computer froze during uninstall. > > > > Any suggestions or more information I can provide please let > me know. We > have this running on two other computers with no problems and love it. > > > > THANKS!!!! > > > > Best Regards, > > Russ Enos > > Inside Sales Manager > > A.C.E. International > > 85 Independence Drive > > Taunton, MA 02780 > > Tel: (508)802-6322 > > Fax: (508)884-9666 > > E-mail: renos@aceintl.com > > Visit our web site: www.aceintl.com > > > > > > _______________________________________________ > Spambayes mailing list > Spambayes@python.org > http://mail.python.org/mailman/listinfo/spambayes > From mhammond at skippinet.com.au Thu Jul 10 11:05:23 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Wed Jul 9 20:05:33 2003 Subject: [Spambayes] Filtering In-Reply-To: <000401c34641$93361700$6401a8c0@DG6LFH11> Message-ID: <037d01c34676$f5e2c2b0$f501a8c0@eden> > Hello ...great program...many thanks! > I use the Outlook plug-in. I have set up several rules to > sort mail to > folders for different family members. The plug-in works fine on the > primary Inbox folder, but does not seem to sort out the SPAM items > before moving them to the other folders. They are rated however. > What I do is open Anti-SPAM Manager and click on Filter Now. Filtering > is set to check unread messages for all the mailboxes, and then will > move the SPAM messages to the SPAM folder. > Is there any way to make this a one-step, rather than 2-step process?? The interaction of plugins with Outlook's builtin rules is poorly understood. However, if SpamBayes is watching both the target folders and your inbox, it should work OK. Is this not the case? Can you explain exactly how you have spambayes configured, and exactly what you see happen to messages as they arrive? Thanks, Mark From mhammond at skippinet.com.au Thu Jul 10 11:21:57 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Wed Jul 9 20:22:08 2003 Subject: [Spambayes] Recover from SPAM function changes message time In-Reply-To: <001f01c34635$0f442100$9819a8c0@DELL8250> Message-ID: <039601c34679$46670690$f501a8c0@eden> How strange! Please open a bug (see the troubleshooting guide). If your "possible spam" a local folder? Mark. > When a message is placed in my possible SPAM folder, and I use the > recover button to move it back to my Inbox, the message time is moved > earlier by 8 hours. > > I have Outlook XP and am in the Eastern time zone. > > My Inbox is an IMAP account. > > I am using Beta 1, Binary Version 3. From skip at pobox.com Wed Jul 9 20:31:04 2003 From: skip at pobox.com (Skip Montanaro) Date: Wed Jul 9 20:31:11 2003 Subject: [Spambayes] Bug after first installation of SpamBayes add-in for OUTLOOK XP In-Reply-To: <000001c34671$8cf178f0$0b6411ac@jwaldi> References: <000001c34671$8cf178f0$0b6411ac@jwaldi> Message-ID: <16140.46024.18756.343258@montanaro.dyndns.org> ... J?rg> File "out1.pyz/manager", line 75, in import_core_spambayes_stuff J?rg> File "out1.pyz/os", line 414, in __setitem__ J?rg> UnicodeEncodeError: 'ascii' codec can't encode character '\uf6' in J?rg> position 32: ordinal not in range(128) This is a known problem. J?rg> Now, being a complete novice not with filtering software but with J?rg> SPAMBAYES I would like to J?rg> 1. report this to the SourceForge people via their website: I J?rg> registered and got a new account yet I cannot find the page J?rg> anymore where I can post my report. Best route is to simply remember http://spambayes.sf.net/ At the top of that page, click the "SF Project Page" link. On the project page click the "Bugs" link (just below the "Project: Bayesian ..." title), then click "Submit New". J?rg> 2. know what I can do. I'd really like to try SPAMBAYES! Help with documentation and the website is always needed. If you have some facility with Python on Windows (or would like to get some), you might try downloading the source distribution, installing it and debugging the above problem. Details for installing the Outlook client from source are at http://spambayes.sourceforge.net/windows.html -- Skip Montanaro Got gigs? http://www.musi-cal.com/ Got spam? http://spambayes.sf.net/ From tim.one at comcast.net Wed Jul 9 22:56:13 2003 From: tim.one at comcast.net (Tim Peters) Date: Wed Jul 9 21:56:47 2003 Subject: [Spambayes] Interesting work In-Reply-To: <970631ABDEAFD3118B1A009027DE739BBF9437@ip192-168-1-2.z1-168-192.customer.algx.net> Message-ID: [Phil Bronner] > I am a VC who has been looking for an interesting spam solution to > invest in, are you guys interested in packaging this an creating a > company? Most of the people who've done heavy lifting on this project seem to be severely over-employed <0.5 wink>, so I doubt it. > Have you already started the process? Are there other > startups based on this technology out there. http://www.inboxer.com is a (very) recent commercial offering incorporating this technology. They've got the right connections to continue the research end too (I worked with them at Dragon Systems in its heyday) -- if they can afford it. Excelling in this field requires exploiting research, and funding that can be a problem. As is, the technology in this project now is more than merely competitive, so more heavy research isn't an immediate need. OTOH, how it performs against others a year from now depends on the research done (or not done) now ... From shalehperry at comcast.net Wed Jul 9 23:48:02 2003 From: shalehperry at comcast.net (Sean 'Shaleh' Perry) Date: Thu Jul 10 01:48:37 2003 Subject: [Spambayes] non English mail causing exceptions when using pop3proxy and thanks. Message-ID: <200307092248.02726.shalehperry@comcast.net> Using the 1.0a4 and python 2.2.3 from Debian I get the following from mails in odd character sets. These mails are always spam. X-Spambayes-Exception: exceptions.UnicodeError(ASCII decoding error: ordinal not in range(128)) in append() at /usr/lib/python2.2/email/Header.py line 272: ustr = unicode(s, incodec, errors) I was not sure if this list was open to attachments so I did not include the offending mails. If somone would like a copy I can provide them. Other than this problem I am *VERY* happy with pop3proxy. I set it up two days ago and my spam has 100% disappeared. My wife and I share one database currently which I seeded with mail from both of our accounts. From skip at pobox.com Thu Jul 10 09:52:09 2003 From: skip at pobox.com (Skip Montanaro) Date: Thu Jul 10 09:52:20 2003 Subject: [Spambayes] non English mail causing exceptions when using pop3proxy and thanks. In-Reply-To: <200307092248.02726.shalehperry@comcast.net> References: <200307092248.02726.shalehperry@comcast.net> Message-ID: <16141.28553.637499.33215@montanaro.dyndns.org> Sean> My wife and I share one database currently which I seeded with Sean> mail from both of our accounts. Same here. I don't think my wife even knows I'm zapping her spam for her (she's in the "Tim's sister" user category). Skip From webmaster at apromotionguide.com Thu Jul 10 18:47:50 2003 From: webmaster at apromotionguide.com (webmaster@apromotionguide.com) Date: Thu Jul 10 10:48:14 2003 Subject: [Spambayes] Bug report, feedback Message-ID: <1352.212.54.9.75.1057848470.squirrel@ssl.nebula.fi> Greetings. First of all, congratulations on an excellent program. I've been testing Spambayes for a while and have found it to do an amazingly accurate job in filtering spam. It does occasionally let a spam or two get past it, but catches most and as of yet, has never misidentified a "ham" message to be "spam". Today though, the program apparently self-destructed :). My computer (Win98 SE) had been up for a long time and had, of course, slowly become somewhat unstable, so I decided on a reboot. I shut down Spambayes from the Web interface, but it ended with an error which I unfortunately was not able to catch. Thinking it was nothing, I killed all of my programs including the Python interpreter and shut down the computer. The next boot failed with a lot of those annoying "program has performed an illegal function and will be terminated"-windows coming up for all of the programs that attempted to start when the machine boots. I had to do a reset, after which everything came up fine.. except Spambayes. What happens is when I command: c:\ohjelmatiedostot\python22\python.exe c:\ohjelmatiedostot\spambayes\pop3proxy.py -b (I'm using PythonWin 2.2.3, with Mark Hammond's win32all build 152, with Outlook Express 6.00.2800.1106, hence the Pop3proxy) I get: --- Loading database... Traceback (most recent call last): File "c:\ohjelmatiedostot\spambayes\pop3proxy.py", line 777, in ? run() File "c:\ohjelmatiedostot\spambayes\pop3proxy.py", line 752, in run state.createWorkers() File "c:\ohjelmatiedostot\spambayes\pop3proxy.py", line 594, in createWorkers self.bayes = storage.DBDictClassifier(filename) File "c:\ohjelmatiedostot\spambayes\spambayes\storage.py", line 147, in __init __ self.load() File "c:\ohjelmatiedostot\spambayes\spambayes\storage.py", line 159, in load t = self.db[self.statekey] File "C:\OHJELMATIEDOSTOT\PYTHON22\lib\shelve.py", line 71, in __getitem__ return Unpickler(f).load() EOFError Exception exceptions.AttributeError: "'NoneType' object has no attribute 'error' " in > ignored --- Now, that doesn't tell me much, but it might to you :). I assume my Spambayes database got corrupted at some point and thus, I'm probably going to reinstall it from scratch. So, I don't really need help or want to complain, but thought that this report might perhaps help you in developing the program. My configuration is as above, the Spambayes version was the Alpha3 (updated to Alpha4 after the error first appeared, but that made no difference - I guess it was too late then). Good luck with the development! Sincerely, Lauri Harpf From richie at entrian.com Thu Jul 10 19:15:01 2003 From: richie at entrian.com (Richie Hindle) Date: Thu Jul 10 13:20:00 2003 Subject: [Spambayes] Bug report, feedback In-Reply-To: <1352.212.54.9.75.1057848470.squirrel@ssl.nebula.fi> References: <1352.212.54.9.75.1057848470.squirrel@ssl.nebula.fi> Message-ID: Hi Lauri, > First of all, congratulations on an excellent program. Always nice to hear from a happy customer! > I get: > [traceback] > Now, that doesn't tell me much, but it might to you :) It tells me two things: one is that yes, I think your database is corrupted, although someone with more knowledge of storage.py might correct me on that. You might find you can export the database using dbExpImp.py and re-import it (again using dbExpImp.py). The other thing it tells me is that you should install either Python 2.3 (which is still in beta, so perhaps you don't want to do that) or install pybsddb - you can get a binary installer from pybsddb.sf.net. Because you're using Python 2.2 with no pybsddb, you're using 'dumbdbm' as the storage mechanism, which is not very robust. pybsddb (or the version of it that comes bundled with Python 2.3) is much more stable. If you do try exporting an re-importing, it may be the case that you need to export it *before* installing pybsddb, and re-import afterwards. Hope that helps, and many thanks for the detailed error report. -- Richie Hindle richie@entrian.com From frazer at beacon.com Thu Jul 10 14:25:15 2003 From: frazer at beacon.com (Patrick Frazer) Date: Thu Jul 10 13:25:46 2003 Subject: [Spambayes] MAPI error prevents message scanning Message-ID: Hello, I?m using SpamBayes 1.0a4 (source version) with Outlook 2000 on WinXP. Occasionally, a spam will drop into my inbox and won?t get classified properly. (Performing a manual filter on the inbox will classify it as spam) When this occurs, the log file contains an entry that looks like this: Unexpected MAPI error opening message Exception 0x800ccc19 (OLE error 0x800ccc19): OLE error 0x800ccc19 The key piece of information is probably that my inbox is on an IMAP server. Most of the time this occurs is when I have a message composition window open or I?m manipulating messages in some way. (moving to other folders, etc.) The OLE exception is always the same: 0x800ccc19. I?d like to determine if this exception could be handled more gracefully, perhaps even retrying if the conditions surrounding the exception are transient. I?m a die-hard Perl hacker, but I?d be willing to familiarize myself with Python to contribute to the project. (My current dream is a centralized SpamBayes IMAP proxy for use by entire workgroups in a corporate environment. I think it?d be cool to eliminate the web interface for daily training of SpamBayes and instead rely on the movement of messages between the inbox and spam folders to trigger training.) Anyway, can anyone suggest a starting point here? (Such as the identification of the MAPI event in question) Does this issue merit the submission of a bug report on SourceForge? Thanks, Patrick Frazer From db3l at fitlinxx.com Thu Jul 10 19:19:56 2003 From: db3l at fitlinxx.com (David Bolen) Date: Thu Jul 10 14:19:57 2003 Subject: [Spambayes] Re: "UnicodeDecodeError" in Czech setup - first experiments, post-Python-baby-steps results References: Message-ID: "Erik Piper" writes: > Just to avoid silly questions in the future, you might want to explain to me > what happens when the SpamBayes outlook addin binary is installed. Does the > binary contain python code somehow compiled down to low-level code and > ridded of the need for the interpreter, libraries, etc.? (Or rather, I > suppose, not ridded of the need for them, but solving the need for them by > compiling them to low-level code, too...) You're heading in the right direction. The Outlook addin binary is created by a combination of one of the available Python packaging tools (in this case, Gordon McMillan's installer package), and a Windows installer package (in this case, the free tool InnoSetup). There is a .spec file in the source tree used by the installer and an .iss file used by InnoSetup if you wanted to reconstruct your own binary installer. What the installer does is gather together all of the necessary components of the addin, namely: * Any pure Python sources. This includes the addin itself (the *.py files in the source tree) as well as any standard Python library modules, which in a normal Python installation would be stored with the interpreter such as in c:\python23\lib\*.py. These sources are compiled into Python bytecode, which is how Python always interprets source, and the resulting files are put into a single archive. * Any external binaries on which the application depends - on Windows, these are normally DLLs (or PYDs, which are just DLLs with a different extension). This includes the Python interpreter itself (which is housed in pythonXY.dll, where XY is the version) * Any extra files specified by the developer - this covers stuff like the HTML help files. The installer collects all of these files together so they are in a single directory. It also takes the main application script (which in the source tree is the "addin.py" file), combines it with the archived sources, and adds some runtime code to create a resulting .exe (or in the case of the addin .dll) that is the main entry point to the application. InnoSetup takes the collected files and constructs the typical Windows installation setup executable, which in addition to installing the files is configured to automatically register the main dll, which has the added action of registering itself with Outlook. Note that due to how Python works, this actually changes very little about how the code is interpreted. If you look into your binary installation directory, you'll still see the python23.dll file along with other various DLLs from Python itself and some external packages (primarily Mark's win32all package). All of the original Python sources have been encapsulated within the primary spambayes_addin.dll file, but they are still in bytecode and still get interpreted at runtime by the Python interpreter. The bit of code that the installer includes in the main .exe/dll locks down Python to only looking in the installation directory for its files, so a binary installed package runs independently of any other Python installed on the system. Of course, since by definition the installed binary version is a packaged version based on gathering up appropriate sources, it's runtime environment is slightly different, so there is some possibility - as Mark pointed out in an earlier reply - that there's something about that packaged environment that is affecting things in your case. -- David From kfalde at info1team.com Thu Jul 10 15:54:33 2003 From: kfalde at info1team.com (Falde, Kurt) Date: Thu Jul 10 14:55:07 2003 Subject: [Spambayes] Copy database? Message-ID: Is there anyway to copy the database for Spambayes so that you can use it on another computer without having to retrain it Kurt Falde INFO1 ----------------------------Confidentiality-------------------------- This E-mail is confidential. It should not be read, copied, disclosed or used by any person other than the intended recipient. Unauthorized use, disclosure or copying by whatever medium is strictly prohibited and may be unlawful. If you have received this E-mail in error please contact the sender immediately and delete the E-mail from your system. ------------------------------------------------------------------------ From skip at pobox.com Thu Jul 10 15:04:58 2003 From: skip at pobox.com (Skip Montanaro) Date: Thu Jul 10 15:05:10 2003 Subject: [Spambayes] Copy database? In-Reply-To: References: Message-ID: <16141.47322.785145.222639@montanaro.dyndns.org> Kurt> Is there anyway to copy the database for Spambayes so that you can Kurt> use it on another computer without having to retrain it Sure. See the FAQ, question 3.6: http://spambayes.sourceforge.net/faq.html It talks about backing up the database, but gives you the info you need to find it so you can copy it to another computer. Skip From kfalde at info1team.com Thu Jul 10 16:08:19 2003 From: kfalde at info1team.com (Falde, Kurt) Date: Thu Jul 10 15:08:53 2003 Subject: [Spambayes] Copy database? Message-ID: TYVM realized soon as I got the first email back from list that theres a faq page just added it to favorites thanks for the help. Kurt Falde INFO1 ----------------------------Confidentiality-------------------------- This E-mail is confidential. It should not be read, copied, disclosed or used by any person other than the intended recipient. Unauthorized use, disclosure or copying by whatever medium is strictly prohibited and may be unlawful. If you have received this E-mail in error please contact the sender immediately and delete the E-mail from your system. ------------------------------------------------------------------------ -----Original Message----- From: Skip Montanaro [mailto:skip@pobox.com] Sent: Thursday, July 10, 2003 3:05 PM To: Falde, Kurt Cc: spambayes@python.org Subject: Re: [Spambayes] Copy database? Kurt> Is there anyway to copy the database for Spambayes so that you can Kurt> use it on another computer without having to retrain it Sure. See the FAQ, question 3.6: http://spambayes.sourceforge.net/faq.html It talks about backing up the database, but gives you the info you need to find it so you can copy it to another computer. Skip From tim.one at comcast.net Thu Jul 10 17:02:41 2003 From: tim.one at comcast.net (Tim Peters) Date: Thu Jul 10 16:17:23 2003 Subject: [Spambayes] MAPI error prevents message scanning In-Reply-To: Message-ID: [Patrick Frazer] > I?m using SpamBayes 1.0a4 (source version) with Outlook 2000 on WinXP. > Occasionally, a spam will drop into my inbox and won?t get classified > properly. Not properly, or not at all? > (Performing a manual filter on the inbox will classify it as spam) Closing and restarting Outlook should also get it scored, if it wasn't scored at all. > When this occurs, the log file contains an entry that looks > like this: > > Unexpected MAPI error opening message > Exception 0x800ccc19 (OLE error 0x800ccc19): OLE error 0x800ccc19 > > The key piece of information is probably that my inbox is on an IMAP > server. Most of the time this occurs is when I have a message > composition window open or I?m manipulating messages in some way. > (moving to other folders, etc.) The OLE exception is always the > same: 0x800ccc19. Googling on 0x800ccc19 turns up a few hundred hits, consistently saying it's a timeout error. If so, perhaps your foreground activities are starving some of Outlook's threads (e.g., my OL2K is running 16 threads as I type this), and the thread running spambayes times out due to lack of cycles to read a new msg. > I?d like to determine if this exception could be handled more > gracefully, perhaps even retrying if the conditions surrounding the > exception are transient. I'm afraid poke and hope is the only approach. There isn't sufficient Outlook documentation to out-think much of anything in advance, and the Outlook source code is closed so we can't look at that either. > ... > Does this issue merit the submission of a bug report on SourceForge? A bug report with "0x800ccc19" in the title is the best way to ensure the info isn't lost forever, and immediately so . From jwn2 at qualcomm.com Thu Jul 10 14:24:21 2003 From: jwn2 at qualcomm.com (John W. Noerenberg II) Date: Thu Jul 10 16:26:14 2003 Subject: [Spambayes] Notes on MacOS Message-ID: You may not be aware of the current work on Bayesian filtering for the upcoming release of Eudora (there are beta versions already available). We're very interested in seeing additional implementations of probabilistic filters for Eudora. The filters utilize the plug-in architecture that (should be) described at . Unfortunately, the published documentation is out of date. We have new versions that should be published by the time Eudora 6.0 is released. If anyone is interested sooner, let me know and I'll hook them up with the right folks. I'm primarily interested in the theoretical underpinnings. I'll join in the discussion after doing some lurking and reading. I have some catching up to do. best, -- john noerenberg jwn2@qualcomm.com ---------------------------------------------------------------------- A good traveller has no fixed plans and is not intent on arriving. -- Lao Tzu (c. 570-490 B.C. ---------------------------------------------------------------------- From pbo at caguama.super.unam.mx Thu Jul 10 16:54:19 2003 From: pbo at caguama.super.unam.mx (Patricia Bautista Otero) Date: Thu Jul 10 17:00:18 2003 Subject: [Spambayes] language problems Message-ID: what kind of problems a spambayes user has when using a language different of English? Thanks, for any help. pb From sawilliams at triad.rr.com Thu Jul 10 15:12:04 2003 From: sawilliams at triad.rr.com (sawilliams) Date: Thu Jul 10 17:10:46 2003 Subject: [Spambayes] Will spambayes work in a corporate Exchange 2000 environment? Message-ID: <1297127.1057871524875.JavaMail.Administrator@ATP2> Thanks. Scott From skip at pobox.com Thu Jul 10 17:11:14 2003 From: skip at pobox.com (Skip Montanaro) Date: Thu Jul 10 17:18:26 2003 Subject: [Spambayes] Creating a Eudora (Windows) plugin - how? Message-ID: <16141.54898.918896.590242@montanaro.dyndns.org> I am thinking that creating a Spambayes plugin for Eudora would be a good idea. Alas, I have no Windows programming experience. Under the assumption that I'm not going to buy Visual Whatever to do this, what free tools are available to create a DLL? I have Cygwin installed on my Win2k machine here at work, but I seem to recall something else is needed (mingw?) Any clues appreciated. Thanks, Skip From fred at adtnet.com Thu Jul 10 19:57:20 2003 From: fred at adtnet.com (Fred Moore) Date: Thu Jul 10 18:55:27 2003 Subject: [Spambayes] Question Message-ID: <001501c34736$9f844e00$f301a8c0@fred> I have been the Outlook 2000 version of this and am quite pleased at how well it works. However, I have developed a problem where it seems to be kinda dumb. There is the icon to click to get the program to force the analysis of the email and it just does nothing. I have rebooted the system twice and restarted Outlook at least twice and it just does nothing. What I am curious about, is if I reload the software will I loose all the ratings of the already determined spam email or will it leave that info alone and just reload? That?s where I am. Thanks and this is really a nice piece of work. Fred Moore A/D Technologies, Inc. 770-772-7070 x1 VOICE 770-992-5431 FAX From T.A.Meyer at massey.ac.nz Fri Jul 11 12:05:32 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Thu Jul 10 19:06:27 2003 Subject: [Spambayes] Will spambayes work in a corporate Exchange 2000environment? Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F13024E9BA4@its-xchg4.massey.ac.nz> > Subject: [Spambayes] Will spambayes work in a corporate > Exchange 2000environment? See FAQ 3.3: Will Spambayes work with Outlook 2000 connecting to an Exchange 2000 server? (In brief, yes. This does mean each Outlook user installed the plugin, not an install on the server itself). =Tony Meyer From edrubins at andisplace.com Thu Jul 10 20:30:36 2003 From: edrubins at andisplace.com (Ed Rubinsky) Date: Thu Jul 10 19:30:43 2003 Subject: [Spambayes] (no subject) Message-ID: <5.1.0.14.0.20030710192237.037f5798@localhost> Skip Montanaro wrote: >> I am thinking that creating a Spambayes plugin for Eudora would be a good >> idea. Alas, I have no Windows programming experience. Under the assumption >> that I'm not going to buy Visual Whatever to do this, what free tools are >> available to create a DLL? I have Cygwin installed on my Win2k machine here >> at work, but I seem to recall something else is needed (mingw?) Two non-answers to your question. 1. Eudora is adding Bayesian filtering to the next release. There has been mention of the beta in earlier posts to this list. 2. Spambayes can easily be used with Eudora 5.1 on W2K, even with multiple accounts on multiple servers. I posted instructions to the list several weeks ago. If your interested, contact me off-list and I can send them to you directly. Best, Ed From T.A.Meyer at massey.ac.nz Fri Jul 11 12:31:20 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Thu Jul 10 19:32:22 2003 Subject: [Spambayes] language problems Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F13024E9BC5@its-xchg4.massey.ac.nz> > what kind of problems a spambayes user has when using a language > different of English? Do you mean problems that will mean the software won't run, or problems that mean the classification won't be very accurate? For the first: apart from the Outlook plugin, everything *should* be fine. If anything doesn't work, please open a bug report and we'll do what we can to fix it. The Outlook plugin has some known problems with non-English locales (there is an open bug report about it), particularly those that use ',' as a decimal separator, rather than '.'. We're (slowly) working on it. For the second: if the language is separated into words like English (French, German, others that I don't know... :), probably including Spanish, which might be the one you're after), then things should be fine. If not (like many Asian languages), I don't think anyone really knows what will happen ;) SpamBayes will learn whatever you give it. This does mean that if most of your spam is in one language, and most of your ham in another, you may get classification errors when you get ham in the normal spam language (and vice-versa). If all your mail is in the same language, then you should be ok. By careful training (as many examples of each type, in each language), then you should be able to get around this. The list archives have (limited) discussion about this (including my (still interesting to me, but not enough to spend time on) idea about translating words). HTH. =Tony Meyer From T.A.Meyer at massey.ac.nz Fri Jul 11 12:40:20 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Thu Jul 10 19:41:04 2003 Subject: [Spambayes] Creating a Eudora (Windows) plugin - how? Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F13024E9BD6@its-xchg4.massey.ac.nz> > I am thinking that creating a Spambayes plug-in for Eudora > would be a good idea. Alas, I have no Windows programming > experience. Under the assumption that I'm not going to buy > Visual Whatever to do this, what free tools are available to > create a DLL? I have Cygwin installed on my Win2k machine > here at work, but I seem to recall something else is needed (mingw?) has information about both mac and windows plugins, in case you don't have that already (it was in a previous post). To create a dll, all you need is the gcc suite, or a variant like mingw. Depending on your cygwin install, you probably already have a version of gcc there. All you need to do is compile with the "-shared" switch (and name the output with ".dll" at the end :) - if you are using the cygwin gcc, then you should probably also compile with the "-mno-cwygin" switch as well (which removes the need for the cygwin dll to be present on the end system). Python pyd's are just dll's in hiding, right? I think this means that you could use distutils to do the compiling, too (assuming you have the compiler as well). =Tony Meyer From T.A.Meyer at massey.ac.nz Fri Jul 11 12:47:10 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Thu Jul 10 19:48:00 2003 Subject: [Spambayes] Notes on MacOS Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F13024E9BE1@its-xchg4.massey.ac.nz> > We're very interested in seeing additional > implementations of probabilistic filters for Eudora. Feel free to not answer this, but why? Do you think that the Eudora filtering isn't adequate? (I'm not trying to be rude, I just don't see why adding a feature already present is a good idea). Do you plan to adopt a better filter if someone develops one? Are you interested only in the MacOS version, or for Eudora in general (the subject only talks about the mac and not Eudora, the body talks about Eudora and not the mac...)? From a (very!) cursory glance at the architecture notes, there shouldn't be much difference between the platforms in creating the plugin. (See also Skip's post). > I'm primarily interested in the theoretical underpinnings. I'll join > in the discussion after doing some lurking and reading. I have some > catching up to do. Be sure to look at the testing setup. It would be fasincating to have a comparison of the current Eudora filtering and spambayes, if you have a setup that allows this. =Tony Meyer From vanhorn at whidbey.com Thu Jul 10 17:53:10 2003 From: vanhorn at whidbey.com (G. Armour Van Horn) Date: Thu Jul 10 19:53:13 2003 Subject: [Spambayes] Eudora (was "no subject") References: <5.1.0.14.0.20030710192237.037f5798@localhost> Message-ID: <3F0DFC66.D6D5FA7A@whidbey.com> Two semi-retorts to your non-answers: 1. Even if everybody and their brother is offering some form of Bayesian filtering, don't Eudora users deserve the *best* Bayesian filtering? 2. I remember your post, just didn't think to grab the info when it went by. I need that info more on the Mac than I do on Windows, anyway. And perhaps it should end up in the FAQ? I mention that because I was directed to the POPFile site (popfile.sourceforge.net) and was impressed by how immediately you get to simple instructions for installing POPFile with Eudora, Netscape, and Outlook Express. (POPFile is, admittedly, easier to document because it is just a proxy rather than the array of tools in the SpamBayes distribution.) Also, I note that the proxy allows you to put multiple mail servers in the configuration, but I couldn't think of how that would work. As a real example, I have one Eudora installation that picks up the mail for vanhorn@valkyrie.image-acquire.com and imaging@verbose.twistedhistory.com. I currently have Eudora/pop3proxy setup to handle the second address only, for two reasons. First, the first address doesn't get enough traffic to matter. Second, if I put both mail servers in the proxy config, and then told Eudora to pickup mail for both vanhorn@localhost and imaging@localhost, how would it know not to try to get mail for imaging@valkyrie.image-acquire.com (an account that doesn't exist) or vanhorn@twistedhistory.com (which does exist, but is handled by another system)? That left me stumped, so I'm only using it for one address. Van Ed Rubinsky wrote: > Skip Montanaro wrote: > > >> I am thinking that creating a Spambayes plugin for Eudora would be a good > >> idea. Alas, I have no Windows programming experience. Under the assumption > >> that I'm not going to buy Visual Whatever to do this, what free tools are > >> available to create a DLL? I have Cygwin installed on my Win2k machine > here > >> at work, but I seem to recall something else is needed (mingw?) > > Two non-answers to your question. > > 1. Eudora is adding Bayesian filtering to the next release. There has been > mention of the beta in earlier posts to this list. > > 2. Spambayes can easily be used with Eudora 5.1 on W2K, even with multiple > accounts on multiple servers. I posted instructions to the list several > weeks ago. If your interested, contact me off-list and I can send them to > you directly. > > Best, Ed > > _______________________________________________ > Spambayes mailing list > Spambayes@python.org > http://mail.python.org/mailman/listinfo/spambayes -- ---------------------------------------------------------- Sign up now for Quotes of the Day, a handful of quotations on a theme delivered every morning. Enlightenment! Daily, for free! mailto:twisted@whidbey.com?subject=Subscribe_QOTD For web hosting and maintenance, visit Van's home page: http://www.domainvanhorn.com/van/ ---------------------------------------------------------- From T.A.Meyer at massey.ac.nz Fri Jul 11 13:00:08 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Thu Jul 10 20:00:50 2003 Subject: [Spambayes] MAPI error prevents message scanning Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F13024E9BF8@its-xchg4.massey.ac.nz> Tim pretty much covered the actual questions, so for the other bit: > I'm a die-hard Perl > hacker, but I'd be willing to familiarize myself with Python > to contribute to the project. By all means, jump in! ( you'll like Python more than Perl anyway :p ). > (My current dream is a > centralized SpamBayes IMAP proxy for use by entire workgroups > in a corporate environment. I think it'd be cool to > eliminate the web interface for daily training of SpamBayes > and instead rely on the movement of messages between the > inbox and spam folders to trigger training.) Note that this is somewhat like how the imapfilter works - it trains on any mail moved into folders that it has been told to watch. At the moment it's poll based rather than interrupt, but that would be easily changed (polling is probably better for a user environment). The web interface isn't used at all for training (can't be, at the moment, in fact), just configuration. You might even be able to use it for groups now - I presume you're considering a central database - as long as the individual's folders are on the same server as the spam/unsure folders. Each user would run the filter, with it set up to move spam to the shared folder (alternatively, you could create a script that ran on a server that did this for you). It would be interesting to give it a go and see how well it works. If you're after something more complicated, then you might want an imap server to manage the spam folder(s) (depends on how much access to your imap server you have, really). If this is the case, let me know - I'm almost done creating an imap server (via twisted) for another spambayes app. My plan is to not check it in until it works (it's almost there), but I can do so earlier if you're interested. It is (well, should be!) abstracted enough that you could use the imap server part of it without the rest, or at least use it as a template (twisted is certainly far from the easiest package to work with). =Tony Meyer From T.A.Meyer at massey.ac.nz Fri Jul 11 13:08:16 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Thu Jul 10 20:09:29 2003 Subject: [Spambayes] Eudora (was "no subject") Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F13024E9C03@its-xchg4.massey.ac.nz> > 1. Even if everybody and their brother is offering some form > of Bayesian filtering, don't Eudora users deserve the *best* > Bayesian filtering? The question is really whether there is anything wrong with the built-in filtering. If it works, why reinvent the wheel? (Of course if the built-in filtering isn't that good, like Outlook, then there's plenty of reason). > 2. I remember your post, just didn't think to grab the info > when it went by. I need that info more on the Mac than I do > on Windows, anyway. And perhaps it should end up in the FAQ? It should end up on the mac page on the website, if nowhere else (which is almost empty at the moment!). If someone puts the information together, I'm happy to put it up; I don't really have time to do the putting together at the moment (plus I'd feel better about doing it if I had access to a mac to test what I'm saying is right). > I mention that because I was directed to the POPFile site > (popfile.sourceforge.net) and was impressed by how > immediately you get to simple instructions for installing > POPFile with Eudora, Netscape, and Outlook Express. Documentation really does need to be improved all around (well, maybe excepting the Outlook plugin). Want to volunteer? <0.5 wink>. (Note that POPFile is 'stable' (i.e. has been released), whereas spambayes is still in alpha/beta. > Also, I note that the proxy allows you to put multiple mail > servers in the configuration, but I couldn't think of how > that would work. As a real example, I have one Eudora > installation that picks up the mail for > vanhorn@valkyrie.image-acquire.com and > imaging@verbose.twistedhistory.com. It works by proxying on different ports. So you'd proxy valkyrie.image-acquire.com on 110 (or 1110) and verbose.twistedhistory.com on 111 (or 1111), for example. You setup Eudora to connect to the appropriate localhost port. =Tony Meyer From mhammond at skippinet.com.au Fri Jul 11 11:17:25 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Thu Jul 10 20:17:38 2003 Subject: [Spambayes] Question In-Reply-To: <001501c34736$9f844e00$f301a8c0@fred> Message-ID: <03da01c34741$cf0b81b0$f502a8c0@eden> Please see the "troubleshooting.html" file in the SpamBayes\doc directory - it will tell you how to locate a log for your session, and how to report a bug. In the bug, please be very clear - eg, I am not sure what you mean by the "icon to click to get the program to force the analysis of the email". Regards, Mark. > -----Original Message----- > From: spambayes-bounces@python.org > [mailto:spambayes-bounces@python.org]On Behalf Of Fred Moore > Sent: Friday, 11 July 2003 8:57 AM > To: spambayes@python.org > Subject: [Spambayes] Question > > > I have been the Outlook 2000 version of this and am quite > pleased at how > well it works. However, I have developed a problem where it > seems to be > kinda dumb. There is the icon to click to get the program to > force the > analysis of the email and it just does nothing. I have > rebooted the system > twice and restarted Outlook at least twice and it just does > nothing. What I > am curious about, is if I reload the software will I loose > all the ratings > of the already determined spam email or will it leave that > info alone and > just reload? > > That?s where I am. > > Thanks and this is really a nice piece of work. > > Fred Moore > A/D Technologies, Inc. > 770-772-7070 x1 VOICE > 770-992-5431 FAX > > _______________________________________________ > Spambayes mailing list > Spambayes@python.org > http://mail.python.org/mailman/listinfo/spambayes > > From vanhorn at whidbey.com Thu Jul 10 18:44:19 2003 From: vanhorn at whidbey.com (G. Armour Van Horn) Date: Thu Jul 10 20:44:23 2003 Subject: [Spambayes] Eudora (was "no subject") References: <1ED4ECF91CDED24C8D012BCF2B034F13024E9C03@its-xchg4.massey.ac.nz> Message-ID: <3F0E0863.3DD0AF6A@whidbey.com> "Meyer, Tony" wrote: > Documentation really does need to be improved all around (well, maybe > excepting the Outlook plugin). Want to volunteer? <0.5 wink>. (Note > that POPFile is 'stable' (i.e. has been released), whereas spambayes is > still in alpha/beta. It's possible, I'll take a look tonight and see if I want to take on a section. > > Also, I note that the proxy allows you to put multiple mail > > servers in the configuration, but I couldn't think of how > > that would work. As a real example, I have one Eudora > > installation that picks up the mail for > > vanhorn@valkyrie.image-acquire.com and > > imaging@verbose.twistedhistory.com. > > It works by proxying on different ports. So you'd proxy > valkyrie.image-acquire.com on 110 (or 1110) and > verbose.twistedhistory.com on 111 (or 1111), for example. You setup > Eudora to connect to the appropriate localhost port. I can see how that works, but the configuration suggests that you can put multiple mail servers in a single instance of the proxy. That's the part that I don't grok, and it seems it would be a definite advantage to have them running together in some cases. Of course, if they all review the same messages and feed the same database it makes no difference. Van -- ---------------------------------------------------------- Sign up now for Quotes of the Day, a handful of quotations on a theme delivered every morning. Enlightenment! Daily, for free! mailto:twisted@whidbey.com?subject=Subscribe_QOTD For web hosting and maintenance, visit Van's home page: http://www.domainvanhorn.com/van/ ---------------------------------------------------------- From jwn2 at qualcomm.com Thu Jul 10 18:42:14 2003 From: jwn2 at qualcomm.com (John W. Noerenberg II) Date: Thu Jul 10 20:56:10 2003 Subject: [Spambayes] Notes on MacOS In-Reply-To: <1ED4ECF91CDED24C8D012BCF2B034F13024E9BE1@its-xchg4.massey.ac.nz> References: <1ED4ECF91CDED24C8D012BCF2B034F13024E9BE1@its-xchg4.massey.ac.nz> Message-ID: At 11:47 AM +1200 7/11/03, Tony Meyer wrote: > > We're very interested in seeing additional >> implementations of probabilistic filters for Eudora. > >Feel free to not answer this, but why? Do you think that the Eudora >filtering isn't adequate? There's considerable interest in these kinds of filters these days. If there's a better or more reliable technique than what will be in Eudora 6.0, anyone should be able to take advantage of it. > (I'm not trying to be rude, I just don't see >why adding a feature already present is a good idea). (No offense taken) > Do you plan to >adopt a better filter if someone develops one? Speaking for myself, if I find a better plug-in for spam filtering than what appears on www.eudora.com, I'm certainly going to use it. > >Are you interested only in the MacOS version, or for Eudora in >general (the subject only talks about the mac and not Eudora, the >body talks >about Eudora and not the mac...)? My original post was written in reaction to what I saw on the MacOS support page. I hadn't looked at the Windows page, but I see now, it doesn't mention Eudora either. I'm a Mac guy, so I think first of that. But of course this applies to Eudora in general. > From a (very!) cursory glance at the >architecture notes, there shouldn't be much difference between the >platforms in creating the plugin. (See also Skip's post). Yes. The plug-in architecture is nearly identical on both Mac and Windows. > > >I'll join in the discussion after doing some lurking and reading. >I have some > > catching up to do. (Hmmm. If I'm supposed to be lurking until I figure out what's going in with spambayes, I'm doing a bad job of it. ) > >Be sure to look at the testing setup. It would be fasincating to have a >comparison of the current Eudora filtering and spambayes, if you have a >setup that allows this. Gathering some data to compare different implementations is very much in my mind. -- john noerenberg jwn2@qualcomm.com ---------------------------------------------------------------------- A good traveller has no fixed plans and is not intent on arriving. -- Lao Tzu (c. 570-490 B.C. ---------------------------------------------------------------------- From fred at adtnet.com Thu Jul 10 22:34:53 2003 From: fred at adtnet.com (Fred Moore) Date: Thu Jul 10 21:33:05 2003 Subject: [Spambayes] Attn Mark Hammond Message-ID: <001701c3474c$a1af9070$f301a8c0@fred> I have tried to reply to your email and am getting blocks on my email ?Relaying denied. Proper authentication required. Giving up. What Gives? Fred Moore A/D Technologies, Inc. 770-772-7070 x1 VOICE 770-992-5431 FAX From edrubins at andisplace.com Thu Jul 10 23:24:15 2003 From: edrubins at andisplace.com (Ed Rubinsky) Date: Thu Jul 10 22:24:22 2003 Subject: [Spambayes] Eudora Message-ID: <5.1.0.14.0.20030710220607.00b2f018@localhost> >> 1. Even if everybody and their brother is offering some form of Bayesian >> filtering, don't Eudora users deserve the *best* Bayesian filtering? Absolutely. And from what I can see Spambayes is it. >> 2. I remember your post, just didn't think to grab the info when it went by. I >> need that info more on the Mac than I do on Windows, anyway. And perhaps it should >> end up in the FAQ? For each POP3 server you configure in pop3proxy you assign a separate port. Then you configure Eudora to poll localhost:port, where port is the port you configured in pop3proxy. To use your example: valkyrie.image-acquire.com <==> pop3proxy <==> localhost:1010 (1010 is the port) <==>Eudora (vanhorn's personality.) verbose.twistedhistory.com <==> pop3proxy <==> localhost:1020 (1020 is the port.) <==>Eudora (imaging's personality.) In Eudora, for vanhorn's POP3 server you specify localhost port 1010 as the server, for imaging you specify localhost port 1020. The trick (on Windows, at least) is that Eudora reads a configuration file on startup, and that's where you make the changes, as opposed to configuring through Eudora's menu's. If, like its Windows cousin, the MAC version reads a "eudora.ini" configuration file on startup, then it should work the same way. Try searching help for eudora.ini. Best, Ed From fred at adtnet.com Thu Jul 10 23:35:54 2003 From: fred at adtnet.com (Fred Moore) Date: Thu Jul 10 22:33:57 2003 Subject: [Spambayes] Relaying Message-ID: <002f01c34755$276ec930$f301a8c0@fred> This host is not listed in ORDB as an open mail relay Main database status for 209.130.39.141 (209.130.39.141) Look up this host in non-ORDB RBL's (May take a while to load) The host 209.130.39.141 is not in the main database Queue status for 209.130.39.141 (209.130.39.141) The host 209.130.39.141 is not queued for testing at this time You may schedule a retest of 209.130.39.141 by clicking here Why am I being BLOCKED by MHAMMOND@skippinet.com.au>... Relaying denied. Proper authentication required. Giving up. Fred Moore A/D Technologies, Inc. 770-772-7070 x1 VOICE 770-992-5431 FAX From skip at pobox.com Thu Jul 10 22:58:54 2003 From: skip at pobox.com (Skip Montanaro) Date: Thu Jul 10 22:59:03 2003 Subject: [Spambayes] Notes on MacOS In-Reply-To: References: <1ED4ECF91CDED24C8D012BCF2B034F13024E9BE1@its-xchg4.massey.ac.nz> Message-ID: <16142.10222.276059.443016@montanaro.dyndns.org> John> My original post was written in reaction to what I saw on the John> MacOS support page. I hadn't looked at the Windows page, but I John> see now, it doesn't mention Eudora either. I'm a Mac guy, so I John> think first of that. But of course this applies to Eudora in John> general. There is only me to blame for the platform-specific pages. Feel free to send me changes. Skip From T.A.Meyer at massey.ac.nz Fri Jul 11 16:55:42 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Thu Jul 10 23:56:27 2003 Subject: [spambayes-dev] RE: [Spambayes] Question Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F13024E9CE3@its-xchg4.massey.ac.nz> > Any objection if I "mirror" the troubleshooting page on the website? I put a link to the cvs version on the doc page (and the 'about' page, but not the configuration one), but it would be better if someone (i.e. you ;) took the time to put a 'proper' version there... =Tony Meyer From mhammond at skippinet.com.au Fri Jul 11 16:22:52 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Fri Jul 11 01:23:08 2003 Subject: [Spambayes] Attn Mark Hammond In-Reply-To: <001701c3474c$a1af9070$f301a8c0@fred> Message-ID: <04d401c3476c$7aa61290$f502a8c0@eden> I have no idea :( I'm still getting plenty of mail though! Mark. > I have tried to reply to your email and am getting blocks on my email > ?Relaying denied. Proper authentication required. > Giving up. > > > What Gives? From richie at entrian.com Fri Jul 11 08:11:04 2003 From: richie at entrian.com (Richie Hindle) Date: Fri Jul 11 02:16:01 2003 Subject: [Spambayes] Eudora (was "no subject") In-Reply-To: <3F0E0863.3DD0AF6A@whidbey.com> References: <1ED4ECF91CDED24C8D012BCF2B034F13024E9C03@its-xchg4.massey.ac.nz> <3F0E0863.3DD0AF6A@whidbey.com> Message-ID: <8qksgvgo99t65lpmo67673o87fppd21l0p@4ax.com> [Van] > multiple mail servers [...] I couldn't think of how that would work. [Tony] > It works by proxying on different ports. [Van] > I can see how that works, but the configuration suggests that you can put > multiple mail servers in a single instance of the proxy. That's the part > that I don't grok, and it seems it would be a definite advantage to have > them running together in some cases. Of course, if they all review the same > messages and feed the same database it makes no difference. Depends what you mean by "a single instance". There's only ever one pop3proxy *process* using this system, and it listens and serves on multiple ports simultaneously. The web user interface is also served simultaneously by the same process. And of course this single process uses a single database. We have had reports that some versions of Eudora don't let you configure different ports on the same machine for different POP3 accounts. Here's the workaround (taken from my Linux Journal supplement page at http://www.entrian.com/spambayes/): ------------------------------------------------------------------------ *Running multiple proxies on the same port* Some email clients (notably Eudora) don't let you set different ports for different POP3 servers. This is problem for Spambayes, because the POP3 proxy can only talk to one server per port. The workaround for this is to assign multiple addresses to your machine, and run one proxy per address. Here's an example (for MacOS X, but it should work similarly on any Unix-based platform). It runs two POP3 proxies, both on port 110 but on different local addresses: #!/bin/sh sudo ifconfig lo0 inet 127.0.0.2 add sudo python pop3proxy.py And in bayescustomize.ini: pop3proxy_servers = pop3.example1.com, pop3.example2.com pop3proxy_ports = 127.0.0.1:110, 127.0.0.2:110 ------------------------------------------------------------------------ Hope that helps, -- Richie Hindle richie@entrian.com From admin at eco.com.au Fri Jul 11 19:22:31 2003 From: admin at eco.com.au (C Jane MacDiarmid) Date: Fri Jul 11 04:22:44 2003 Subject: [Spambayes] would like to use in Eudora Message-ID: <001b01c34785$95ca2020$0100000a@userl36dbgy5vh> HI Can you tell us where we can find help to use spambayes with Eudora please? Great system Jane ***** EcoProperty Pty Ltd Web Forums now open - see HYPERLINK "http://www.eco.com.au/forums"www.eco.com.au/forums Ph (03) 5348 1546 Eco Real Estate EcoProperty for sale or rent * Bookshop * Newsletter * the ECO Directory Ph (02) 9528 8614 Global Eco Networking * Eco Home Stay HYPERLINK "http://www.eco.com.au/"www.eco.com.au - Properties and Products for Sustainable Living --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.500 / Virus Database: 298 - Release Date: 10/07/2003 From skip at pobox.com Fri Jul 11 08:25:15 2003 From: skip at pobox.com (Skip Montanaro) Date: Fri Jul 11 08:25:24 2003 Subject: [Spambayes] would like to use in Eudora In-Reply-To: <001b01c34785$95ca2020$0100000a@userl36dbgy5vh> References: <001b01c34785$95ca2020$0100000a@userl36dbgy5vh> Message-ID: <16142.44203.279129.50531@montanaro.dyndns.org> Jane> Can you tell us where we can find help to use spambayes with Jane> Eudora please? To use Spambayes with Eudora you need to * run pop3proxy or imapfilter (depending if you use POP or IMAP to retrieve your messages) * use something like fetchmail to grab your mail and feed it to hammiefilter, then read mail locally Your best bet is probably the first option. Neither will be as tightly integrated with Eudora as the Outlook plugin is. Skip From skip at pobox.com Fri Jul 11 08:53:03 2003 From: skip at pobox.com (Skip Montanaro) Date: Fri Jul 11 08:53:15 2003 Subject: [spambayes-dev] RE: [Spambayes] Question In-Reply-To: <1ED4ECF91CDED24C8D012BCF2B034F13024E9CE3@its-xchg4.massey.ac.nz> References: <1ED4ECF91CDED24C8D012BCF2B034F13024E9CE3@its-xchg4.massey.ac.nz> Message-ID: <16142.45871.665656.644881@montanaro.dyndns.org> >> Any objection if I "mirror" the troubleshooting page on the website? Tony> I put a link to the cvs version on the doc page (and the 'about' Tony> page, but not the configuration one), but it would be better if Tony> someone (i.e. you ;) took the time to put a 'proper' version Tony> there... Hmmm... I don't really want to duplicate Mark's effort, and if separated, the two versions will eventually get out-of-sync. I think your compromise is the best for the time being, though it would be nice to have a local copy which doesn't rely on the vagaries of SF CVS. I added a link to it from the FAQ in the first question about the Outlook Plugin. Skip From jon.skeet at peramon.com Fri Jul 11 15:13:15 2003 From: jon.skeet at peramon.com (Jon Skeet) Date: Fri Jul 11 09:14:05 2003 Subject: [Spambayes] Outlook plug-in - when *exactly* does the message get changed? Message-ID: Hi, I'm afraid my question is relatively detailed - not the kind of thing which is likely to make it into a FAQ. The heart of it is that I'm running the SpamBayes Outlook plug-in, and I need to know what triggers SpamBayes to run. Here's the more detailed picture: o We have an Exchange server running, and everyone uses Outlook o We also have a notification server. This polls the server using IMAP4 once every 10 minutes. It looks for unread messages with a UID higher than it's seen before, and sends a summary SMS to people based on this. When it reads a message, it then marks it as unread again so as not to interfere with normal client operation. o We're running the SpamBayes Outlook plug-in on many of the clients We've noticed we've started getting duplicate notifications - ie the notification server is noticing the message twice, eg once at 3.15 and then again at 3.25. The reason for this is that when SpamBayes marks the message with a spam percentage, its UID changes - so we see it as new again. We had expected that SpamBayes would mark the message as soon as it came in, which would mean the window where the notification server could see it before it had been marked by SpamBayes would be very short - but it seems this doesn't happen. It's almost as if a message is marked when the *next* message arrives, or something similar. Given that various things (like poking the IMAP server or refreshing Outlook) could trigger SpamBayes, we're in a sort of quantum situation - we can't diagnose what's going on without possibly screwing up the results. Some more definitive information would be very much appreciated! Many thanks for your time (and for SpamBayes itself!), Jon Skeet From papaDoc at videotron.ca Fri Jul 11 10:16:56 2003 From: papaDoc at videotron.ca (papaDoc) Date: Fri Jul 11 09:16:59 2003 Subject: [Spambayes] Find which db is used by pop3proxy Message-ID: <3F0EB8C8.3030309@videotron.ca> Hi, I'm having some trouble, my database is corrupted. ;-6 So before retraining. I want to know if I'm using dumbdbm. Since a lot of people are saying this is not the best database to use on Windows. Is there a simple way to find out which db is used ? If I'm using dumbdbm should I switch to bsddb3 or PyBSDDB Remi papaDoc@videotron.ca From patrick at keogh.net.au Sat Jul 12 00:21:28 2003 From: patrick at keogh.net.au (Patrick Keogh) Date: Fri Jul 11 09:21:36 2003 Subject: [Spambayes] Attn Mark Hammond In-Reply-To: Message-ID: <004401c347af$56d16c00$0a7114cb@keogh.net.au> Mark, Actually, I've had the same error when trying to send you mail. Just a second data point ... Patrick From frazer at beacon.com Fri Jul 11 10:23:52 2003 From: frazer at beacon.com (Patrick Frazer) Date: Fri Jul 11 09:23:53 2003 Subject: [Spambayes] MAPI error prevents message scanning In-Reply-To: <1ED4ECF91CDED24C8D012BCF2B034F13024E9BF8@its-xchg4.massey.ac.nz> Message-ID: -----Original Message----- From: Meyer, Tony [mailto:T.A.Meyer@massey.ac.nz] Sent: Thursday, July 10, 2003 8:00 PM To: Patrick Frazer; spambayes@python.org Subject: RE: [Spambayes] MAPI error prevents message scanning By all means, jump in! ( you'll like Python more than Perl anyway :p ). [Reply] I try not to be a language bigot, so you might be right. I just haven't had occasion thus far to get familiar with it. Note that this is somewhat like how the imapfilter works - it trains on any mail moved into folders that it has been told to watch. At the moment it's poll based rather than interrupt, but that would be easily changed (polling is probably better for a user environment). The web interface isn't used at all for training (can't be, at the moment, in fact), just configuration. [Reply] Hmm, interesting. I guess I assumed it worked similar to the POP3 proxy. I'll have to look at the code... You might even be able to use it for groups now - I presume you're considering a central database - as long as the individual's folders are on the same server as the spam/unsure folders. Each user would run the filter, with it set up to move spam to the shared folder (alternatively, you could create a script that ran on a server that did this for you). It would be interesting to give it a go and see how well it works. [Reply] What I'm most interested in is to have a single daemon running on the server that will service an entire workgroup, but maintain separate databases for each user. I've written a special-purpose IMAP server in Perl that nicely spawns and reaps threads to keep pace with the number of connections. It answers each user on the same port and learns who it is servicing by watching for the user's credentials. I'm assuming that running the SpamBayes IMAP proxy for 50 users on a server would require 50 individual processes configured to listen to 50 different ports. That's what I'm trying to avoid because it sounds like a nightmare. I'm trying to think of a solution that would allow a pointy-haired boss to start using the service without involving a sysadmin, require no software installation on the local computer and maintain SpamBayes databases on a server that would allow seamless spam filtering regardless of where you connect from. (As long as you always use the same proxy, of course) It seems doable, but it's just a matter of trying to find the time to hack such a beast together. If you're after something more complicated, then you might want an imap server to manage the spam folder(s) (depends on how much access to your imap server you have, really). If this is the case, let me know - I'm almost done creating an imap server (via twisted) for another spambayes app. My plan is to not check it in until it works (it's almost there), but I can do so earlier if you're interested. It is (well, should be!) abstracted enough that you could use the imap server part of it without the rest, or at least use it as a template (twisted is certainly far from the easiest package to work with). [Reply] I'd be very interested in seeing the code. At the very least, it would demonstrate an IMAP server in Python and keep me from having to reinvent the wheel. Thanks for mentioning 'Twisted'; I'm going to learn more about it. Like I said, I'm a Python newbie but I'm willing to get familiar with it. I've written a rule-base spam filter (in Perl, of course) that a lot of people in my organization use, but I'm tired of maintaining the rule set and I know I could never get the accuracy of my filter anywhere near SpamBayes. Rather than hack up my own Bayesian filter, I'd rather try to contribute a superstructure over SpamBayes that would help make it a corporate solution to spam rather than a distributed (on the desktop) solution. Besides, it's a good excuse to learn a new language... -Patrick From skip at pobox.com Fri Jul 11 09:59:53 2003 From: skip at pobox.com (Skip Montanaro) Date: Fri Jul 11 10:00:05 2003 Subject: [Spambayes] Find which db is used by pop3proxy In-Reply-To: <3F0EB8C8.3030309@videotron.ca> References: <3F0EB8C8.3030309@videotron.ca> Message-ID: <16142.49881.963263.844223@montanaro.dyndns.org> Remi> If I'm using dumbdbm should I switch to bsddb3 or PyBSDDB Yes, I think so. Remi> Is there a simple way to find out which db is used ? Yes. Here's a short interactive session which shows how to use the whichdb module to identify the module which should be used to open an existing db file. First it creates a dumbdbm file, then uses whichdb to detect it, an existing hammie db file and a nonexistent file. >>> import dumbdbm >>> db = dumbdbm.open("dumbdb", "c") >>> db["1"] = "1" >>> db.close() >>> import whichdb >>> whichdb.whichdb("dumbdb") 'dumbdbm' >>> whichdb.whichdb("hammie.db") 'dbhash' >>> whichdb.whichdb("nonexistent.db") >>> Skip From stuart.brogden at hp.com Fri Jul 11 10:07:33 2003 From: stuart.brogden at hp.com (Brogden, Stuart) Date: Fri Jul 11 10:13:56 2003 Subject: [Spambayes] Failed to call the universal dispatcher Message-ID: <957013D25A74364C95AA6D9275AA79DD06A6D68B@cceexc18.americas.cpqcorp.net> Spambayes has been working fine on my W2K PC with Outlook 2000. Two days ago, it quit loading and although the Spambayes addin is listed inthe options tab, it won't stay selected! Attached is the log file. I would appreciate hearing back. Many thanks, Stuart L. Brogden Romans 8:1 -------------- next part -------------- A non-text attachment was scrubbed... Name: spambayes1.log Type: application/octet-stream Size: 4956 bytes Desc: spambayes1.log Url : http://mail.python.org/pipermail/spambayes/attachments/20030711/32ca0840/spambayes1.obj From balfson at mediasoftusa.com Fri Jul 11 10:27:48 2003 From: balfson at mediasoftusa.com (Bob Alfson) Date: Fri Jul 11 10:28:56 2003 Subject: [Spambayes] SpamBayes for Outlook Message-ID: <313AB038FC08D5118ADC0008C75DE36FAA8C9E@exchange.microageokc.com> When I click on "Delete as Spam," or the undelete button, it takes several seconds for the item to disappear. It seems reasonable to assume that it should go away as fast as a drag and drop into the Spam folder. From skip at pobox.com Fri Jul 11 10:36:11 2003 From: skip at pobox.com (Skip Montanaro) Date: Fri Jul 11 10:36:32 2003 Subject: [Spambayes] SpamBayes for Outlook In-Reply-To: <313AB038FC08D5118ADC0008C75DE36FAA8C9E@exchange.microageokc.com> References: <313AB038FC08D5118ADC0008C75DE36FAA8C9E@exchange.microageokc.com> Message-ID: <16142.52059.864290.761057@montanaro.dyndns.org> Bob> When I click on "Delete as Spam," or the undelete button, it takes Bob> several seconds for the item to disappear. It seems reasonable to Bob> assume that it should go away as fast as a drag and drop into the Bob> Spam folder. When it moves it from your inbox to your spam folder it also has to untrain it as a good message and retrain it as spam. There's more going on than the shuffle of a couple pointers. Skip From hwilkins at harrahs.com Fri Jul 11 13:16:07 2003 From: hwilkins at harrahs.com (Bobby Wilkins) Date: Fri Jul 11 13:16:47 2003 Subject: [Spambayes] illegal header tanks SpamBayes Message-ID: I believe I already reported this before, but SpamBayes (v3 of the Outlook installer) does not recognize the following SMTP header, and refuses to process the email: X-MS-Mail-Gibberish I am seeing an increasing number of these, so it appears that the spammers are figuring out that spam-processors are bombing on illegal headers... From skip at pobox.com Fri Jul 11 13:58:22 2003 From: skip at pobox.com (Skip Montanaro) Date: Fri Jul 11 13:58:37 2003 Subject: [Spambayes] illegal header tanks SpamBayes In-Reply-To: References: Message-ID: <16142.64190.176847.265828@montanaro.dyndns.org> Bobby> I believe I already reported this before, but SpamBayes (v3 of Bobby> the Outlook installer) does not recognize the following SMTP Bobby> header, and refuses to process the email: Bobby> X-MS-Mail-Gibberish Bobby> I am seeing an increasing number of these, so it appears that the Bobby> spammers are figuring out that spam-processors are bombing on Bobby> illegal headers... Funny, I don't have a single mail message anywhere (except the one I'm replying to) which contains that string. Could it be that Outlook is adding it? Skip From db3l at fitlinxx.com Fri Jul 11 19:02:56 2003 From: db3l at fitlinxx.com (David Bolen) Date: Fri Jul 11 14:02:57 2003 Subject: [Spambayes] Re: Outlook plug-in - when *exactly* does the message get changed? References: Message-ID: "Jon Skeet" writes: (...) > We had expected that SpamBayes would mark the message as soon as it > came in, which would mean the window where the notification server > could see it before it had been marked by SpamBayes would be very > short - but it seems this doesn't happen. It's almost as if a > message is marked when the *next* message arrives, or something > similar. Given that various things (like poking the IMAP server or > refreshing Outlook) could trigger SpamBayes, we're in a sort of > quantum situation - we can't diagnose what's going on without > possibly screwing up the results. Some more definitive information > would be very much appreciated! It's just a guess, but this could related to an Exchange server interaction problem that causes many of us to see a message show up again as unread even though we've read it. There's an open bug on it at SourceForge, but I don't have the number handy (it's probably searchable by using "unread" since the problem was messages reverting to an unread status). What seems to happen is that even though SpamBayes is telling Outlook to update the message status, that action gets delayed for some reason within Outlook itself. Typically the update then occurs when the user performs the next operation in Outlook or some other Outlook event occurs (such as a message arriving). So for example, a new message may come in and you open it up to read right away. You can be watching your summary pane and the message, and the summary pane will never show the Spam field update. But once you close your message it'll suddenly update. I'm just guessing but perhaps that's the same delay you are seeing on the server side, and the gap is how long a particular user takes to have a new event in the client, thus flushing the request back to the server. The confusing part is that SpamBayes is already trying to tell the server to make the change (not queue it up). The bug report on SourceForge has a patch (hack) that I did to the filter module (effectively making a change twice) that works for almost all of my users (except for one with a slow laptop, so its probably a timing thing in Outlook). Mark tried something else I think in the 03 version of the binary but it didn't work as well for me. The change is crude but if you were willing to run from source you might try it just to see if it impats the behavior you're seeing. This seems limited going against an Exchange server, which at least in the past has been a minority of Windows SpamBayes users. -- David From parnold at CuraGen.com Fri Jul 11 15:09:25 2003 From: parnold at CuraGen.com (Arnold, Paul) Date: Fri Jul 11 14:09:33 2003 Subject: [Spambayes] illegal header tanks SpamBayes Message-ID: <5A1D8FAF546576439E5E0BEE5E4E772AD24740@ENTERPRISEA.CURAGEN.COM> Nope. Check this mailing list for Wed 7/9/2003 4:14 PM [Spambayes] error in log - from:Bobby Wilkins [hwilkins@???????.com] and Fri 6/27/2003 1:00 PM [Spambayes] Can we give recovered non-spam more priority ? - from: Murnaghan, Tim [murnt1@??.com] Paul -----Original Message----- From: Skip Montanaro [mailto:skip@pobox.com] Sent: Friday, July 11, 2003 1:58 PM To: Bobby Wilkins Cc: spambayes@python.org Subject: Re: [Spambayes] illegal header tanks SpamBayes Bobby> I believe I already reported this before, but SpamBayes (v3 of Bobby> the Outlook installer) does not recognize the following SMTP Bobby> header, and refuses to process the email: Bobby> X-MS-Mail-Gibberish Bobby> I am seeing an increasing number of these, so it appears that the Bobby> spammers are figuring out that spam-processors are bombing on Bobby> illegal headers... Funny, I don't have a single mail message anywhere (except the one I'm replying to) which contains that string. Could it be that Outlook is adding it? Skip _______________________________________________ Spambayes mailing list Spambayes@python.org http://mail.python.org/mailman/listinfo/spambayes LEGAL NOTICE: Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this e-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately. From skip at pobox.com Fri Jul 11 14:33:22 2003 From: skip at pobox.com (Skip Montanaro) Date: Fri Jul 11 14:33:33 2003 Subject: [Spambayes] illegal header tanks SpamBayes In-Reply-To: <5A1D8FAF546576439E5E0BEE5E4E772AD24740@ENTERPRISEA.CURAGEN.COM> References: <5A1D8FAF546576439E5E0BEE5E4E772AD24740@ENTERPRISEA.CURAGEN.COM> Message-ID: <16143.754.766272.943869@montanaro.dyndns.org> Paul> Nope. Check this mailing list for Paul> Wed 7/9/2003 4:14 PM [Spambayes] error in log - from:Bobby Wilkins [hwilkins@???????.com] Paul> and Paul> Fri 6/27/2003 1:00 PM [Spambayes] Can we give recovered non-spam more priority ? - from: Murnaghan, Tim [murnt1@??.com] I did a little more poking around, eventually ending in a Google search which turned up precisely two hits, one a response from TimP to Piers Haken back in November: http://mail.python.org/pipermail-21/spambayes/2002-November/001457.html Tim surmised the "Microsoft Mail Internet Headers Version 2.0" garbage was inserted by Exchange. Piers had proposed inserting "X-MS-Mail-Gibberish: " to the start of any message which began with the above string. I don't see it in the code base anywhere. I don't know where you might be getting it. The second hit was also a note from TimP about something else which happened to contain X-MS-Mail-Gibberish in the message body. Skip From hwilkins at harrahs.com Fri Jul 11 14:35:13 2003 From: hwilkins at harrahs.com (Bobby Wilkins) Date: Fri Jul 11 14:35:48 2003 Subject: [Spambayes] illegal header tanks SpamBayes Message-ID: Not unless it is magically adding it to only a few a day... I said it was increasing, not total ;^) I got one several days ago, one day-before yesterday, 2 yesterday, and 4 so far today. I receive upwards of 200 spam messages per day, so I'm probably getting a lot of things now that others will see later... -----Original Message----- From: Skip Montanaro [mailto:skip@pobox.com] Sent: Friday, July 11, 2003 12:58 PM To: Bobby Wilkins Cc: spambayes@python.org Subject: Re: [Spambayes] illegal header tanks SpamBayes Bobby> I believe I already reported this before, but SpamBayes (v3 of Bobby> the Outlook installer) does not recognize the following SMTP Bobby> header, and refuses to process the email: Bobby> X-MS-Mail-Gibberish Bobby> I am seeing an increasing number of these, so it appears that the Bobby> spammers are figuring out that spam-processors are bombing on Bobby> illegal headers... Funny, I don't have a single mail message anywhere (except the one I'm replying to) which contains that string. Could it be that Outlook is adding it? Skip From skip at pobox.com Fri Jul 11 14:40:07 2003 From: skip at pobox.com (Skip Montanaro) Date: Fri Jul 11 14:40:16 2003 Subject: [Spambayes] illegal header tanks SpamBayes In-Reply-To: References: Message-ID: <16143.1159.989957.478023@montanaro.dyndns.org> Bobby> I receive upwards of 200 spam messages per day, so I'm probably Bobby> getting a lot of things now that others will see later... Me too. Out of over 5000 pending spams received over the past couple months (those I haven't yet scanned for false positives) I don't see that. See my previous post and try a Google search. If this was starting to be a widespread spammer tactic, you'd see it discussed other places. The only place I can see this has ever come up is on this list though. Skip From tim.one at comcast.net Fri Jul 11 15:44:39 2003 From: tim.one at comcast.net (Tim Peters) Date: Fri Jul 11 14:45:15 2003 Subject: [Spambayes] illegal header tanks SpamBayes In-Reply-To: <16142.64190.176847.265828@montanaro.dyndns.org> Message-ID: [Skip] > Bobby> I believe I already reported this before, but SpamBayes > (v3 of > Bobby> the Outlook installer) does not recognize the > following SMTP > Bobby> header, and refuses to process the email: > Bobby> X-MS-Mail-Gibberish > > Bobby> I am seeing an increasing number of these, so it appears > that the > Bobby> spammers are figuring out that spam-processors > are bombing on > Bobby> illegal headers... > Funny, I don't have a single mail message anywhere (except the one I'm > replying to) which contains that string. Could it be that Outlook is > adding it? Yes, the Outlook addin *sometimes* generates an X-MS-Mail-Gibberish header, to disguise that Outlook itself can produce an invalid (non-RFC compliant) header section. See msgstore.py in the Outlook2000 directory: # Mail delivered via the Exchange Internet Mail MTA may have # gibberish at the start of the headers - fix this. elif headers.startswith("Microsoft Mail"): headers = "X-MS-Mail-Gibberish: " + headers The Python email package accepts any RFC-compliant string of characters as a header tag. We made up "X-MS-Mail-Gibberish" out of thin air, and it's not the cause of Bobby's problem (although that such msgs are delivered by an Exchange server may be part of a problem). From hwilkins at harrahs.com Fri Jul 11 14:46:14 2003 From: hwilkins at harrahs.com (Bobby Wilkins) Date: Fri Jul 11 14:46:51 2003 Subject: [Spambayes] illegal header tanks SpamBayes Message-ID: That is interesting. Perhaps it is a red herring; perhaps all my messages have that string, and the actual error is elsewhere. I mentioned it because it looked suspicious to me. Having an idea what its origin is, I guess I need further help understanding why SpamBayes is failing on messages like the one below. Here is the log-extract: Moving and spam training message 'Get an Unsecured Platinum Card. No Credit Checks' - FAILED to create email.message from: 'X-MS-Mail-Gibberish: Microsoft Mail Internet Headers Version 2.0\r\nReceived: from memex2.harrahs.org ([10.3.5.44]) by entcmail1.harrahs.org with Microsoft SMTPSVC(5.0.2195.5329);\r\n\t Fri, 11 Jul 2003 11:59:52 -0500\r\nReceived: from mail6.aswediscussed.com ([64.253.204.211]) by memex2.harrahs.org with Microsoft SMTPSVC(5.0.2195.5329);\r\n\t Fri, 11 Jul 2003 11:59:54 -0500\r\nReceived: from aswediscussed.com (192.168.1.8)\r\n by mail6.aswediscussed.com with SMTP; 11 Jul 2003 12:59:53 -0400\r\nFrom: As We Discussed<584-2076846-unsubscribe@aswediscussed.com>\r\nTo: hwilkins@harrahs.com \r\nSubject: Get an Unsecured Platinum Card. No Credit Checks\r\nDate: Fri, 11 Jul 2003 10:56:27 -0400\r\nContent-Type: multipart/alternative;\r\n boundary="= Multipart Boundary 2076846" \r\nX-Priority: 3 \r\nX-MSMail-Priority: Normal \r\nX-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) \r\nX-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 \r\nMime-Version: 1.0 \r\nReturn-Path: 584-2076846-unsubscribe@aswediscussed.com\r\nMessage-ID: \r\nX-OriginalArrivalTime: 11 Jul 2003 16:59:54.0239 (UTC) FILETIME=[D9AD58F0:01C347CD]\r\n\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n\r\n\r\n\r\n 
 
To stop receiving offers Go Here or send mail to:
Unsubscribe Department
1730 S. Federal Hwy, Suite 116
Delray Beach, FL 33483
\r\n\r\n\r\n\r\n--= Multipart Boundary 2076846-- \r\n\r\n\nCongratulations! You have been selected to receive a \r\n$7500 unsecured Platinum Credit Card \r\nfrom USA Platinum! \r\n\r\nYour approval is guaranteed*. \r\nSimply click on the link below to complete \r\nthe application\r\n\r\nhttp://www.aswediscussed.com/c/c584c.php?ea=aHdpbGtpbnNAaGFycmFocy5jb20=\r\n\r\nThis offer is valid even if you\'ve had past credit problems or \r\neven no credit history. Now you \r\ncan receive a $7,500 unsecured \r\nPlatinum Credit Card that can help build your credit. And to help \r\nget your card to you sooner, we have been authorized to waive any \r\nemployment or credit verification.\r\n\r\nhttp://www.aswediscussed.com/c/c584c.php?ea=aHdpbGtpbnNAaGFycmFocy5jb20=\r\n\r\nThat\'s right, now you can enjoy great merchandise while establishing \r\nyour credit because the \r\nUSA Platinum Credit Card reports your new \r\ncredit to the major credit bureaus. We can help you \r\nestablish your \r\ncredit while you purchase the items you want to have today! \r\n\r\nhttp://www.aswediscussed.com/c/c584c.php?ea=aHdpbGtpbnNAaGFycmFocy5jb20=\r\n\r\nYour approval is guaranteed*! Act now and claim your unsecured USA \r\nPlatinum Credit Card with a \r\nstarting $7500 credit limit today. \r\n\r\nhttp://www.aswediscussed.com/c/c584c.php?ea=aHdpbGtpbnNAaGFycmFocy5jb20=\r\n\r\nSincerely,\r\n\r\nYour New Offers Department\r\n\r\n(*see web site for qualifications)\r\n\r\n\r\nStop receiving offers:\r\nhttp://www.aswediscussed.com/unsubscribe/?ea=hwilkins@harrahs.com\r\n\r\n' pythoncom error: Python error invoking COM method. Traceback (most recent call last): File "out1.pyz/win32com.server.policy", line 275, in _Invoke_ File "out1.pyz/win32com.server.policy", line 280, in _invoke_ File "out1.pyz/win32com.server.policy", line 541, in _invokeex_ File "out1.pyz/addin", line 384, in OnClick File "out1.pyz/train", line 46, in train_message File "out1.pyz/msgstore", line 681, in GetEmailPackageObject File "out1.pyz/email", line 52, in message_from_string File "out1.pyz/email.Parser", line 75, in parsestr File "out1.pyz/email.Parser", line 64, in parse File "out1.pyz/email.Parser", line 239, in _parsebody File "out1.pyz/email.Parser", line 75, in parsestr File "out1.pyz/email.Parser", line 62, in parse File "out1.pyz/email.Parser", line 111, in _parseheaders email.Errors.HeaderParseError: Continuation line seen before first header -----Original Message----- From: Skip Montanaro [mailto:skip@pobox.com] Sent: Friday, July 11, 2003 1:33 PM To: Arnold, Paul Cc: spambayes@python.org Subject: RE: [Spambayes] illegal header tanks SpamBayes I did a little more poking around [...] Piers had proposed inserting "X-MS-Mail-Gibberish: " to the start of any message which began with the above string. I don't see it in the code base anywhere. I don't know where you might be getting it. The second hit was also a note from TimP about something else which happened to contain X-MS-Mail-Gibberish in the message body. From hwilkins at harrahs.com Fri Jul 11 14:48:32 2003 From: hwilkins at harrahs.com (Bobby Wilkins) Date: Fri Jul 11 14:49:07 2003 Subject: [Spambayes] illegal header tanks SpamBayes Message-ID: How would I better diagnose the problem? I included the log-extract in another email. -----Original Message----- From: Tim Peters [mailto:tim.one@comcast.net] [...] We made up "X-MS-Mail-Gibberish" out of thin air, and it's not the cause of Bobby's problem (although that such msgs are delivered by an Exchange server may be part of a problem). From skip at pobox.com Fri Jul 11 15:23:59 2003 From: skip at pobox.com (Skip Montanaro) Date: Fri Jul 11 15:24:08 2003 Subject: [Spambayes] illegal header tanks SpamBayes In-Reply-To: References: Message-ID: <16143.3791.383918.223300@montanaro.dyndns.org> Bobby> How would I better diagnose the problem? I included the Bobby> log-extract in another email. I dumped the message you attached into a file, prepended a From_ line to the front and ran hammiefilter.py over it. It scored as a 1.00 spam. The message does look a bit wacky though. There's no Content-Type header after the separator. What version of the installer did you use? If you haven't installed 003 can you give that a try? Skip From hwilkins at harrahs.com Fri Jul 11 16:34:21 2003 From: hwilkins at harrahs.com (Bobby Wilkins) Date: Fri Jul 11 16:34:59 2003 Subject: [Spambayes] illegal header tanks SpamBayes Message-ID: I'm already using the v3 installer. -----Original Message----- From: Skip Montanaro [mailto:skip@pobox.com] Bobby> How would I better diagnose the problem? I included the Bobby> log-extract in another email. I dumped the message you attached into a file, prepended a From_ line to the front and ran hammiefilter.py over it. It scored as a 1.00 spam. The message does look a bit wacky though. There's no Content-Type header after the separator. What version of the installer did you use? If you haven't installed 003 can you give that a try? From tim.one at comcast.net Fri Jul 11 17:58:22 2003 From: tim.one at comcast.net (Tim Peters) Date: Fri Jul 11 16:59:02 2003 Subject: [Spambayes] illegal header tanks SpamBayes In-Reply-To: <16143.3791.383918.223300@montanaro.dyndns.org> Message-ID: [Skip] > I dumped the message you attached into a file, prepended a From_ line > to the front and ran hammiefilter.py over it. It scored as a 1.00 > spam. The message does look a bit wacky though. There's no > Content-Type header after the separator. The failure is peculiar for a different reason: The msg began X-MS-Mail-Gibberish: Microsoft Mail Internet Headers Version 2.0\r\n Received: from memex ... and, specifically, the letter 'X' was the first character in the string, but the exception at the end was email.Errors.HeaderParseError: Continuation line seen before first header Those don't jibe together. That is, X-MS-Mail-Gibberish was the first header line, and there's obviously no continuation line before it. We *expect* that specific exception only if the first line the email pkg sees begins with whitespace. Since nobody else has reported this (at least not that I'm aware of), it makes me wonder whether Bobby's Python or email pkg installation is hosed. From skip at pobox.com Fri Jul 11 19:37:30 2003 From: skip at pobox.com (Skip Montanaro) Date: Fri Jul 11 19:37:37 2003 Subject: [Spambayes] illegal header tanks SpamBayes In-Reply-To: References: <16143.3791.383918.223300@montanaro.dyndns.org> Message-ID: <16143.19002.791114.39254@montanaro.dyndns.org> Tim> The failure is peculiar for a different reason: The msg began Tim> X-MS-Mail-Gibberish: Microsoft Mail Internet Headers Version 2.0\r\n Tim> Received: from memex ... Tim> and, specifically, the letter 'X' was the first character in the Tim> string, but the exception at the end was Tim> email.Errors.HeaderParseError: Continuation line seen before first header Tim> Those don't jibe together. That is, X-MS-Mail-Gibberish was the Tim> first header line, and there's obviously no continuation line Tim> before it. We *expect* that specific exception only if the first Tim> line the email pkg sees begins with whitespace. I thought of that as well. I tried messing up the message several ways so the first line began with a space or a tab. Still no problem with hammiefilter. Tim> Since nobody else has reported this (at least not that I'm aware Tim> of), it makes me wonder whether Bobby's Python or email pkg Tim> installation is hosed. I'm beginning to think the same thing. Skip From mhammond at skippinet.com.au Sat Jul 12 11:23:55 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Fri Jul 11 20:24:09 2003 Subject: [Spambayes] Failed to call the universal dispatcher In-Reply-To: <957013D25A74364C95AA6D9275AA79DD06A6D68B@cceexc18.americas.cpqcorp.net> Message-ID: <024301c3480b$e17f43c0$f502a8c0@eden> This looks very much like the 002 version, and a bug that causes your configuration information to be lost. Please try upgrading to the 003 version (starship.python.net/crew/mhammond/spambayes) and see how that goes. [Eeek - I just checked the code, and the new version probably *wont* handle this error gracefully :( What you need to do is: * Exit outlook * Delete the file "\Documents and Settings\username\Application Data\SpamBayes\default_configuration.pck" * Restart Outlook, and re-configure SpamBayes. Exit outlook. [As of now, the old version should be working again] * Uninstall the old version * Install the 003 version. This process should cause an error free upgrade, and keep all the settings you just specified. Mark. -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 1952 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030712/c5917122/winmail.bin From mhammond at skippinet.com.au Sat Jul 12 11:30:34 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Fri Jul 11 20:30:56 2003 Subject: [Spambayes] MAPI error prevents message scanning In-Reply-To: Message-ID: <025701c3480c$cf3c5170$f502a8c0@eden> [Patrick] > each user. I've written a special-purpose IMAP server in > Perl that nicely > spawns and reaps threads to keep pace with the number of > connections. I take it you don't spawn a thread per connection? (or assume you haven't had many concurrent access yet ;) > abstracted enough that you could use the imap server part of > it without > the rest, or at least use it as a template (twisted is certainly far > from the easiest package to work with). > [Reply] > I'd be very interested in seeing the code. At the very > least, it would > demonstrate an IMAP server in Python and keep me from having > to reinvent the > wheel. Thanks for mentioning 'Twisted'; I'm going to learn > more about it. Don't let the complication of twisted put you off - that style of programming is hard in any language. It would not be a great package to start learning the language in. However, I am glad to see that twisted has been adopted by this project as early as it has - it offers a truly scalable IO framework. I haven't looked at twisted yet either, but have wondered if I could plug in the win32 asynch file IO API into it :) Mark. From mhammond at skippinet.com.au Sat Jul 12 11:32:24 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Fri Jul 11 20:32:39 2003 Subject: [Spambayes] Attn Mark Hammond In-Reply-To: <004401c347af$56d16c00$0a7114cb@keogh.net.au> Message-ID: <025a01c3480d$13e957a0$f502a8c0@eden> > Actually, I've had the same error when trying to send you mail. > Just a second data point ... I'm afraid I have no idea. I have just changed ISPs, but it also could be related to the fact that skippinet.com.au seems to be a popular "from" address for spammers at the moment (oh, the irony of it all!) You could try mhammond at keypoint.com.au (but I half expect the same error) Mark. From mhammond at skippinet.com.au Sat Jul 12 12:29:42 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Fri Jul 11 21:29:57 2003 Subject: [Spambayes] illegal header tanks SpamBayes In-Reply-To: Message-ID: <027e01c34815$1282f030$f502a8c0@eden> [Tim] > The failure is peculiar for a different reason: The msg began > > X-MS-Mail-Gibberish: Microsoft Mail Internet Headers Version 2.0\r\n > Received: from memex ... > > and, specifically, the letter 'X' was the first character in > the string, but > the exception at the end was > > email.Errors.HeaderParseError: Continuation line seen before > first header > > Those don't jibe together. That is, X-MS-Mail-Gibberish was the first > header line, and there's obviously no continuation line before it. We > *expect* that specific exception only if the first line the > email pkg sees > begins with whitespace. > > Since nobody else has reported this (at least not that I'm > aware of), it > makes me wonder whether Bobby's Python or email pkg > installation is hosed. I have seen something similar on my machine! The specific error IIRC was "not a header, not a continuation", but it had a very strange symptom. As you can from the log, the addin prints a complete repr() of the failed message string. One particular message I decided to look into - a quick scan of the repr'd string gave no clues. So I extracted the text into a Python string, and sure enough, the email package processed it just fine! At which point I again got distracted and didn't get any further :( Not-that-this-helps ly, Mark. From hwilkins at harrahs.com Fri Jul 11 22:06:54 2003 From: hwilkins at harrahs.com (Bobby Wilkins) Date: Fri Jul 11 22:07:28 2003 Subject: [Spambayes] illegal header tanks SpamBayes Message-ID: I suppose it is possible, but it is working for 98% of the emails, and it was installed via the v3 Outlook installer... How could I verify it? -----Original Message----- Tim> Since nobody else has reported this (at least not that I'm aware Tim> of), it makes me wonder whether Bobby's Python or email pkg Tim> installation is hosed. I'm beginning to think the same thing. From tim.one at comcast.net Fri Jul 11 23:28:24 2003 From: tim.one at comcast.net (Tim Peters) Date: Fri Jul 11 22:29:01 2003 Subject: [Spambayes] illegal header tanks SpamBayes In-Reply-To: <027e01c34815$1282f030$f502a8c0@eden> Message-ID: [Tim] >> The failure is peculiar for a different reason: The msg began >> >> X-MS-Mail-Gibberish: Microsoft Mail Internet Headers Version >> 2.0\r\n Received: from memex ... >> >> and, specifically, the letter 'X' was the first character in the >> string, but the exception at the end was >> >> email.Errors.HeaderParseError: Continuation line seen before first >> header >> >> Those don't jibe together. That is, X-MS-Mail-Gibberish was the >> first header line, and there's obviously no continuation line before >> it. We *expect* that specific exception only if the first line the >> email pkg sees begins with whitespace. >> >> Since nobody else has reported this (at least not that I'm aware >> of), it makes me wonder whether Bobby's Python or email pkg >> installation is hosed. [Mark Hammond] > I have seen something similar on my machine! The specific error IIRC > was "not a header, not a continuation", but it had a very strange > symptom. That's a very different exception, though . > As you can from the log, the addin prints a complete repr() of the > failed message string. Indeed yes! From GetEmailPackageObject(), and it prints the repr() of exactly the string passed to email.message_from_string(). That should be a great diagnostic tool. > One particular message I decided to look into - a quick scan of the > repr'd string gave no clues. So I extracted the text into a Python > string, and sure enough, the email package processed it just fine! Turns out we're having better luck here: I extracted Bobby's repr(), and it dies with the error reported, under both 2.2.3 and current 2.3 CVS. I expect it's a bug in the email pkg, and I'll dig into it. Are you sure you used the same email package your spamabyes installation was using? It's changed quite a bit across releases. From tim.one at comcast.net Sat Jul 12 00:10:46 2003 From: tim.one at comcast.net (Tim Peters) Date: Fri Jul 11 23:11:22 2003 Subject: [Spambayes] Outlook plug-in - when *exactly* does the message getchanged? In-Reply-To: Message-ID: [Jon Skeet] > I'm afraid my question is relatively detailed - not the kind of > thing which is likely to make it into a FAQ. The heart of it is > that I'm running the SpamBayes Outlook plug-in, and I need to know > what triggers SpamBayes to run. Heh. Nobody knows! Well, someone inside Microsoft may know, but on the outside we have to infer the nature of the beast from the color of the vomit it spews when it's sick <0.9 wink>. spambayes registers itself, via COM, to receive Outlook ItemAdd events on assorted Folder objects. *Exactly* when and why (and sometimes even "if") Outlook triggers these events is essentially a mystery to all. You can see what we've tried, and learn some reverse-engineered best guesses, by studying addin.py in the Outlook2000 directory of the source code. > ... > We've noticed we've started getting duplicate notifications - ie > the notification server is noticing the message twice, eg once at > 3.15 and then again at 3.25. The reason for this is that when > SpamBayes marks the message with a spam percentage, its UID changes > - so we see it as new again. > > We had expected that SpamBayes would mark the message as soon as it > came in, "came in" isn't an Outlook concept, of course -- we can only work with the events Outlook actually delivers to us. > which would mean the window where the notification server > could see it before it had been marked by SpamBayes would be very > short - but it seems this doesn't happen. It's almost as if a > message is marked when the *next* message arrives, or something > similar. Welcome to the club . Sometimes events do seem to act like that. Sometimes they seem to come in heavy bursts. Sometimes (esp. when the CPU load is high due to other programs) they get delayed for a long time (I've seen lags as long as a minute), or not triggered at all (I've seen that under extremely high load). > Given that various things (like poking the IMAP server or > refreshing Outlook) could trigger SpamBayes, we're in a sort of > quantum situation - we can't diagnose what's going on without > possibly screwing up the results. Some more definitive information > would be very much appreciated! If you find some, we'd appreciate it too. Outlook runs a relatively large number of threads (typically more than 12), I'm not sure what any of them are doing, and how they interact with the timing of events (on whatever thread the spambayes addin runs in) appears very complicated -- and differs across Outlook versions too. Giving you our source code is the best we can do -- there's nothing hidden here, but our knowledge is (alas) limited too. From tim.one at comcast.net Sat Jul 12 01:45:57 2003 From: tim.one at comcast.net (Tim Peters) Date: Sat Jul 12 00:46:34 2003 Subject: [Spambayes] illegal header tanks SpamBayes In-Reply-To: Message-ID: OK, I see what's going wrong in Bobby's email. Unfortunately, Barry is on vacation for the next week, and I'm not sure what to do about it. The problem occurs at the transition point into the second section of the mutipart/alternative; here are the repr's of the relevant lines: '--= Multipart Boundary 2076846-- \r\n' '\r\n' '\n' 'Congratulations! You have been selected to receive a \r\n' The relevant part of the main headers is here: 'Content-Type: multipart/alternative;\r\n' ' boundary="= Multipart Boundary 2076846" \r\n' The entire HMTL part of the message is treated as preamble, because that part is missing a boundary marker. The text part of the msg seems also ill-formed, because of the trailing '-- ' after the boundary tag. The msg as a whole is ill-formed for another reason: it's missing a trailing boundary tag too. I can't figure out what this code in _parsebody() thinks it's doing, and it's the cause of the ultimate exception: # Find out what kind of line endings we're using start += len(mo.group('sep')) + len(mo.group('ws')) mo = NLCRE.search(payload, start) if mo: start += len(mo.group(0)) At this point, start is between the second '6' and the third '-' in '--= Multipart Boundary 2076846-- \r\n' ^ so mo = NLCRE.search(payload, start) finds the \r\n at the end of '--= Multipart Boundary 2076846-- \r\n' ^ and then start += len(mo.group(0)) sets start just before the blank at the third-last character of '--= Multipart Boundary 2076846-- \r\n'\ ^ This logic simply makes no sense to me. The *effect* is to skip over the last two dashes, treating the MIME section headers as starting with the ' \r\n' from the tail end of the boundary line, and the leading blank there is what raises the ultimate 'Continuation line seen before first header' exception. If the *intent* of start += len(mo.group(0)) is to move start just beyond the end of the line with the boundary, then a correct way to spell that is start = mo.end(0) (and ditto for the earlier start += len(mo.group('sep')) + len(mo.group('ws')) in this function). But I don't know the intent, and the comment (above) doesn't seem to match the code either. If the indicated code is changed to start = mo.end(0) then this msg parses without error (in non-strict mode). -------------- next part -------------- x= 'X-MS-Mail-Gibberish: Microsoft Mail Internet Headers Version 2.0\r\nReceived: from memex2.harrahs.org ([10.3.5.44]) by entcmail1.harrahs.org with Microsoft SMTPSVC(5.0.2195.5329);\r\n\t Fri, 11 Jul 2003 11:59:52 -0500\r\nReceived: from mail6.aswediscussed.com ([64.253.204.211]) by memex2.harrahs.org with Microsoft SMTPSVC(5.0.2195.5329);\r\n\t Fri, 11 Jul 2003 11:59:54 -0500\r\nReceived: from aswediscussed.com (192.168.1.8)\r\n by mail6.aswediscussed.com with SMTP; 11 Jul 2003 12:59:53 -0400\r\nFrom: As We Discussed<584-2076846-unsubscribe@aswediscussed.com>\r\nTo: hwilkins@harrahs.com \r\nSubject: Get an Unsecured Platinum Card. No Credit Checks\r\nDate: Fri, 11 Jul 2003 10:56:27 -0400\r\nContent-Type: multipart/alternative;\r\n boundary="= Multipart Boundary 2076846" \r\nX-Priority: 3 \r\nX-MSMail-Priority: Normal \r\nX-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) \r\nX-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 \r\nMime-Version: 1.0 \r\nReturn-Path: 584-2076846-unsubscibe@aswediscussed.com\r\nMessage-ID: \r\nX-OriginalArrivalTime: 11 Jul 2003 16:59:54.0239 (UTC) FILETIME=[D9AD58F0:01C347CD]\r\n\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n\r\n\r\n\r\n 
 
To stop receiving offers Go Here or send mail to:
Unsubscribe Department
1730 S. Federal Hwy, Suite 116
Delray Beach, FL 33483
\r\n\r\n\r\n\r\n--= Multipart Boundary 2076846-- \r\n\r\n\nCongratulations! You have been selected to receive a \r\n$7500 unsecured Platinum Credit Card \r\nfrom USA Platinum! \r\n\r\nYour approval is guaranteed*. \r\nSimply click on the link below to complete \r\nthe application\r\n\r\nhttp://www.aswediscussed.com/c/c584c.php?ea=aHdpbGtpbnNAaGFycmFocy5jb20=\r\n\r\nThis offer is valid even if you\'ve had past credit problems or \r\neven no credit history. Now you \r\ncan receive a $7,500 unsecured \r\nPlatinum Credit Card that can help build your credit. And to help \r\nget your card to you sooner, we have been authorized to waive any \r\nemployment or credit verification.\r\n\r\nhttp://www.aswediscussed.com/c/c584c.php?ea=aHdpbGtpbnNAaGFycmFocy5jb20=\r\n\r\nThat\'s right, now you can enjoy great merchandise while establishing \r\nyour credit because the \r\nUSA Platinum Credit Card reports your new \r\ncredit to the major credit bureaus. We can help you \r\nestablish your \r\ncredit while you purchase the items you want to have today! \r\n\r\nhttp://www.aswediscussed.com/c/c584c.php?ea=aHdpbGtpbnNAaGFycmFocy5jb20=\r\n\r\nYour approval is guaranteed*! Act now and claim your unsecured USA \r\nPlatinum Credit Card with a \r\nstarting $7500 credit limit today. \r\n\r\nhttp://www.aswediscussed.com/c/c584c.php?ea=aHdpbGtpbnNAaGFycmFocy5jb20=\r\n\r\nSincerely,\r\n\r\nYour New Offers Department\r\n\r\n(*see web site for qualifications)\r\n\r\n\r\nStop receiving offers:\r\nhttp://www.aswediscussed.com/unsubscribe/?ea=hwilkins@harrahs.com\r\n\r\n' #for y in x.splitlines(True): # print repr(y) import email msg = email.message_from_string(x) From anthony at interlink.com.au Sat Jul 12 21:58:58 2003 From: anthony at interlink.com.au (Anthony Baxter) Date: Sat Jul 12 06:59:36 2003 Subject: [Spambayes] illegal header tanks SpamBayes In-Reply-To: Message-ID: <200307121058.h6CAwwdt024544@localhost.localdomain> >>> "Tim Peters" wrote > OK, I see what's going wrong in Bobby's email. Unfortunately, Barry is on > vacation for the next week, and I'm not sure what to do about it. I'll have a look at this on Monday (post-Z3-sprint). FWIW, this section of the parser is completely gone in the new parser that's on the branch. I wasn't convinced that it was doing anything useful, and felt that Practicality Beat Purity. ;) From anthony at interlink.com.au Sat Jul 12 22:01:45 2003 From: anthony at interlink.com.au (Anthony Baxter) Date: Sat Jul 12 07:02:10 2003 Subject: [Spambayes] MAPI error prevents message scanning In-Reply-To: <025701c3480c$cf3c5170$f502a8c0@eden> Message-ID: <200307121101.h6CB1j8S024630@localhost.localdomain> >>> "Mark Hammond" wrote > IO framework. I haven't looked at twisted yet either, but have wondered if > I could plug in the win32 asynch file IO API into it :) The twisted guys already have a win32 reactor (event loop) - I'm sure any additional contributions of win32 clue would be eagerly appreciated by them. From skip at pobox.com Sat Jul 12 08:29:31 2003 From: skip at pobox.com (Skip Montanaro) Date: Sat Jul 12 08:29:38 2003 Subject: [Spambayes] illegal header tanks SpamBayes In-Reply-To: References: Message-ID: <16143.65323.575379.529001@montanaro.dyndns.org> Bobby> I suppose it is possible, but it is working for 98% of the Bobby> emails, and it was installed via the v3 Outlook installer... Bobby> How could I verify it? I'm not sure, but it might help to install from source. That way there's code to look at and tweak. Skip From SIBRAHIM at earthlink.net Sat Jul 12 11:35:43 2003 From: SIBRAHIM at earthlink.net (Samer Ibrahim) Date: Sat Jul 12 10:37:06 2003 Subject: FW: [Spambayes] Installing SpamBayes for all local users on Win2k Message-ID: Is an solution being worked out for this issue? Samer Ibrahim http://weblogs.asp.net/SIbrahim -----Original Message----- From: Samer Ibrahim [mailto:SIBRAHIM@earthlink.net] Sent: Wednesday, July 02, 2003 8:44 AM To: 'Mark Hammond' Subject: RE: [Spambayes] Installing SpamBayes for all local users on Win2k I lied and you are correct :).... here are the log files. Looks like it can't write the registry. Samer Ibrahim http://weblogs.asp.net/SIbrahim -----Original Message----- From: Mark Hammond [mailto:mhammond@skippinet.com.au] Sent: Wednesday, July 02, 2003 8:26 AM To: 'Samer Ibrahim' Subject: RE: [Spambayes] Installing SpamBayes for all local users on Win2k > There is nothing in the Event Log and obviously no SpamBayes > log because it > wasn't a full install it was just an attempt to register a DLL. The log is created by the application, not the installer. Registration still creates a log. > I can get around this by bumping my privileges up but this > might not be a > viable solution for others. Plus it's bad practice > security-wise. The > reason I'm reluctant to do this however is because if it only > installs as > admin I'm afraid of what might happen when I bump the > privileges back down. > In other words, the program itself might try to do something > like read from > the Program Files directory which programs running under a > regular user > identity can not do. > > Any other ideas? Do you plan on fixing this in the future? I really need to see the Python traceback. Mark -------------- next part -------------- A non-text attachment was scrubbed... Name: spambayes4.log Type: application/octet-stream Size: 355 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030712/4c9d94de/spambayes4.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: spambayes2.log Type: application/octet-stream Size: 355 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030712/4c9d94de/spambayes2.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: spambayes3.log Type: application/octet-stream Size: 355 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030712/4c9d94de/spambayes3.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: spambayes1.log Type: application/octet-stream Size: 355 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030712/4c9d94de/spambayes1.obj From jwhand at erols.com Sat Jul 12 11:52:36 2003 From: jwhand at erols.com (J. & W. Hand) Date: Sat Jul 12 10:49:05 2003 Subject: [Spambayes] Installation of anti spam software Message-ID: <001901c34885$3c8e12e0$305ffea9@mamma.com> Hi, I learned about your software at work. My IT depart head installed it on my computer at work because I have been receiving 30 - 50 daily garbage emails. I spent 15 min to 1/2 hour daily just cleaning them off my computer. With this software, I have more time for my work. Well now I am receiving loads of emails at home and some of them are very bad (something children should not see or be exposed to). Can you help me step by step to get your antispam software (I am not that good at software, but if I have enough instruction that takes me step-by-step, I do ok). Can you help? Thanks. Janet Hand jwhand@erols.com From skip at pobox.com Sat Jul 12 11:26:01 2003 From: skip at pobox.com (Skip Montanaro) Date: Sat Jul 12 11:26:09 2003 Subject: [Spambayes] Installation of anti spam software In-Reply-To: <001901c34885$3c8e12e0$305ffea9@mamma.com> References: <001901c34885$3c8e12e0$305ffea9@mamma.com> Message-ID: <16144.10377.761653.677893@montanaro.dyndns.org> Janet> Can you help me step by step to get your antispam software (I am Janet> not that good at software, but if I have enough instruction that Janet> takes me step-by-step, I do ok). Sure. I'm not a Windows person, but I'll try to get you pointed in the right direction. There are others on the list who should be able to help with the fine points. What do you use to read email at home (looks like Outlook Express)? Assuming you use OE for reading mail and POP3 to fetch your mail from erols.com, you'll need to install the Spambayes source package and run pop3proxy. Basically, * Grab the Windows installer for Python 2.2.3 from here: http://www.python.org/ftp/python/2.2.3/Python-2.2.3.exe Run it to install Python. It should install by default in c:\Python23. * Grab the spambayes-1.0a4.zip file from here: https://sourceforge.net/project/showfiles.php?group_id=61702 Unzip it. * Open up a command shell and execute c:\python23\python.exe pop3proxy.py -b Once pop3proxy is running, you can configure it via the web interface (it should open a browser window pointed at http://localhost:8880/ automatically). You tell it where your remote POP3 server is (something like mail.erols.com at port 110 I suspect, but check your OE config to be sure). You then need to configure Outlook Express to contact the pop3proxy running on your machine (localhost, port 110 by default I think) to fetch your mail instead of your current erols setup. I don't think pop3proxy can currently be set up to run as a Windows Service (started in the background automatically when your computer boots), so you'll have to start it up when you want to read mail. If you leave your computer on there's no harm in just letting pop3proxy run. It will only contact your remote mail server when OE asks it for new messages. Skip From bmaloneyjr at cox.net Sat Jul 12 09:46:43 2003 From: bmaloneyjr at cox.net (Basil W Maloney Jr) Date: Sat Jul 12 11:47:06 2003 Subject: [Spambayes] Thanks... Message-ID: <000801c3488c$cb0639b0$0a670544@bwm> Hello, I just wanted to tell you how great it has been using SpamBayes. I'm one of those few people who only got 1 or 2 spam each week until about 3 or 4 months ago. Then about 15 to 20 started coming in each day. It was a real problem. I then saw the review in InfoWorld and went to your website and downloaded it. It installed according to instructions and worked beautifully. I recently had a hiccup and found the answers on you support page. I consider this to be as important as my firewall, virus software and broadband connection. It made e-mail useable again. Thanks! Basil From vanhorn at whidbey.com Sat Jul 12 14:07:33 2003 From: vanhorn at whidbey.com (G. Armour Van Horn) Date: Sat Jul 12 16:07:36 2003 Subject: [Spambayes] Failure for two users References: <001901c34885$3c8e12e0$305ffea9@mamma.com> <16144.10377.761653.677893@montanaro.dyndns.org> Message-ID: <3F106A85.88610BAA@whidbey.com> After getting pop3proxy.py running on one machine successfully, I put it on another system. My installation was limited to copying the contents of the SpamBayes 1.0a4 zip over there and double clicking on pop3proxy.py. I had problems with the Review page for a few tries, it would mark messages as Spam, but nothing showed up to review until I shut the proxy down and restarted. After the first day, however, it has been stable. I was bragging on this to my friends on Noise Level Zero (the successor to the old BIX, if anyone remembers what that was), and another user grabbed the files and got the same results. Until this morning. Now the system won't run at all, his results are below. I note in the traceback a references to Unpickler and dumb.dbm, I thought both pickles and dumb.dbm were deprecated? Van C:\Program Files\spambayes>pop3proxy SpamBayes POP3 Proxy Beta1, version 0.1 (May 2003), using SpamBayes POP3 Proxy Web Interface Alpha2, version 0.02 and engine SpamBayes Beta2, version 0.2 (July 2003). Loading database... Traceback (most recent call last): File "C:\Program Files\spambayes\pop3proxy.py", line 786, in ? run() File "C:\Program Files\spambayes\pop3proxy.py", line 761, in run state.createWorkers() File "C:\Program Files\spambayes\pop3proxy.py", line 603, in createWorkers self.bayes = storage.DBDictClassifier(filename) File "C:\Program Files\spambayes\spambayes\storage.py", line 147, in __init__ self.load() File "C:\Program Files\spambayes\spambayes\storage.py", line 159, in load t = self.db[self.statekey] File "C:\Python22\lib\shelve.py", line 71, in __getitem__ return Unpickler(f).load() EOFError Exception exceptions.AttributeError: "'NoneType' object has no attribute 'error' " in > ignored -- ---------------------------------------------------------- Sign up now for Quotes of the Day, a handful of quotations on a theme delivered every morning. Enlightenment! Daily, for free! mailto:twisted@whidbey.com?subject=Subscribe_QOTD For web hosting and maintenance, visit Van's home page: http://www.domainvanhorn.com/van/ ---------------------------------------------------------- From skip at pobox.com Sat Jul 12 16:53:50 2003 From: skip at pobox.com (Skip Montanaro) Date: Sat Jul 12 16:53:57 2003 Subject: [Spambayes] Re: Failure for two users In-Reply-To: <3F1050EF.B3038883@whidbey.com> References: <001901c34885$3c8e12e0$305ffea9@mamma.com> <16144.10377.761653.677893@montanaro.dyndns.org> <3F1050EF.B3038883@whidbey.com> Message-ID: <16144.30046.137940.303349@montanaro.dyndns.org> Van> After getting pop3proxy.py running on one machine successfully, I Van> put it on another system. My installation was limited to copying Van> the contents of the SpamBayes 1.0a4 zip over there and double Van> clicking on pop3proxy.py. Van> I had problems with the Review page for a few tries, it would mark Van> messages as Spam, but nothing showed up to review until I shut the Van> proxy down and restarted. After the first day, however, it has been Van> stable. I was bragging on this to my friends on Noise Level Zero Van> (the successor to the old BIX, if anyone remembers what that was), Van> and another user grabbed the files and got the same results. Van> Until this morning. Now the system won't run at all, his results Van> are below. I note in the traceback a references to Unpickler and Van> dumb.dbm, I thought both pickles and dumb.dbm were deprecated? Well, deprecated in the sense that we are beginning to realize there is probably a serious problem with dumbdbm. I think we may have to make the code reject dumbdbm for new databases and support it for existing databases only if the application is started with a command line flag to force it. I strongly suggest you get ahold of bsddb3 (aka PyBSDDB) and install it, then ditch dumbdbm. Skip Van> C:\Program Files\spambayes>pop3proxy Van> SpamBayes POP3 Proxy Beta1, version 0.1 (May 2003), Van> using SpamBayes POP3 Proxy Web Interface Alpha2, version 0.02 Van> and engine SpamBayes Beta2, version 0.2 (July 2003). Van> Loading database... Van> Traceback (most recent call last): Van> File "C:\Program Files\spambayes\pop3proxy.py", line 786, in ? Van> run() Van> File "C:\Program Files\spambayes\pop3proxy.py", line 761, in run Van> state.createWorkers() Van> File "C:\Program Files\spambayes\pop3proxy.py", line 603, in Van> createWorkers Van> self.bayes = storage.DBDictClassifier(filename) Van> File "C:\Program Files\spambayes\spambayes\storage.py", line 147, in Van> __init__ Van> self.load() Van> File "C:\Program Files\spambayes\spambayes\storage.py", line 159, in Van> load Van> t = self.db[self.statekey] Van> File "C:\Python22\lib\shelve.py", line 71, in __getitem__ Van> return Unpickler(f).load() Van> EOFError Van> Exception exceptions.AttributeError: "'NoneType' object has no attribute Van> 'error' Van> " in 0x008D6AC 0> ignored Van> -- Van> ---------------------------------------------------------- Van> Sign up now for Quotes of the Day, a handful of quotations Van> on a theme delivered every morning. Van> Enlightenment! Daily, for free! Van> mailto:twisted@whidbey.com?subject=Subscribe_QOTD Van> For web hosting and maintenance, Van> visit Van's home page: http://www.domainvanhorn.com/van/ Van> ---------------------------------------------------------- From tim.one at comcast.net Sat Jul 12 22:40:42 2003 From: tim.one at comcast.net (Tim Peters) Date: Sat Jul 12 21:41:16 2003 Subject: [Spambayes] Failure for two users In-Reply-To: <3F106A85.88610BAA@whidbey.com> Message-ID: [G. Armour Van Horn] > ... > I thought both pickles and dumb.dbm were deprecated? Definitely not pickles. "pickling" is a fundamental data serialization operation in Python, and even if you use a modern Berkeley database backend in spambayes, the data will still get stored in pickles. That's what shelve.py *does* -- transparently pickles and unpickles Python objects so that they look like plain strings to databases. dumbdbm is just stupid in this app -- dumbdbm consumes more memory than using a plain dict without any database backend, is much slower than using a plain dict, and is much brittler. Using a plain dict is still an excellent choice (despite the misguided whining of the databaseheads around here ). > ... > File "C:\Program Files\spambayes\spambayes\storage.py", line 159, in > load > t = self.db[self.statekey] The database is trying to load the number of ham and spam msgs trained on here. > File "C:\Python22\lib\shelve.py", line 71, in __getitem__ > return Unpickler(f).load() Regardless of database backend, shelve.py will always create an Unpickler, to change the string stored in the database into a tuple of integers here. > EOFError But-- alas --the pickle string stored in your database is corrupt for some (unknown) reason. EOFError is one of many exceptions an Unpickler can raise, and means that the pickle string the database gave it appears to end prematurely. > Exception exceptions.AttributeError: "'NoneType' object has no attribute > 'error' > in 0x008D6AC0 ignored This is a shutdown race in the dumbdbm implementation. Hmm! It *looks* like the spambayes database driving code never closes its DBDictClassifier object explictly, trusting __del__ methods to do any necessary cleanup. Whether that's a bug is arguable, but is at best a poor design decision. A dumbdbm database absolutely needs to be closed properly. The dumbdbm code needs to be made more robust against the shutdown race you showed above too. From tim.one at comcast.net Sat Jul 12 23:28:16 2003 From: tim.one at comcast.net (Tim Peters) Date: Sat Jul 12 22:28:53 2003 Subject: [Spambayes] Failure for two users In-Reply-To: Message-ID: [Tim] > ... > This is a shutdown race in the dumbdbm implementation. Hmm! It > *looks* like the spambayes database driving code never closes its > DBDictClassifier object explictly, trusting __del__ methods to do any > necessary cleanup. Whether that's a bug is arguable, but is at best a > poor design decision. A dumbdbm database absolutely needs to be > closed properly. The dumbdbm code needs to be made more robust > against the shutdown race you showed above too. Turns out Tim Stone pointed this out on the Python bug tracker several months(!) ago; Raymond Hettinger just brought that to my attention: http://www.python.org/sf/723231 I've fixed the shutdown race in dumbdbm.py's __del__ method for Python 2.3 (not yet released). spambayes should still be changed to call .close() methods explicitly (in which case this shutdown race would have been irrelevant -- as-is, it could easily account for all the cases of dumbdbm corruption reported to date -- although dumbdbm remains a stupid idea for use in spambayes regardless). From Barrie.Brook at unisys.com Sun Jul 13 00:47:25 2003 From: Barrie.Brook at unisys.com (Brook, S. Barrie) Date: Sat Jul 12 23:48:04 2003 Subject: [Spambayes] Feature or Bug? Message-ID: <1F604FC6FC3B5A41A3828BDBD50D027C0195ECBC@USBB-EXCH3.na.uis.unisys.com> I have been running SpamBayes for a number of weeks now, and find that it works and performs quite well, with just a couple of exceptions noted to date: 1. Functionality: Whenever I start Outlook and there are a number of spam messages in the inbox SpamBayes always (every time) leaves one obvious spam message in the inbox. It is rated at 0% even though it's clearly spam. 2. Performance: Again, when starting outlook, the inspection of mail messages, resident on the server-located inbox, takes a considerable amount of time. Can this process be made more efficient? Barrie From lbabbey at bigpond.net.au Sun Jul 13 15:11:46 2003 From: lbabbey at bigpond.net.au (LBA) Date: Sun Jul 13 00:12:20 2003 Subject: [Spambayes] Hang in Outlook - Not Responding. Message-ID: Hi, I'm not sure if this is the right place to log a problem I am having with SpamBytes, but I can't seem to find the right place in the SourceForge pages. Approx 1 in 8 to 10 times that I fire up Outlook, with SpamBytes filtering enabled the download of messages hangs and Outlook just sits there with a "Not Responding" Status. If I turn off the filtering and download all works ok. If I then filter the messages, again this appears to work ok. When OUTLOOK Hangs, it is repeatable in so far as I cancel it and rerun it with the same result. What can I do to help you track this problem? Regards Leonard Abbey. From manpikachu03 at yahoo.com Sat Jul 12 17:07:50 2003 From: manpikachu03 at yahoo.com (manpikachu03@yahoo.com) Date: Sun Jul 13 02:47:12 2003 Subject: [Spambayes] I bet you spent your whole life making your boss rich! TPQYMRQR Message-ID: <00001a8c6883$0000078f$0000727c@mx1.mail.yahoo.com> Your boss just bought a new Mercedes? - well, he did that with your sweat I bet! Aren't you tired of playing the little guy who waits at the end of the food chain? I have been there as well but found that it's more lucrative to help people make strong money from home - developing an automated marketing system that eliminates cold calls but lets people call you when they are ready to join your organisation Now brings me and my Members an average of $4,000 to $7,000 income weekly. The difference to all other things that I have tried before: here You get paid $3000 commissions first, Company gets paid second - My honest advise: Don't make your boss rich and get out of your dilemma before this bad economy swallows you totally. To get your free info about this unique solution, send an email to RonJeffson@talk21.com with "Financial Security" in the subject_line Important: Please also let me know your Phone Number and I will give you a quick follow up so you know that this is Real! Believe me, I am sick of get-rich scams offered out there, I lost well over $40,000 by stepping into dishonest deals, and I even sued and won... - Here I am offering unlimited support! Here I am HELPING people generate steady money and Build financial security what pays off more than anything else I ever touched before. Hope to hear from you soon! NOTICE: This mail is NEVER sent unsolicited. To be removed from the list, send me a quick note at RonJeffson@talk21.com with "GET OFF" in the subject line. Thanks kindly. From josh at dorward.net Sun Jul 13 01:23:04 2003 From: josh at dorward.net (Joshua Dorward) Date: Sun Jul 13 03:24:00 2003 Subject: [Spambayes] you guys rule! Message-ID: <005e01c3490f$9cc02100$220110ac@JLDELL8100> The subject heading says it all - thanks for doing this!!!! Your work is responsible for about 20 minutes of my free time everyday! -Josh From mhammond at skippinet.com.au Sun Jul 13 19:03:57 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Sun Jul 13 04:04:16 2003 Subject: [Spambayes] Hang in Outlook - Not Responding. In-Reply-To: Message-ID: <04e301c34915$512ab4c0$f502a8c0@eden> > What can I do to help you track this problem? The best thing you can do at this stage is to run from the CVS version. Once you have, I will add a couple of extra log statements (now that we have variable logging levels :) to see if the hang is actually inside any of our functions. Thanks, Mark. From shalehperry at comcast.net Sun Jul 13 04:03:14 2003 From: shalehperry at comcast.net (Sean 'Shaleh' Perry) Date: Sun Jul 13 06:03:49 2003 Subject: [Spambayes] more on exceptions while parsing messages Message-ID: <200307130303.14247.shalehperry@comcast.net> received another mail that caused an exception in the spambayes engine. This one had a 'registered mark', i.e. the R with a circle around it, in the subject. Subject: Claim your Free Sony? Headset it is represented by the ascii (kinda) 0xAE which causes the python mail parser to complain because 0xAE > 0x80. There is no header in the message which tries to change the charset. I wonder if spambayes should respond to this specific exception (ascii out of range) by assuming the message is in a charset where the value in question is valid. I believe the Python library is correct in complaining about the value not being within the message's charset and letting the application react accordingly. Mail like the one mentioned above is now the only spam I see. Variations include Korean and other Asian charset spam that fail to properly define their charset as well as miscellaneous other uses of ascii values over 128. From sholden at holdenweb.com Sun Jul 13 19:08:39 2003 From: sholden at holdenweb.com (Steve Holden) Date: Sun Jul 13 18:13:44 2003 Subject: [Spambayes] Cannot open bayes database Message-ID: Spam filtering has suiddenly stopped on my MS Outlook system, because it can no longer open the database. Is this likley to be because of too many spam trained messages? If so, is there some way I can beef up the database, or should I just delete it and start all over again. Emailed replies would be appreciated. regards -- Steve Holden http://www.holdenweb.com/ Python Web Programming http://pydish.holdenweb.com/pwp/ From T.A.Meyer at massey.ac.nz Mon Jul 14 12:05:13 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Sun Jul 13 19:06:09 2003 Subject: [Spambayes] Installation of anti spam software Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F13024E9F0B@its-xchg4.massey.ac.nz> > I don't think pop3proxy can currently be set up to > run as a Windows Service (started in the background > automatically when your computer boots) It can. Use the pop3proxy_service.py script in the windows directory in the spambayes directory to add and remove it as a service. I don't think this works with Win95/98/ME (they didn't have services, did they?) so if you're using one of those, then your best bet is to add "pythonw.exe pop3proxy.py" to your startup items, as Skip said. =Tony Meyer From mhammond at skippinet.com.au Mon Jul 14 10:36:44 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Sun Jul 13 19:36:59 2003 Subject: [Spambayes] RE: Cannot open bayes database In-Reply-To: Message-ID: <04d801c34997$9fb78640$f502a8c0@eden> > Spam filtering has suiddenly stopped on my MS Outlook system, > because it > can no longer open the database. Is this likley to be because of too > many spam trained messages? If so, is there some way I can beef up the > database, or should I just delete it and start all over again. > > Emailed replies would be appreciated. It's not clear what "can't open the database" means here. There is a mysterious bug that raises an assertion error after the DB has been opened, which may or may not be what you are referring to. In general though, doing a "train", and selecting "rebuild entire database" will fix these problems (for some definitions of "these" ) Mark. From hwilkins at harrahs.com Sun Jul 13 20:52:20 2003 From: hwilkins at harrahs.com (Bobby Wilkins) Date: Sun Jul 13 20:53:00 2003 Subject: [Spambayes] spam on the spambayes list Message-ID: I'm not sure if you all saw the posting, with subject starting "I bet you spent your while life"... My SpamBayes did not catch it as spam, and I'm in somewhat of a quandary; if I mark it as spam, will that not increase the probability that any spambayes list traffic might be so marked? Also, if you looked at the CC list for that email, did it strike you as humnorous or frightening that all of them were anti-spam lists? Are they targeting us? That seems paranoid... ;^) From T.A.Meyer at massey.ac.nz Mon Jul 14 14:07:56 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Sun Jul 13 21:08:38 2003 Subject: [Spambayes] spam on the spambayes list Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F13024E9FD2@its-xchg4.massey.ac.nz> > I'm not sure if you all saw the posting, with subject > starting "I bet you spent your while life"... > My SpamBayes did not catch it as spam, Nor did the python.org spambayes system (if I read the headers rightly, it scored 60.1%). > and I'm in somewhat of > a quandary; if I mark it as spam, will that not increase the > probability that any spambayes list traffic might be so marked? Yes it will increase the probability, but it's unlikely that it would be significant enough to make any difference in the end score. For example, I trained it as spam, and these are the spambayes-related tokens that were changed (new data shown): 'subject:Spambayes' 0.0045347 83 1 'spambayes' 0.00586835 64 1 'email name:spambayes' 0.00780016 48 1 'url:spambayes' 0.00780016 48 1 'to:addr:spambayes' 0.00911255 41 1 'email addr:python.org' 0.0109189 76 4 'sender:addr:spambayes-bounces+t.a.meyer=massey.ac.nz' 0.0676502 5 1 'sender:addr:python.org' 0.0931363 80 52 'to:addr:python.org' 0.112153 65 52 These are all still strong ham clues - given the ham counts for these clues, I'd have to train at least 50 or so more like this to just get a neutral score for these tokens. Your scores may differ, of course, depending on what you have fed spambayes. It's a reasonable rule to just train on everything that is misclassified. =Tony Meyer From T.A.Meyer at massey.ac.nz Mon Jul 14 14:20:58 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Sun Jul 13 21:21:43 2003 Subject: [Spambayes] MAPI error prevents message scanning Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F13024E9FEF@its-xchg4.massey.ac.nz> >> By all means, jump in! ( you'll like Python more than Perl >> anyway :p ). > I try not to be a language bigot, so you might be right. I > just haven't had > occasion thus far to get familiar with it. I was only teasing - I only know the tiniest amount of Perl, so I wouldn't really know. [imapfilter explanation] > Hmm, interesting. I guess I assumed it worked similar to the > POP3 proxy. > I'll have to look at the code... The people requesting an IMAP solution at the time it was created were more in favour of a filter than a proxy (similar to isbg and SpamAssassin) so that was the solution that was made. I do think IMAP suits a filter more than a proxy, and it does mean that imapfilter operates closer to the Outlook plugin style, which is generally seen as a reasonably easy to use. > I'd be very interested in seeing the code. I'll try and get some of this checked in soon then. (It works (or seems to ;) with Mozilla Mail at the moment, but not (sigh) with OE...). > Thanks for mentioning 'Twisted'; I'm going to learn more about it. A warning: the API for the imap part of twisted isn't all that stable (I think the client part is more so than the server, but I haven't used the client stuff). In the process of building my server, I've had to submit various bugs/patches, some of which are in the current release, some of which aren't yet. If you do go the twisted way, it's definitely worth keeping an eye on the mailing list & bug tracker. > Rather than hack up my own Bayesian filter, I'd rather try to > contribute a superstructure over SpamBayes that would help make > it a corporate solution to spam rather than a distributed (on > the desktop) solution. Well, there has definitely been a lot of interest in a server side version, although nothing has eventuated yet, AFAIK (the python.org mail being an exception, but not quite the same thing). > Besides, it's a good excuse to learn a new language... Indeed! =Tony Meyer From abyrne at pcug.org.au Mon Jul 14 12:26:21 2003 From: abyrne at pcug.org.au (Ann Byrne) Date: Sun Jul 13 21:26:36 2003 Subject: [Spambayes] Strange happenings In-Reply-To: <04e301c34915$512ab4c0$f502a8c0@eden> Message-ID: <000001c349a6$ef5e2870$564c0acb@homepc> No problems for since installing the software - doing a great job of moving spam but this morning when I opened outlook I noticed spam being checked but it didn't appear in my inbox or the spam folder. On closer inspection I noticed that the "Spam Manager" option had disappeared and there was only the "delete spam" option on the toolbar. Any ideas what's happened? Cheers Boop ________________________________ Here I am! Now what are your other two wishes?. From T.A.Meyer at massey.ac.nz Mon Jul 14 14:30:34 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Sun Jul 13 21:31:39 2003 Subject: [Spambayes] Strange happenings Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F13024E9FFD@its-xchg4.massey.ac.nz> > No problems for since installing the software - doing a great > job of moving spam but this morning when I opened outlook I > noticed spam being checked but it didn't appear in my inbox > or the spam folder. On closer inspection I noticed that the > "Spam Manager" option had disappeared and there was only the > "delete spam" option on the toolbar. Any ideas what's happened? Which version are you using? If version 002 of the binary, then this would probably be fixed by version 003 (the toolbar code changed a lot). When you say that you noticed spam being checked, but not appearing, what do you mean? Do you mean that messages briefly appeared and then vanished? Or that it was moved somewhere else? If you could go through the steps in the troubleshooting.html file (if the manager is gone, you'll have to either get to this by going to the folder spambayes was installed to, or look at the version on the website (http://spambayes.org), especially the bit about finding the log file, that would help. =Tony Meyer From tim.one at comcast.net Mon Jul 14 00:27:41 2003 From: tim.one at comcast.net (Tim Peters) Date: Sun Jul 13 23:28:12 2003 Subject: [Spambayes] Cannot open bayes database In-Reply-To: Message-ID: [Steve Holden] > Spam filtering has suiddenly stopped on my MS Outlook system, because > it can no longer open the database. A traceback showing the cause of the failure to open is vital if we're ever to know *why* this happened. > Is this likley to be because of too many spam trained messages? No (unless perhaps your database has exceeded 2 gigabytes and we're hitting a 32-bit signed integer bug ...). BTW, the way you phrased that makes me suspect you trained on much more spam than ham, which is a Bad Idea. The mathematical modeling assumes approximately equal numbers of ham and spam have been trained on, and deviations from that pile up more dubious assumptions. > If so, is there some way I can beef up the database, or should I just > delete it and start all over again. Please save a copy of the database off to the side, and at least get a traceback first. If the traceback is interesting, perhaps it will suggest a way to recover. Retraining from scratch is the only sure way to recover. Note: I save my training ham and spam in two folders in a separate .pst file dedicated to holding training data. Retraining from scratch is then trivial, and, more importantly for me, my main .pst file stays smaller (this is important to me because I need to transfer it between desktop and laptop boxes, over a relatively slow link). From bwims at yahoo.com Mon Jul 14 10:16:25 2003 From: bwims at yahoo.com (=?iso-8859-1?q?Brian=20Williams?=) Date: Mon Jul 14 04:16:59 2003 Subject: [Spambayes] Re: "I bet you spent your whole life making your boss" Spam Message-ID: <20030714081625.74590.qmail@web41012.mail.yahoo.com> Couldn't help but comment on the irony of this list getting spammed!! Does it use SpamBayes? :-D - Brian --------------------------------- Want to chat instantly with your online friends??Get the FREE Yahoo!Messenger From frazer at beacon.com Mon Jul 14 09:08:59 2003 From: frazer at beacon.com (Patrick Frazer) Date: Mon Jul 14 08:09:01 2003 Subject: [Spambayes] MAPI error prevents message scanning In-Reply-To: <025701c3480c$cf3c5170$f502a8c0@eden> Message-ID: -----Original Message----- From: Mark Hammond [mailto:mhammond@skippinet.com.au] Sent: Friday, July 11, 2003 8:31 PM To: 'Patrick Frazer'; 'Meyer, Tony'; spambayes@python.org Subject: RE: [Spambayes] MAPI error prevents message scanning [Patrick] > each user. I've written a special-purpose IMAP server in > Perl that nicely > spawns and reaps threads to keep pace with the number of > connections. I take it you don't spawn a thread per connection? (or assume you haven't had many concurrent access yet ;) [Reply] It doesn't specifically spawn a thread for each connection, but it does one better. It preforks a half dozen threads on startup ready to accept connections and continually monitors the existing threads. Its goal is to always keep a handful of free threads ready for new connections, initialized and ready to accept. I didn't write this particular bit of code; it's rolled into Perl's Net::Server::Prefork module. > abstracted enough that you could use the imap server part of > it without > the rest, or at least use it as a template (twisted is certainly far > from the easiest package to work with). > [Reply] > I'd be very interested in seeing the code. At the very > least, it would > demonstrate an IMAP server in Python and keep me from having > to reinvent the > wheel. Thanks for mentioning 'Twisted'; I'm going to learn > more about it. Don't let the complication of twisted put you off - that style of programming is hard in any language. It would not be a great package to start learning the language in. However, I am glad to see that twisted has been adopted by this project as early as it has - it offers a truly scalable IO framework. I haven't looked at twisted yet either, but have wondered if I could plug in the win32 asynch file IO API into it :) [Reply] It's not the complexity that bothers me, it's just finding the time to study it. (Especially after my kid arrives in September. ;-) -Patrick From webmaster at beyond-thoughts.com Mon Jul 14 18:27:13 2003 From: webmaster at beyond-thoughts.com (Christoph Becker-Freyseng) Date: Mon Jul 14 11:28:49 2003 Subject: [Spambayes] Cannot open bayes database In-Reply-To: References: Message-ID: <3F12CBD1.804@beyond-thoughts.com> Hello, I guess he has the following traceback: Loading database... Traceback (most recent call last): File "pop3proxy.py", line 777, in ? run() File "pop3proxy.py", line 752, in run state.createWorkers() File "pop3proxy.py", line 594, in createWorkers self.bayes = storage.DBDictClassifier(filename) File "C:\Programme\spambayes\spambayes\storage.py", line 147, in __init__ self.load() File "C:\Programme\spambayes\spambayes\storage.py", line 159, in load t = self.db[self.statekey] File "C:\PYTHON22\lib\shelve.py", line 71, in __getitem__ return Unpickler(f).load() EOFError Exception exceptions.AttributeError: "'NoneType' object has no attribute 'error' " in > ignored Probably I have the same problem. I deleted and retrained the database several times. I even two time trained it only with new emails to make sure that no old email in my previosly collected spam/ham causes this trouble. This crash happened with both recent versions. Christoph Becker-Freyseng From dward at astate.edu Mon Jul 14 11:51:29 2003 From: dward at astate.edu (David Ward) Date: Mon Jul 14 11:52:30 2003 Subject: [Spambayes] Help Message-ID: <000801c34a1f$ca7ae880$d3216193@astate.edu> While installing Spambayes I get the error: C:\Program Files\Outlook Addin\spambayes_addin.dll "Unable to register the DLL/OCX: DllRegister Server Failed; code 0x00000000. Click retry ro try again, ignore to proceed anyway (not recommended) or Abort to cancel installation." If I retry, it just sits there spinning, saying "Registering Files". I went into Task Manager and it says the program is "Not Responding". If I do an "Ignore", the install goes ahead but no Spambayes icons show up in Outlook. I've even installed the separate components and win32 extensions but nothing worked. Any help would be appreciated. Thanks. David From tim.one at comcast.net Mon Jul 14 13:12:09 2003 From: tim.one at comcast.net (Tim Peters) Date: Mon Jul 14 12:12:43 2003 Subject: [Spambayes] Re: "I bet you spent your whole life making your boss" Spam In-Reply-To: <20030714081625.74590.qmail@web41012.mail.yahoo.com> Message-ID: [Brian Williams] > Couldn't help but comment on the irony of this list getting > spammed!! Does it use SpamBayes? :-D I don't know anymore. At the start this list used SpamAssassin (as did all mailing lists hosted at python.org), and spam filtering was explicitly turned off for this specific list, because there were too many false positives (people trying to talk *about* spam, sometimes including examples, got erroneously marked as spam). python.org is somewhere in the process of switching over to spambayes, but I believe this specific list remains unrestricted. If you're a spambayes user, you don't have a spam problem, so it doesn't matter . From Michael.Otto at NielsenMedia.com Mon Jul 14 16:48:06 2003 From: Michael.Otto at NielsenMedia.com (Otto, Michael) Date: Mon Jul 14 15:48:48 2003 Subject: [Spambayes] Messages read still are flagged as unread Message-ID: Since I installed Spambayes, I found that intermittantly messages in my inbox remain flagged as unread (titles are bolded in the list) even after I read them. If I open them a 2nd time, they get switched to 'read'. Somehow, Spambayes seems to be responsible for this, but I don't know how or why. michael From dward at astate.edu Mon Jul 14 16:04:40 2003 From: dward at astate.edu (David Ward) Date: Mon Jul 14 16:05:08 2003 Subject: [Spambayes] Dll not registering Message-ID: <000801c34a43$28eeaaa0$d3216193@astate.edu> Did you ever find a solution to the problem of Spambayes being unable to register the DLL/OCX ? I have tried everything. From mlines at NAREX.com Mon Jul 14 16:06:42 2003 From: mlines at NAREX.com (Michael Lines) Date: Mon Jul 14 17:07:17 2003 Subject: [Spambayes] Announcement: SpamAtBay Beta Candidate 9 Message-ID: <60FB8BB7F0EFC7409B75EEEC13E2019202CE45B9@admin56.narex.com> Sean, I would be interested in helping you beta test SpamAtBay. Please send me the details. Regards, Michael Lines NAREX Inc. 303.526.4000 ext. 701 303.526.5130 fax 720.746.3171 direct www.narex.com From mhammond at skippinet.com.au Tue Jul 15 11:45:06 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Mon Jul 14 20:45:17 2003 Subject: [Spambayes] Help In-Reply-To: <000801c34a1f$ca7ae880$d3216193@astate.edu> Message-ID: <003601c34a6a$56aca650$f502a8c0@eden> > I've even installed the separate components and win32 > extensions but nothing worked. In this case, you best bet is simply to grab the source-code, and run from that. Grab the 0.4 release, and follow the instructions in the readme.txt. I assume you are talking about the 003 binary release - if you are still using 002, try the new one. Mark. From T.A.Meyer at massey.ac.nz Tue Jul 15 14:17:40 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Mon Jul 14 21:18:40 2003 Subject: [Spambayes] Messages read still are flagged as unread Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F13026441CB@its-xchg4.massey.ac.nz> > Since I installed Spambayes, I found that intermittantly > messages in my inbox remain flagged as unread (titles are > bolded in the list) even after I read them. If I open them a > 2nd time, they get switched to 'read'. This is a known bug. You can monitor it here: [ 716684 ] Filtering marks message as unread http://sourceforge.net/tracker/index.php?func=detail&aid=716684&group_id =61702&atid=498103 =Tony Meyer From T.A.Meyer at massey.ac.nz Tue Jul 15 14:25:48 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Mon Jul 14 21:26:27 2003 Subject: [Spambayes] Re: "I bet you spent your whole life making yourboss" Spam Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F13026441D4@its-xchg4.massey.ac.nz> > [Brian Williams] > > Couldn't help but comment on the irony of this list getting > > spammed!! Does it use SpamBayes? :-D [Tim] > python.org is somewhere in the process of switching over to > spambayes, but I believe this specific list remains unrestricted. I'm only guessing (maybe Greg will speak up soon) but I think the header: X-Spam-Status: OK (default 0.000) Indicates that this list is filtered by spambayes - with Greg's 'default' corpus. OTOH, python-list doesn't seem to have this header, and I thought that was using spambayes now, too, so I could be wrong. (The bugs & dev lists have the same header, the check-ins list has one like: X-Spam-Status: OK (checkins 0.000) ) If this is the case, it will be interesting to see how strong a clue the X-Spam-Status header becomes :) (if one's tokenising options allow it to be considered). =Tony Meyer From T.A.Meyer at massey.ac.nz Tue Jul 15 14:31:20 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Mon Jul 14 21:32:10 2003 Subject: [Spambayes] Cannot open bayes database Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F13026441DB@its-xchg4.massey.ac.nz> > I guess he has the following traceback: [...] > Exception exceptions.AttributeError: "'NoneType' object has > no attribute 'error' > " in instance at 0x00ED5970>> ignored > Probably I have the same problem. I would suggest either getting hold of pybsddb and using that instead of dumbdbm, or using pickles. Dumbdbm is completely inferior to any alternative, including pickles. To swap to pickles, use the -D switch in pop3proxy, or in your config file, set the [Storage]persistent_use_database option to False. To use pybsddb, just download and install it (http://pybsddb.sf.net). =Tony Meyer From paulhux174 at hotmail.com Tue Jul 15 05:26:33 2003 From: paulhux174 at hotmail.com (paul hux) Date: Tue Jul 15 00:27:06 2003 Subject: [Spambayes] Spam manager Message-ID: Question: can your program 'Mark as read' any new spam it moves to the spam folder? _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From T.A.Meyer at massey.ac.nz Tue Jul 15 17:29:18 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Tue Jul 15 00:30:08 2003 Subject: [Spambayes] Spam manager Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F13026442BC@its-xchg4.massey.ac.nz> > Question: can your program 'Mark as read' any new spam it > moves to the spam folder? [I'm assuming you are using the Outlook plug-in] Yes it can. See the configuration documentation (via the "About" link on the SpamBayes manager dialog) for details about how to do this. Note that you must have version 003 (or equivalent source) for this to work. =Tony Meyer From nick at neoworks.com Tue Jul 15 11:09:40 2003 From: nick at neoworks.com (Nick Vincent) Date: Tue Jul 15 05:09:48 2003 Subject: [Spambayes] Dll not registering Message-ID: <487B2B5FD092D411977400D0B73EB0A2554C47@titan.neoworks.co.uk> > Did you ever find a solution to the problem of Spambayes > being unable to register the DLL/OCX ? I have tried everything. One of my colleagues was able to fix this by "repairing" his Outlook installation using the original disk. From jchen at itri.org.tw Tue Jul 15 18:45:04 2003 From: jchen at itri.org.tw (JChen) Date: Tue Jul 15 05:45:47 2003 Subject: [Spambayes] Can I make a testing by traind scores? Message-ID: <007c01c34ab5$c4856b80$2059608c@ITRI.DS> Hi! Thanks for your great work! I am also doing some research about anti-spam. Could you help me? Wiht the SpamBayes,=20 can I make a test by feeding a single mbox file and using a traind = scores? Thank you!!! Sincerely, YiChia Chen Vice Researcher Computer & Communications Research Laboratories, Industrial Technology Research Institute, Taiwan. From papaDoc at videotron.ca Tue Jul 15 14:48:45 2003 From: papaDoc at videotron.ca (papaDoc) Date: Tue Jul 15 13:48:47 2003 Subject: [Spambayes] Re: [spambayes-dev] Remote access In-Reply-To: <3F14358E.27F21CAC@whidbey.com> References: <1ED4ECF91CDED24C8D012BCF2B034F1302644322@its-xchg4.massey.ac.nz> <3F142655.52EC9B5@whidbey.com> <3F14358E.27F21CAC@whidbey.com> Message-ID: <3F143E7D.9090907@videotron.ca> Hi, >Is there anything in the SpamBayes code that is preventing remote access to >either the proxy or the web interface? I don't see anything obvious in >pop3proxy.py, but that means very little given me limited programming >experience. > Yes, there is the options "allow_remote_connection " that you can set/find in your bayescustomize.ini file I don't know if this options is set to true or false by default. This options should be found in the: [html_ui] section. Remi papaDoc@videotron.ca From vanhorn at whidbey.com Tue Jul 15 12:39:54 2003 From: vanhorn at whidbey.com (G. Armour Van Horn) Date: Tue Jul 15 14:39:58 2003 Subject: [Spambayes] Re: [spambayes-dev] Remote access References: <1ED4ECF91CDED24C8D012BCF2B034F1302644322@its-xchg4.massey.ac.nz> <3F142655.52EC9B5@whidbey.com> <3F14358E.27F21CAC@whidbey.com> <3F143E7D.9090907@videotron.ca> Message-ID: <3F144A7A.BCBC7E23@whidbey.com> I put that in the html_ui section, and the proxy wouldn't start at all. I then added ":True" at the end and it announced an invalid option at startup. I also tried it in the pop3proxy section with the same result. Van papaDoc wrote: > Hi, > > >Is there anything in the SpamBayes code that is preventing remote access to > >either the proxy or the web interface? I don't see anything obvious in > >pop3proxy.py, but that means very little given me limited programming > >experience. > > > Yes, there is the options "allow_remote_connection " > that you can set/find in your bayescustomize.ini file > I don't know if this options is set to true or false by default. > This options should be found in the: [html_ui] section. > > Remi > papaDoc@videotron.ca -- ---------------------------------------------------------- Sign up now for Quotes of the Day, a handful of quotations on a theme delivered every morning. Enlightenment! Daily, for free! mailto:twisted@whidbey.com?subject=Subscribe_QOTD For web hosting and maintenance, visit Van's home page: http://www.domainvanhorn.com/van/ ---------------------------------------------------------- From papaDoc at videotron.ca Tue Jul 15 16:27:03 2003 From: papaDoc at videotron.ca (papaDoc) Date: Tue Jul 15 15:27:14 2003 Subject: [Spambayes] Re: [spambayes-dev] Remote access In-Reply-To: <3F144A7A.BCBC7E23@whidbey.com> References: <1ED4ECF91CDED24C8D012BCF2B034F1302644322@its-xchg4.massey.ac.nz> <3F142655.52EC9B5@whidbey.com> <3F14358E.27F21CAC@whidbey.com> <3F143E7D.9090907@videotron.ca> <3F144A7A.BCBC7E23@whidbey.com> Message-ID: <3F145587.4070100@videotron.ca> Hi, >I put that in the html_ui section, and the proxy wouldn't start at all. I then >added ":True" at the end and it announced an invalid option at startup. I also >tried it in the pop3proxy section with the same result. > This is my bayescustomize.ini [Categorization] ham_cutoff = 0.20 spam_cutoff = 0.90 [pop3proxy] pop3proxy_persistent_storage_file = d:/NoBackup/users/ricard/Spambayes/hammie.db pop3proxy_spam_cache = d:/NoBackup/users/ricard/Spambayes/pop3proxy-spam-cache pop3proxy_ham_cache = d:/NoBackup/users/ricard/Spambayes/pop3proxy-ham-cache pop3proxy_servers = mail.example.com,pop.example2.com,pop.example3.com pop3proxy_ports = 6110,6111, 6112 #[globals] #verbose = True [html_ui] allow_remote_connections = True By default the value is false. (look in Options.py) What I did is wget http://192.168.0.26:8880 and a file named index.html is save in the current directory in index.html you have the interface of pop3proxy Then I tryied with mozilla (a web browser) and I was able to access pop3proxy with http://basswood:8880 or http://192.168.0.26:8880 basswood is the name of the PC running pop3proxy and 192.168.0.26 is its IP So check your bayescustomize.ini to have the good line or copy and paste the one in this email. It should be "= True" not ":True" Remi papaDoc@videotron.ca From edrubins at andisplace.com Tue Jul 15 17:33:34 2003 From: edrubins at andisplace.com (Ed Rubinsky) Date: Tue Jul 15 16:33:40 2003 Subject: [Spambayes] 1.0a4 Problems Message-ID: <5.1.0.14.0.20030715162154.00b1d008@localhost> (Win2K, Eudora 5.1) I downloaded the 1.0a4 beta and unpacked it into a new sub-directory under D:\Progra~1\Python22\. I then: 1. renamed the sub-directory containing the 1.03a code 2. configured the pop3 and smtp proxies 3. started 1.04a pop3proxy.py. 4. using the browser interface trained on saved spam and saved ham. 5. started Eudora. The first thing I noticed was the web interface did not show anything as having been trained. It was not marking anything as spam, nor did it seem to know that anything was available for review. While reading a message in the inbox, I noticed the following in the header. X-Spambayes-Exception: exceptions.AssertionError() in probability() at D:\PROGRAM FILES\Python22\spambayes-1.0a4\spambayes\classifier.py line 307: assert hamcount <= nham So what did I do wrong? Best, Ed From richie at entrian.com Tue Jul 15 22:41:31 2003 From: richie at entrian.com (Richie Hindle) Date: Tue Jul 15 16:46:25 2003 Subject: [Spambayes] Re: [spambayes-dev] Remote access In-Reply-To: <3F144A7A.BCBC7E23@whidbey.com> References: <1ED4ECF91CDED24C8D012BCF2B034F1302644322@its-xchg4.massey.ac.nz> <3F142655.52EC9B5@whidbey.com> <3F14358E.27F21CAC@whidbey.com> <3F143E7D.9090907@videotron.ca> <3F144A7A.BCBC7E23@whidbey.com> Message-ID: [Van] > Is there anything in the SpamBayes code that is preventing remote access to > either the proxy or the web interface? [papaDoc] > Yes, there is the options "allow_remote_connection " [Van] > I put that in the html_ui section, and the proxy wouldn't start at all. I then > added ":True" at the end and it announced an invalid option at startup. I also > tried it in the pop3proxy section with the same result. The option is 'allow_remote_connections = True' (note the 's' and '='). But that only affects the web interface and not the POP3 proxy - the proxy should allow connections from any machine. When you start pop3proxy.py, you should see a message like this: Listener on port 110 is proxying pop3.demon.co.uk:110 This corresponds with my bayescustomize.ini: [pop3proxy] listen_ports=110 remote_servers=pop3.demon.co.uk Does your setup look similar to this? -- Richie Hindle richie@entrian.com From vanhorn at whidbey.com Tue Jul 15 15:41:13 2003 From: vanhorn at whidbey.com (G. Armour Van Horn) Date: Tue Jul 15 17:41:16 2003 Subject: [Spambayes] Re: [spambayes-dev] Remote access References: <1ED4ECF91CDED24C8D012BCF2B034F1302644322@its-xchg4.massey.ac.nz> <3F142655.52EC9B5@whidbey.com> <3F14358E.27F21CAC@whidbey.com> <3F143E7D.9090907@videotron.ca> <3F144A7A.BCBC7E23@whidbey.com> Message-ID: <3F1474F9.C8B2352E@whidbey.com> Well, I don't know what I had messed up earlier, but now I have both proxies working for both proxy and web interface, at least from each other. (Haven't gone and tried from the Mac yet.) A couple of things: Why does this value have to be delimited with " = " while everything else in the file uses ":" (no spaces)? Second, is there a way to change the display in the UI so that it is more clear which proxy you are working with? I poked around a little in pop3proxy.py, Options.py, and UserInterface.py without finding anything obvious. I think I'd like to be able to change every instance of a link to "Home" with the machine name. I'll still screw up and shut down the wrong proxy and have to run upstairs to restart it, but it should be less frequent by an order of magnitude! Van Richie Hindle wrote: > [Van] > > Is there anything in the SpamBayes code that is preventing remote access to > > either the proxy or the web interface? > > [papaDoc] > > Yes, there is the options "allow_remote_connection " > > [Van] > > I put that in the html_ui section, and the proxy wouldn't start at all. I then > > added ":True" at the end and it announced an invalid option at startup. I also > > tried it in the pop3proxy section with the same result. > > The option is 'allow_remote_connections = True' (note the 's' and '='). > > But that only affects the web interface and not the POP3 proxy - the proxy > should allow connections from any machine. When you start pop3proxy.py, > you should see a message like this: > > Listener on port 110 is proxying pop3.demon.co.uk:110 > > This corresponds with my bayescustomize.ini: > > [pop3proxy] > listen_ports=110 > remote_servers=pop3.demon.co.uk > > Does your setup look similar to this? > > -- > Richie Hindle > richie@entrian.com > > _______________________________________________ > Spambayes mailing list > Spambayes@python.org > http://mail.python.org/mailman/listinfo/spambayes -- ---------------------------------------------------------- Sign up now for Quotes of the Day, a handful of quotations on a theme delivered every morning. Enlightenment! Daily, for free! mailto:twisted@whidbey.com?subject=Subscribe_QOTD For web hosting and maintenance, visit Van's home page: http://www.domainvanhorn.com/van/ ---------------------------------------------------------- From c_h at cox.net Tue Jul 15 17:58:58 2003 From: c_h at cox.net (Chris) Date: Tue Jul 15 18:02:06 2003 Subject: [Spambayes] Can't install spam filter Message-ID: <3F147922.8040008@cox.net> Hello, I'm running Windows 2000, SP 4, with Office XP SP 1. When I try to install, I get the "Unable to register the DLL/OCX. DllREgisterServer failed; code 0x80040201" problem. This item has already been reported for item 764325. Do you have any recommendations? I have tried to run regsvr32.exe specifying the spambayes_addin.dll, to no avail. Thank you! Chris H. From T.A.Meyer at massey.ac.nz Wed Jul 16 11:28:38 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Tue Jul 15 18:29:36 2003 Subject: [Spambayes] Can I make a testing by traind scores? Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F130264445A@its-xchg4.massey.ac.nz> > I am also doing some research about anti-spam. > Could you help me? > > With the SpamBayes, > can I make a test by feeding a single mbox file and using a > traind scores? If you look in the testtools directory, you'll probably find everything you need. The 'standard' spambayes testing setup involves each message in a single file, but there is a script that you can use to split a mbox file into this form. (There are also scripts to balance out sets and the like). I'm not sure what you mean by "and using a traind scores". (Although, again, the docs in the testtools directory and in the readme should answer any questions). The testtools will output results of the tests, if that's what you mean. If you mean that you want to feed a mbox to an already built classifier, you should be able to do that as well (probably without needing to resort to the testing tools). =Tony Meyer From T.A.Meyer at massey.ac.nz Wed Jul 16 11:57:13 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Tue Jul 15 18:57:54 2003 Subject: [Spambayes] Re: [spambayes-dev] Remote access Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F130264448C@its-xchg4.massey.ac.nz> > Why does this value have to be delimited with " = " while > everything else in the file uses ":" (no spaces)? The previous messages were incorrect. You can use ":" or "=", with as many spaces either side as you like. (Details about what is allowed can be found here: http://python.org/doc/2.2/lib/module-ConfigParser.html ) > Second, is there a way to change the display in the UI so > that it is more clear which proxy you are working with? On the front page of the UI it should show which servers you are proxying. If the servers are different for each proxy, then you should be able to distinguish them from this. Alternatively, you could set the UI to use different ports on each machine. So you'd have machineone:8880 and machinetwo:8881, or something like that. (To do this have something like: [html_ul] port:8881 In your config file. Not exactly what you asked for, but you can get it without any coding... :) =Tony Meyer From Ernst.Burger at kentron.co.za Wed Jul 16 09:15:54 2003 From: Ernst.Burger at kentron.co.za (Ernst Burger) Date: Wed Jul 16 02:16:38 2003 Subject: [Spambayes] Spam filter directory setting? Message-ID: <05E0AA82E68BD411A4CA00508BC5CE9A04DFFA61@xchsrv1.kidd.co.za> Dear Spambayes, I'm trying to get Spambayes up and running, but have some difficulty in setting up directories where spam should be moved to. The "Filter rules" window for specifying which directories to use allows me so select the right folders, but as when I click the OK button to return to the primary dialog the box that specifies where spam is managed refuses to change from . Is there any spec on where these directories need to be? Some writeprotected config file maybe? Cheers Ernst -------------------------------------------- Ernst Burger Kentron Digital Subsystems PO Box 7412 Centurion 0046 Republic of South Africa Tel.: +27 (0)12 671 1205 (OH) +27 (0)12 675 1205 (Fax) +27 (0)83 415 6993 (Cell) Email: Ernst.Burger@kentron.co.za -------------------------------------------- ******************************************************************************************************* Disclaimer: The information contained in this communication is confidential and may be legally privileged. It is intended solely for the use of the individual or entity to whom it is addressed and others authorised to receive it. Any review, retransmission, dissemination, copying, disclosure or other use of, or taking of any action in reliance upon, this information by person or entities other then the intended recipient is prohibited. If you have received this message in error, please notify the sender immediately by e-mail, facsimile or telephone and return and/or destroy the original message and all copies from any computer. Kentron, a division of Denel (Pty) Ltd, exercises no editorial control over e-mail messages originating in the organisation and does not accept any responsibility for either the contents of the message or any copyright laws that may have been violated by the person sending this message. Kentron is neither liable for the proper and complete transmission of the information contained in this communication nor any delay in its receipt. This message should not be copied or used for any purpose other than intended, nor should it be disclosed to any other person. ******************************************************************************************************* From adam.walker at rbwconsulting.com Wed Jul 16 14:32:02 2003 From: adam.walker at rbwconsulting.com (Adam Walker) Date: Wed Jul 16 13:32:37 2003 Subject: [Spambayes] Spam filter directory setting? In-Reply-To: <05E0AA82E68BD411A4CA00508BC5CE9A04DFFA61@xchsrv1.kidd.co.za> Message-ID: <20030716173228.60CE9862E3@plunder.dreamhost.com> You can try deleting the ini files from the spambayes folder. The faq (http://spambayes.sourceforge.net/faq.html#can-i-back-up-the-outlook-databas e-should-i-do-this) has information on how to find this folder. I have a patch on sourceforge that should fix this problem, but no one has looked at it at. http://sourceforge.net/tracker/?func=detail&aid=769981&group_id=61702&atid=4 98105 Hope that helps, Adam -----Original Message----- From: spambayes-bounces@python.org [mailto:spambayes-bounces@python.org] On Behalf Of Ernst Burger Sent: Wednesday, July 16, 2003 2:16 AM To: 'spambayes@python.org' Subject: [Spambayes] Spam filter directory setting? Dear Spambayes, I'm trying to get Spambayes up and running, but have some difficulty in setting up directories where spam should be moved to. The "Filter rules" window for specifying which directories to use allows me so select the right folders, but as when I click the OK button to return to the primary dialog the box that specifies where spam is managed refuses to change from . Is there any spec on where these directories need to be? Some writeprotected config file maybe? Cheers Ernst -------------------------------------------- Ernst Burger Kentron Digital Subsystems PO Box 7412 Centurion 0046 Republic of South Africa Tel.: +27 (0)12 671 1205 (OH) +27 (0)12 675 1205 (Fax) +27 (0)83 415 6993 (Cell) Email: Ernst.Burger@kentron.co.za -------------------------------------------- **************************************************************************** *************************** Disclaimer: The information contained in this communication is confidential and may be legally privileged. It is intended solely for the use of the individual or entity to whom it is addressed and others authorised to receive it. Any review, retransmission, dissemination, copying, disclosure or other use of, or taking of any action in reliance upon, this information by person or entities other then the intended recipient is prohibited. If you have received this message in error, please notify the sender immediately by e-mail, facsimile or telephone and return and/or destroy the original message and all copies from any computer. Kentron, a division of Denel (Pty) Ltd, exercises no editorial control over e-mail messages originating in the organisation and does not accept any responsibility for either the contents of the message or any copyright laws that may have been violated by the person sending this message. Kentron is neither liable for the proper and complete transmission of the information contained in this communication nor any delay in its receipt. This message should not be copied or used for any purpose other than intended, nor should it be disclosed to any other person. **************************************************************************** *************************** _______________________________________________ Spambayes mailing list Spambayes@python.org http://mail.python.org/mailman/listinfo/spambayes From sholden at holdenweb.com Wed Jul 16 15:10:51 2003 From: sholden at holdenweb.com (Steve Holden) Date: Wed Jul 16 14:16:02 2003 Subject: [Spambayes] RE: Cannot open bayes database In-Reply-To: <04d801c34997$9fb78640$f502a8c0@eden> Message-ID: > -----Original Message----- > From: Mark Hammond [mailto:mhammond@skippinet.com.au] > Sent: Sunday, July 13, 2003 7:37 PM > To: sholden@holdenweb.com; 'Mark Hammond'; 'Spambayes@Python. Org' > Subject: RE: Cannot open bayes database > > > > Spam filtering has suiddenly stopped on my MS Outlook system, > > because it > > can no longer open the database. Is this likley to be because of too > > many spam trained messages? If so, is there some way I can > beef up the > > database, or should I just delete it and start all over again. > > > > Emailed replies would be appreciated. > > It's not clear what "can't open the database" means here. There is a > mysterious bug that raises an assertion error after the DB > has been opened, > which may or may not be what you are referring to. > > In general though, doing a "train", and selecting "rebuild > entire database" > will fix these problems (for some definitions of "these" ) > Bizarro! I unregistered the add-in and re-registered it with debug to see what was goin on, and everything worked perfectly. Sorry about that - not even any definite symptoms to report. I'll keep an eye open for more trouble. regards -- Steve Holden http://www.holdenweb.com/ Python Web Programming http://pydish.holdenweb.com/pwp/ From seant at webreply.com Wed Jul 16 15:18:15 2003 From: seant at webreply.com (Sean True) Date: Wed Jul 16 14:18:05 2003 Subject: [Spambayes] SpamAtBay 1.0 Release and 1.1 Beta Message-ID: <013801c34bc6$a3715ff0$0201a8c0@swapwizard.com> I promise not to write another one this long. I was on vacation for a week, and got backlogged. News flash for developers ========================= There is a plugin architecture that already works. Mostly. If you want to have a hook into every message processed, to apply your favorite heuristics, or to reimplement your other sorting rules in a rational way, see the release note for 1.1 Beta below. There is a plugin architecture that already works. Mostly. I'm going to ask Mark if he would like to include this in the core Spambayes. Mark? Standard preamble ================= For the new people on the list: SpamAtBay is a soon to be available commercial version of the Spambayes addin for Outlook. Any reader of this list who would like to beta test for us is welcome to a permanent license -- and anyone who is a SpamBayes developer can have the license without anything other just asking. In either case, just e-mail me. Brief history: I wrote the first, really, really bad integration with Outlook, using VBA and a Python COM server. Mark Hammond thought the idea was neat, but that the execution was, err, flawed, and pretty much rewrote it from scratch. Over the last few weeks, I've had a team of several people working on polishing, layout, docs, QA, and (gag) marketing oriented features. We're going to release a supported version sometime soon. We're focusing on Tim's "easy enough for my sister" metric. Supported systems: Win98SE, ME, NT 4, Win2K, XP; Outlook 2000/2002/XP/2003 Beta 2 Tech Refresh. Not supported: Win95; Outlook Express. Ooops. That's now out of date, twice over. ========================================= We've released SpamAtBay 1.0 and SpamAtBay 1.1 Beta Candidate 1. We've shipped a site license. We've signed an OEM, which is shipping a version with slightly different UI, much more documentation, and a LOT more marketing expertise. Skip Montanaro asked be to clarify that last one, as it confusing people. I used to work at Dragon Systems. Tim Peters used to work at Dragon Systems. Tim pointed out that his hash tables in Python were better than the ones I had stolen elsewhere. I agreed, and build a large distributed system (Audiomining) at Dragon, with Python in the core of it. Born again Pythonista. Roger Matus and Laura Strassman worked at Dragon, on Audiomining strategy and marketing, among other things. L&H, the Enron of Belgium, bought Dragon. I quit, went to work for a web based technology company (Webreply). Tim quit, went to work for Python Labs. Roger quit. Laura quit. (Hey, some of my best friends stayed. They work for Scansoft now). Years pass. ... Tim steals time from Guido, starts Spambayes. Sean sees Spambayes, adapts it to other things, then writes a REALLY bad integration with Outlook (see above). Mark Hammond takes that over, and makes it good. Roger and Laura start a new company to do Audiomining-like things (Audiotrieve), ask me to be guest CTO in my copious spare time). I agree. Webreply starts using Mark's plugin, my CEO says "Say, could that be a product?". Engineers grumble, roll up sleeves, create SpamAtBay. Roger and Laura see an opportunity to make a number of things much better, and offer an OEM deal, and InBoxer is born. Sean now maintains another branch on the code tree. (What else is Perforce, for anyway!) Tim is not at fault for either of these, except for all the hard work, and for pointing out that we exist. Thanks, Tim! Mark is not at fault, and continues to work at making both products irrelevant (way to go!). Of course, marketing is more important than any of us like to admit. Thanks, Mark! Current Licensing Terms for SpamAtBay ===================================== If you were a beta tester for 1.0 you already have a permanent activation code. If you are a developer (code, docs, frequent question on the list answerer, etc) you can ask me for an activation code, and get one. If you are interested in testing SpamAtBay or evaluating, you get a 14 day trial from our standard download site. Go to http://sean.t.spamatbay.com/referafriend.fhtml and fill out the brief form. A download link will come back to you via email. If you actually want to buy one (hey, two kids heading for college here, that's why I work), there will be a way to do that within the next week, if it kills me (or my web designer). Release notes for Release 1.1 Beta Candidate 1 ============================================== There is a known bug in 1.1. If you install a second user on NT without admin privileges, the system may hiccup and refuse to respond to button clicks for menu items that have not yet been excercised by the admin user. This will be fixed in the next candidate, and is due to the install directory being write protected from the internal script compiler. 1) Advanced/Merge database lets you add an exported database of statistics to your current database 2) "Marking spam as read" checkbox in the filter dialog 3) Uninstall optionally uninstalls all data files (complete uninstall) 4) Fixed a bug in installing a second user without admin provileges 5) Filtering is now disabled during training and manual folder filtering 6) There is a control panel item to change the data directory, suitable for moving to a network drive. Currently not supported for simultaneous access by multiple machines or users. 7) Multiple profiles are now supported: all data files are copied to profile specific names, and downgrading to 1.0 will lose incremental training (unless you manually rename or copy the files back). Developer note: an external plugin architecture is included for the first time. The plugin is able to move, copy, delete, and control the spam category assignment. Contact us for additional information. Summary of changes from BC10 to Release 1.0 Release 1.0 changes 1) Remove "Add Spam Column" from control panel. 2) Minor performance improvement in defered processing timer 3) Only 2% of the users will be asked to send Logs to us after they're 3rd start. 4) Remove "Candidate" from everywhere except this history file Release 1.0 Beta Candidate 12 (0.99.3) 1) Remove GetHostName() internet access at startup -- not needed, and firewall unfriendly 2) Detect incompatible MAPI support more rigorously 3) Fixed bug in running Advanced from Choose Setup 4) Do not process Read receipts and other non-mail items 5) Make the large default database the default if low on good/spam messages 6) Encouraged people to use Express Setup 7) Choose Setup/Setup Wizard are no longer forced to be system top window. 8) Add Folder selection dialog to Custom Setup to allow user to select multiple watched folders Release 1.0 Beta Candidate 11.1 (0.99.2) BC 11 fixes severe Setup Wizard problems for Exchange users. The failure rate for installs on Exchange should now be much lower. 1) Added a post setup guide to make sure users know where the buttons and folders are. 2) Fixed a bug that required multiple clicks to dismiss a dialog. 3) Fixed the corruption of email address auto completion in OL 2002 and XP 4) Fixed multiple problems in creating, finding, and using folders for users using Exchange 5) If you have deleted your target folders, but they are still in the Deleted Items folders, we don't reuse them if you reuse them immediately. Release 1.0 Beta Candidate 10.1 (0.99) * If BC9 simply wouldn't startup for you (see 1, below), this release may help. 1) Fix bug with processing messages at startup and with badly formatted multi-part messages 2) More work on dialog consistency and layout 3) Re-layout the ExpressSetup dialog to deal with Sony 1024x480 form factor 4) Safer dialog and file handling for export/import clues 5) Don't suggest impersonal and generic clues at the same time 6) Some explanation of the "Add Spam View" button in the dialog 7) Dropped background window in setup 8) Accept more default MAPI clients as OK 9) Save configuration right after a successful registration 10) Progress bar now shows last bit of progress 11) Handle errors and no selected message in Whitelist menu -- Sean Sean True CTO Webreply, Inc. From pauls at advantagefactory.com Wed Jul 16 12:39:43 2003 From: pauls at advantagefactory.com (Paul Soderlund) Date: Wed Jul 16 14:38:29 2003 Subject: [Spambayes] Emailing: spambayes2.log Message-ID: <00a501c34bc9$a024ecb0$0200a8c0@InfoSys2> The SpamBayes disappeared from my Outlook tool bar, but seems to still be checking incoming e-mail. Since it is not showing on the toolbar I can't move e mail in our out of Spam. How do I get it back on the toolbar? -------------- next part -------------- A non-text attachment was scrubbed... Name: spambayes2.log Type: application/octet-stream Size: 1228 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030716/245cfe24/spambayes2.obj From paul at infosysassociates.com Wed Jul 16 12:46:08 2003 From: paul at infosysassociates.com (Paul Soderlund) Date: Wed Jul 16 14:44:54 2003 Subject: [Spambayes] RE: Emailing: spambayes2.log Message-ID: <00ad01c34bca$85c60510$0200a8c0@InfoSys2> Found the instruction on how to get it to show up and it worked. Thx, sorry for the un-needed e-mail Paul Soderlund 6521 NE Sundance Lane Bainbridge Island, WA 98110 Phone: 206-903-8935 Fax: 206-903-8935 -----Original Message----- From: Paul Soderlund [mailto:pauls@advantagefactory.com] Sent: Wednesday, July 16, 2003 11:40 AM To: 'spambayes@python.org' Subject: Emailing: spambayes2.log The SpamBayes disappeared from my Outlook tool bar, but seems to still be checking incoming e-mail. Since it is not showing on the toolbar I can't move e mail in our out of Spam. How do I get it back on the toolbar? From wsadkin at nameconnector.com Wed Jul 16 15:49:54 2003 From: wsadkin at nameconnector.com (Will Sadkin) Date: Wed Jul 16 14:50:01 2003 Subject: [Spambayes] RE: Emailing: spambayes2.log Message-ID: <61957B071FF421419E567A28A45C7FE552F9E2@mailbox.nameconnector.com> Erm, in case this happens to others, could you either post the method, or the place where you found it? Thanks in advance, /Will Sadkin Parlance Corporation www.nameconnector.com > -----Original Message----- > From: Paul Soderlund [mailto:paul@infosysassociates.com] > Sent: Wednesday, July 16, 2003 2:46 PM > To: spambayes@python.org > Subject: [Spambayes] RE: Emailing: spambayes2.log > > > Found the instruction on how to get it to show up and it > worked. Thx, sorry > for the un-needed e-mail > > Paul Soderlund > > 6521 NE Sundance Lane > Bainbridge Island, WA 98110 > Phone: 206-903-8935 > Fax: 206-903-8935 > > -----Original Message----- > From: Paul Soderlund [mailto:pauls@advantagefactory.com] > Sent: Wednesday, July 16, 2003 11:40 AM > To: 'spambayes@python.org' > Subject: Emailing: spambayes2.log > > > The SpamBayes disappeared from my Outlook tool bar, but > seems to still be > checking incoming e-mail. Since it is not showing on the > toolbar I can't > move e mail in our out of Spam. > > How do I get it back on the toolbar? > > > _______________________________________________ > Spambayes mailing list > Spambayes@python.org > http://mail.python.org/mailman/listinfo/spambayes > From sakamoto at brasiliasp.br Wed Jul 16 17:26:17 2003 From: sakamoto at brasiliasp.br (Paulo Sakamoto) Date: Wed Jul 16 15:26:32 2003 Subject: [Spambayes] Unable to bind different addresses to port 110? Message-ID: Hi, I have been using the 1.02a pop3proxy (in linux) to proxy 3 servers at the port 110, using 3 different addresses. The "status configuration" at the web interface 1.02 shows something like this: "POP3 proxy running on 10.1.1.55:110, 10.1.1.56:110, 10.1.1.57:110, proxying to pop.XXX.com:110, pop.YYY.com:110, pop.ZZZ.com:110." I tried to upgrade to 1.04a, but I couldn't use this configuration. The configuration page of the web interface didn't accept it. How can I do it? Or was this feature dropped? Thanks! Paulo Sakamoto From larry.chase at verizon.net Wed Jul 16 16:39:19 2003 From: larry.chase at verizon.net (Larry Chase) Date: Wed Jul 16 15:39:58 2003 Subject: [Spambayes] Your site was reviewed in my publication Message-ID: Hi there, I am Larry Chase. I publish a newsletter called Web Digest For Marketers. Hopefully you've heard of it. :-) SpamBayes was recently reviewed in my publication, which has a subscriber base of over 42,000. The publication is also passed along, so cumulatively well over 42,000 read our review of your site. The fact that your site was reviewed is something of an honor, as for every site we review, ten are rejected. Congratulations. If you would like to post the review on your web site, you can do so provided you give full attribution to "Larry Chase's Web Digest for Marketers" and provide a live link back to http://wdfm.com. If this is of interest to you let me know. And again, congratulations. Cordially, Larry Chase: Publisher Web Digest For Marketers http://wdfm.com Author: "Essential Business Tactics f/t Net" Sample chapter at http://LarryChase.com Ph: (212) 619-4780 Email: me@LarryChase.com See my new "Need-to-Know Marketing Sites" guide at: http://www.wdfm.com/n2k/FYINeedtoKnow5.htm From T.A.Meyer at massey.ac.nz Thu Jul 17 11:25:26 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Wed Jul 16 18:26:12 2003 Subject: [Spambayes] Unable to bind different addresses to port 110? Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F1302644832@its-xchg4.massey.ac.nz> > I have been using the 1.02a pop3proxy (in linux) to proxy 3 > servers at the port 110, using 3 different addresses. The > "status configuration" at the web interface 1.02 shows > something like this: > > "POP3 proxy running on 10.1.1.55:110, 10.1.1.56:110, > 10.1.1.57:110, proxying to pop.XXX.com:110, pop.YYY.com:110, > pop.ZZZ.com:110." > > I tried to upgrade to 1.04a, but I couldn't use this > configuration. The configuration page of the web interface > didn't accept it. > > How can I do it? Or was this feature dropped? No, this should still work. Do you get some sort of traceback, or just an 'invalid setting' html message? Are all of the addresses made up of characters in the ranges a-z, A-Z, 0-9, - and .? (If not, what are the other characters?) =Tony Meyer From T.A.Meyer at massey.ac.nz Thu Jul 17 11:28:33 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Wed Jul 16 18:29:10 2003 Subject: [Spambayes] Your site was reviewed in my publication Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F130264483A@its-xchg4.massey.ac.nz> > The fact that your site was reviewed is > something of an honor, as for every site we review, ten are > rejected. Congratulations. Thanks. Any chance of corrections? Your notes state that SpamBayes works with Outlook 2000 or Outlook XP. In fact, SpamBayes works with any POP3/IMAP mail client, plus Lotus Notes and Outlook with Exchange. =Tony Meyer From mhammond at skippinet.com.au Thu Jul 17 09:46:08 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Wed Jul 16 18:46:20 2003 Subject: [Spambayes] RE: Emailing: spambayes2.log In-Reply-To: <61957B071FF421419E567A28A45C7FE552F9E2@mailbox.nameconnector.com> Message-ID: <06fd01c34bec$0cf08440$f502a8c0@eden> I reckon he is referring to the "troubleshooting guide" included with SpamBayes) - this includes info on how to do a "hard reset" of the Outlook toolbars. Mark. > Erm, in case this happens to others, could you either post the > method, or the place where you found it? > > Thanks in advance, > /Will Sadkin > Parlance Corporation > www.nameconnector.com > > > > -----Original Message----- > > From: Paul Soderlund [mailto:paul@infosysassociates.com] > > Sent: Wednesday, July 16, 2003 2:46 PM > > To: spambayes@python.org > > Subject: [Spambayes] RE: Emailing: spambayes2.log > > > > > > Found the instruction on how to get it to show up and it > > worked. Thx, sorry > > for the un-needed e-mail > > > > Paul Soderlund > > > > 6521 NE Sundance Lane > > Bainbridge Island, WA 98110 > > Phone: 206-903-8935 > > Fax: 206-903-8935 > > > > -----Original Message----- > > From: Paul Soderlund [mailto:pauls@advantagefactory.com] > > Sent: Wednesday, July 16, 2003 11:40 AM > > To: 'spambayes@python.org' > > Subject: Emailing: spambayes2.log > > > > > > The SpamBayes disappeared from my Outlook tool bar, but > > seems to still be > > checking incoming e-mail. Since it is not showing on the > > toolbar I can't > > move e mail in our out of Spam. > > > > How do I get it back on the toolbar? > > > > > > _______________________________________________ > > Spambayes mailing list > > Spambayes@python.org > > http://mail.python.org/mailman/listinfo/spambayes > > > > _______________________________________________ > Spambayes mailing list > Spambayes@python.org > http://mail.python.org/mailman/listinfo/spambayes > From mhammond at skippinet.com.au Thu Jul 17 09:49:58 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Wed Jul 16 18:50:13 2003 Subject: [Spambayes] Spam filter directory setting? In-Reply-To: <05E0AA82E68BD411A4CA00508BC5CE9A04DFFA61@xchsrv1.kidd.co.za> Message-ID: <06fe01c34bec$95b1fa20$f502a8c0@eden> > I'm trying to get Spambayes up and running, but have some > difficulty in > setting up directories where spam should be moved to. The > "Filter rules" > window for specifying which directories to use allows me so > select the right > folders, but as when I click the OK button to return to the > primary dialog > the box that specifies where spam is managed refuses to > change from folders>. Is there any spec on where these directories need > to be? Some > writeprotected config file maybe? Someone mentioned in passing that they had touble setting IMAP folders for spam/spam maybe - are you using IMAP? If so, it would be great if you could open a bug including the log file. Thanks, Mark. From robert at imagine.co.uk Thu Jul 17 05:53:26 2003 From: robert at imagine.co.uk (Robert Neuschul) Date: Wed Jul 16 23:53:30 2003 Subject: [Spambayes] 3 problems Message-ID: 1] changing the Web UI to permit remote login/config/training. Cannot find anything in the docs, or in any of the obvious scripts to permit anything other than a default http://localhost login. Is this possible? 2] when running either the pop3proxy or the pop3proxy_server script, my current version of Spambayes [downloaded last Friday] is now refusing SMTP connections. This worked since installation without a problem until about 4 hours ago. The only nonstandard item I have in the config is the ini file entry [Storage] persistent_use_database:False Right now, this message is only going out because I've set the smtp server settings in the mail client to go direct to my actual server. 3] Is it possible to configure the text of the X headers anywhere obvious? Again, I've had a quick look through the documentation and can't see anything obvious, and whilst I've looked at some of the py files I'm nervous of messing with them. Info: running Spambayes on a W2K server, with SP2, using latest ActiveState Python. Mail client is Virtual Access and full debug logs of POP/SMTP sessions are available if required. TIA, Robert From vanhorn at whidbey.com Wed Jul 16 21:57:36 2003 From: vanhorn at whidbey.com (G. Armour Van Horn) Date: Wed Jul 16 23:57:40 2003 Subject: [Spambayes] 3 problems References: Message-ID: <3F161EB0.444213AE@whidbey.com> Robert, Sorry, I don't have my article written yet, but I do have the bit about remote access. In the bayescustomize.ini, include the following: [html_ui] allow_remote_connections=True I can't help you on the SMTP server issue, I haven't used that at all so far. I assume you've shut the proxy down and restarted it? Ditto the entire machine? Van Robert Neuschul wrote: > 1] changing the Web UI to permit remote login/config/training. Cannot > find anything in the docs, or in any of the obvious scripts to permit > anything other than a default http://localhost login. Is this possible? > > 2] when running either the pop3proxy or the pop3proxy_server script, my > current version of Spambayes [downloaded last Friday] is now refusing > SMTP connections. This worked since installation without a problem > until about 4 hours ago. The only nonstandard item I have in the config > is the ini file entry > > [Storage] > persistent_use_database:False > > Right now, this message is only going out because I've set the smtp > server settings in the mail client to go direct to my actual server. > > 3] Is it possible to configure the text of the X headers anywhere > obvious? Again, I've had a quick look through the documentation and > can't see anything obvious, and whilst I've looked at some of the py > files I'm nervous of messing with them. > > Info: running Spambayes on a W2K server, with SP2, using latest > ActiveState Python. Mail client is Virtual Access and full debug logs > of POP/SMTP sessions are available if required. > > TIA, > > Robert > > _______________________________________________ > Spambayes mailing list > Spambayes@python.org > http://mail.python.org/mailman/listinfo/spambayes -- ---------------------------------------------------------- Sign up now for Quotes of the Day, a handful of quotations on a theme delivered every morning. Enlightenment! Daily, for free! mailto:twisted@whidbey.com?subject=Subscribe_QOTD For web hosting and maintenance, visit Van's home page: http://www.domainvanhorn.com/van/ ---------------------------------------------------------- From T.A.Meyer at massey.ac.nz Thu Jul 17 17:00:43 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Thu Jul 17 00:01:46 2003 Subject: [Spambayes] 3 problems Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F1302644A5A@its-xchg4.massey.ac.nz> > 1] changing the Web UI to permit remote login/config/training. Cannot > find anything in the docs, or in any of the obvious scripts to permit > anything other than a default http://localhost login. Is this > possible? Do you mean can you connect remotely? If so, then yes, just use the machine's name instead of localhost. You also need to set the config option [html_ui]allow_remote_connections to True. Note that at the moment there is no security, so anyone that tries to connect to your machine at the right port will have access to your pop3proxy interface (assuming you don't block this with some other software). There is a (quite old!) feature request open for better security. > 2] when running either the pop3proxy or the pop3proxy_server > script, my > current version of Spambayes [downloaded last Friday] is now refusing > SMTP connections. This worked since installation without a problem > until about 4 hours ago. What happens if you telnet to localhost:25? (or whatever port you have it proxying at). Do you get the same thing as if you telnet to smtp.yourmailserver.com:25? > 3] Is it possible to configure the text of the X headers anywhere > obvious? Again, I've had a quick look through the documentation and > can't see anything obvious, and whilst I've looked at some of the py > files I'm nervous of messing with them. Yes, these are all changeable in your config file in the [headers] section. Easiest thing to do is: >>> from spambayes import Options >>> o = Options.options >>> print o.display_full("Headers") This should give you enough information to add the appropriate details to your config file. =Tony Meyer From robert at imagine.co.uk Thu Jul 17 09:37:20 2003 From: robert at imagine.co.uk (Robert Neuschul) Date: Thu Jul 17 03:37:23 2003 Subject: [Spambayes] 3 problems In-Reply-To: <3F161EB0.444213AE@whidbey.com> References: <3F161EB0.444213AE@whidbey.com> Message-ID: Hi there Fancy meeting you here :-) Thanks, that was exactly the info I was looking for on the html UI side. Yup, tried shutting the system down, tried shutting the proxy down. Can't figure this at all. Even uninstalled the proxy service and deleted everything and then re-installed. Still doesn't work. No idea what I've done to make it so, and I really would prefer not to have to leave the server logged in so I can run the explicit smtpproxy.py script at a command prompt. Given that there's an [smtpproxy] element in the ini file which says quite clearly "listen on this port" I've no idea what next - I can only conclude that I had somehow not set the client to talk to the smtp proxy and that it has not in fact ever worked :-) Thanks again Robert@imagineering From robert at imagine.co.uk Thu Jul 17 09:37:21 2003 From: robert at imagine.co.uk (Robert Neuschul) Date: Thu Jul 17 03:37:29 2003 Subject: [Spambayes] 3 problems In-Reply-To: <1ED4ECF91CDED24C8D012BCF2B034F1302644A5A@its-xchg4.massey.ac.nz> References: <1ED4ECF91CDED24C8D012BCF2B034F1302644A5A@its-xchg4.massey.ac.nz> Message-ID: Hi Tony, > Do you mean can you connect remotely? If so, then yes, just use the Thanks - now sussed. Security in this case isn't an issue here: strongly controlled by other means, including IPCHAINS and Sonicwall. > What happens if you telnet to localhost:25? (or whatever port you have > it proxying at). Do you get the same thing as if you telnet to > smtp.yourmailserver.com:25? Same thing either way: nothing unless I explicitly run the smtpproxy.py script at the command line. Which is a change in operations status that I don't understand: for the last 5 days SMTP proxy has been running as part of the overall config - and working fine. Or more accurately I should say - my mail client has been successfully sending and receiving messages whilst I thought it was configured for Spambayes; it's possible I had screwed up and then "fixed" something in the mail client SMTP settings and that Spambayes has never been proxying the smtp stuff. If that's the case then it's likely that installing and then starting the pop3proxy_service.py script under W2K does not in fact run the smtpproxy.py script. Assuming that the smtp section of the ini file lists the smtp service listener on port 25 I'm now not entirely clear whether I should be expecting the smtp proxy to start natively when the pop proxy service starts. For the time being I have it running through a startup batch command, which works more or less as expected; but I don't much like leaving a server logged in at the desktop. > This should give you enough information to add the appropriate details > to your config file. Yup: many thanks; had I actually devoted just a leeetle more time to studying the FAQ and comprehending what it was telling me I think I'd have eventually worked that one out. I failed to comprehend that it was actually telling me to open python's command prompt first, before trying to get at the options. As it is, thanks for putting up with dumb newbie. Robert. From robert at imagine.co.uk Thu Jul 17 14:57:53 2003 From: robert at imagine.co.uk (Robert Neuschul) Date: Thu Jul 17 08:57:57 2003 Subject: [Spambayes] 3 problems In-Reply-To: References: <1ED4ECF91CDED24C8D012BCF2B034F1302644A5A@its-xchg4.massey.ac.nz> Message-ID: Tony, I spoke too soon; this gets interesting. If pop3proxy_service is installed and running, with [html_ui] allow_remote_connections=True Then I can login to the UI locally at localhost:8880 But I cannot login remotely. If pop3proxy.py is running as well as or instead of the service then I can indeed login remotely. It begins to sound as if the service version of the script doesn't work in quite the same fashion as the command line version. Curiouser and curioser. Robert. From mhammond at skippinet.com.au Fri Jul 18 00:02:54 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Thu Jul 17 09:03:09 2003 Subject: [Spambayes] 3 problems In-Reply-To: Message-ID: <02a501c34c63$bcf0b230$f502a8c0@eden> > It begins to sound as if the service version of the script > doesn't work > in quite the same fashion as the command line version. > > Curiouser and curioser. The service may not have rights to use the network (as by default, it will use the LocalServer account). Try modifying the service properties to use your username and password. Mark. From skip at pobox.com Thu Jul 17 09:15:56 2003 From: skip at pobox.com (Skip Montanaro) Date: Thu Jul 17 09:16:04 2003 Subject: [Spambayes] 3 problems In-Reply-To: References: <1ED4ECF91CDED24C8D012BCF2B034F1302644A5A@its-xchg4.massey.ac.nz> Message-ID: <16150.41356.538291.364725@montanaro.dyndns.org> Robert> If Robert> pop3proxy_service is installed and running, with Robert> [html_ui] allow_remote_connections=True Robert> Then Robert> I can login to the UI locally at localhost:8880 Robert> But Robert> I cannot login remotely. Make sure there's not another copy of pop3proxy running which was started before you changed the config option. Skip From Carsten.Gardan at unisys.com Thu Jul 17 12:45:23 2003 From: Carsten.Gardan at unisys.com (Gardan, Carsten B) Date: Thu Jul 17 11:46:07 2003 Subject: [Spambayes] bug? Message-ID: <3010F4D7BBD5F64C9C2D17B9D17BB37701BC3935@USTR-EXCH4.na.uis.unisys.com> I installed spambayes for the first time but the anti spam drop down button did not appear. The most recent log file shows an error. <> <> <> Please advise what I should do next, thanks. > Carsten Gardan > Advanced Cost Estimation > UNISYS > phone 610 648 3449 > Net2 385 3449 > mobile 610 864 7638 > email carsten.gardan@unisys.com Unisys Confidential - This e-mail contains information that is confidential to Unisys Corporation. Such information may only be accessed to and/or used by Unisys personnel or persons otherwise subject to written confidentiality obligations to Unisys Corporation. -------------- next part -------------- A non-text attachment was scrubbed... Name: spambayes3.log Type: application/octet-stream Size: 36 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030717/26477b1a/spambayes3.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: spambayes2.log Type: application/octet-stream Size: 482 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030717/26477b1a/spambayes2.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: spambayes1.log Type: application/octet-stream Size: 2149 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030717/26477b1a/spambayes1.obj From lessarablock at yahoo.ca Thu Jul 17 13:23:07 2003 From: lessarablock at yahoo.ca (Les Block) Date: Thu Jul 17 12:23:40 2003 Subject: [Spambayes] Outlook - marking as read Message-ID: <20030717162307.14945.qmail@web40606.mail.yahoo.com> I've just installed SpamBayes. Seems to be working correctly - except that with incoming ham messages, after I read them, or replay to them, they remain bold, like they've not been read? How do I fix this? Thanks, ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca From robert at imagine.co.uk Thu Jul 17 21:04:02 2003 From: robert at imagine.co.uk (Robert Neuschul) Date: Thu Jul 17 15:04:09 2003 Subject: [Spambayes] 3 problems In-Reply-To: <02a501c34c63$bcf0b230$f502a8c0@eden> References: <02a501c34c63$bcf0b230$f502a8c0@eden> Message-ID: Mark Thanks for the thought, but I'm old and fairly wise in the ways of MS stuff: the service was and is running as the server SYSTEM account. Which for the purposes of most normal apps should give it the same level of system and file permissions as the system's local [but not domain] Administrator. If it's a permissioning issue then I'd have expected to see an error message from the service module itself - either at system startup or at service startup - to the effect that the smtp proxy module cannot start. There is no such message in the event logs or anywhere else that I can see. For the purposes of elimination, are you able to confirm that the pop3proxy_service.py module *should* also start the smtpproxy? Thanks for your help Robert. From robert at imagine.co.uk Thu Jul 17 21:04:08 2003 From: robert at imagine.co.uk (Robert Neuschul) Date: Thu Jul 17 15:04:16 2003 Subject: [Spambayes] 3 problems In-Reply-To: <16150.41356.538291.364725@montanaro.dyndns.org> References: <1ED4ECF91CDED24C8D012BCF2B034F1302644A5A@its-xchg4.massey.ac.nz> <16150.41356.538291.364725@montanaro.dyndns.org> Message-ID: Skip Tried that; see earlier messages. Even tried a reboot to be absolutely certain. Thanks Robert. From RCaro at CMC.us Thu Jul 17 16:33:53 2003 From: RCaro at CMC.us (Dick Caro) Date: Thu Jul 17 15:34:27 2003 Subject: [Spambayes] Bugs in 003 Message-ID: Today I had to remove my recent installation of Ver. 003 and reinstall Ver. 002. While spam filtering was unaffected, Ver. 003 seems to have its Toolbar buttons all messed up. It worked well after I installed 003 on top of 002 to preserve my training. After a few reboots, the Outlook toolbar contained only "Delete as Spam" and "Anti-Spam" buttons in their own toolbar, not integrated with the Outlook Toolbar. There was no way to Recover e-mail in my "Maybe Spam" folder since the Recover from Spam button was not there. I have returned to 002 that has some bugs in the toolbar area, generating extra buttons, but once these are "Customized" out, they stay gone. Thanks for doing such good work. SpamBayes is amazing. Dick Caro ============================================ Richard H. Caro, CEO CMC Associates 2 Beth Circle, Acton, MA 01720 Tel: +1.978.635.9449 Mobile: +1.978.764.4728 Fax: +1.978.246.1270 E-mail: RCaro@CMC.us Web: http://www.CMC.us ============================================ -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2348 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030717/d9b34221/winmail.bin From Stuart at tessco.com Thu Jul 17 16:54:24 2003 From: Stuart at tessco.com (Stuart, Bill) Date: Thu Jul 17 15:56:05 2003 Subject: [Spambayes] Bugs in 003 Message-ID: <1FD2979B57654E4CAB54AE001EDFED2704496364@xmail01.tessco.com> The Outlook plugin works great for me. I do have the bug that doesn't mark a message as read, and I also have a problem where the spam rating display is erratic. It always seems to correctly identify spam, ham, or unsure, but the rating display sometimes shows zero on spam that has been correctly filtered to my spam folder. Other times it fails to show a rating at all, regardless of which folder it winds up in. But again, it still filters correctly. I'm using Win2k (Pro, I think) SP3 and Outlook 2000, and I had no version installed before 003. Probably be useful if you also included your versions so the developers can identify if it's common to a particular platform. - Bill stuart@tessco.com > -----Original Message----- > From: Dick Caro [mailto:RCaro@CMC.us] > Sent: Thursday, July 17, 2003 3:34 PM > To: SpamBayes@python.org > Subject: [Spambayes] Bugs in 003 > > Today I had to remove my recent installation of Ver. 003 and reinstall > Ver. 002. > > While spam filtering was unaffected, Ver. 003 seems to have its Toolbar > buttons all messed up. It worked well after I installed 003 on top of 002 > to preserve my training. After a few reboots, the Outlook toolbar > contained only "Delete as Spam" and "Anti-Spam" buttons in their own > toolbar, not integrated with the Outlook Toolbar. There was no way to > Recover e-mail in my "Maybe Spam" folder since the Recover from Spam > button was not there. > > I have returned to 002 that has some bugs in the toolbar area, generating > extra buttons, but once these are "Customized" out, they stay gone. > > Thanks for doing such good work. SpamBayes is amazing. > > Dick Caro > ============================================ > Richard H. Caro, CEO > CMC Associates > 2 Beth Circle, Acton, MA 01720 > Tel: +1.978.635.9449 Mobile: +1.978.764.4728 > Fax: +1.978.246.1270 > E-mail: RCaro@CMC.us > Web: http://www.CMC.us > ============================================ > << File: ATT454688.txt >> From T.A.Meyer at massey.ac.nz Fri Jul 18 11:36:46 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Thu Jul 17 18:37:46 2003 Subject: [Spambayes] bug? Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F1302644BC1@its-xchg4.massey.ac.nz> > I installed spambayes for the first time but the anti spam > drop down button did not appear. The most recent log file > shows an error. <> <> > <> > Please advise what I should do next, thanks. Please try downloading the latest version of the installer (003) and seeing if that works. That version fixed a lot of the problems with installing that were present in the 002 version, which the logs seem to indicate you have. =Tony Meyer From vince_young at sbcglobal.net Thu Jul 17 18:47:15 2003 From: vince_young at sbcglobal.net (VDY) Date: Thu Jul 17 18:47:19 2003 Subject: [Spambayes] unable to load spambayes Message-ID: <000001c34cb5$5f467370$6e7ba8c0@c1693476a> I have been trying to load spambayes without success. I did the auto installer and when I do that I get an error registering the addin.dll. I also tried to load it manually by loading python then the windows component, then the spambayes and clicking the addin.py, again without success. Here is the log file from one of the attempts Traceback (most recent call last): File "", line 10, in ? File "out3.pkg/iu.pyc", line 277, in importHook File "out3.pkg/iu.pyc", line 362, in doimport File "out1.pyz/addin", line 72, in ? File "out1.pyz/win32com.client.gencache", line 347, in EnsureModule pywintypes.com_error: (-2147312566, 'Error loading type library/DLL.', None, None) I am running xp professional Outlook XP Spambayes 003 Any ideas. I get nothing in Outlook, no toolbar, nothing in the addin checkboxes. Vince From mhammond at skippinet.com.au Fri Jul 18 09:49:43 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Thu Jul 17 18:50:12 2003 Subject: [Spambayes] 3 problems In-Reply-To: Message-ID: <059e01c34cb5$b9bcde20$f502a8c0@eden> > Thanks for the thought, but I'm old and fairly wise in the ways of MS > stuff: the service was and is running as the server SYSTEM account. > Which for the purposes of most normal apps should give it the same > level of system and file permissions as the system's local [but not > domain] Administrator. I'm not that up on the builtin account rights - but I am fairly certain that networking resources are not available to services running under the local system account. In fact, I can find this documented in a few places: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/instsql/in_ overview_6k1f.asp """ Using the Local System Account The local system account does not require a password, does not have network access rights in Windows NT 4.0 and Windows 2000, and restricts your SQL Server installation from interacting with other servers. """ I'm not sure how emcompassing "networking" is in this context, but I know from experience that "Microsoft Networking" doesn't work. I have no direct experience with using sockets from a service, but that warning still seems relevant. > If it's a permissioning issue then I'd have expected to see an error > message from the service module itself - either at system > startup or at > service startup - to the effect that the smtp proxy module cannot > start. There is no such message in the event logs or anywhere > else that > I can see. I agree in general - however, it assumes that the code makes no attempt to catch this error. The pop3 proxy guts may be silently eating the problem text. > For the purposes of elimination, are you able to confirm that the > pop3proxy_service.py module *should* also start the smtpproxy? It does, in the same process (but a different thread) as the primary service. Mark. From T.A.Meyer at massey.ac.nz Fri Jul 18 11:50:14 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Thu Jul 17 18:51:05 2003 Subject: [Spambayes] unable to load spambayes Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F1302644BCA@its-xchg4.massey.ac.nz> > I have been trying to load spambayes without success. I did > the auto installer and when I do that I get an error > registering the addin.dll. I also tried to load it manually > by loading python then the windows component, then the > spambayes and clicking the addin.py, again without success. > Here is the log file from one of the attempts [...] What trace do you get when you run addin.py? (This will probably be more useful than the log from the binary installer). =Tony Meyer From mhammond at skippinet.com.au Fri Jul 18 09:51:01 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Thu Jul 17 18:51:15 2003 Subject: [Spambayes] Outlook - marking as read In-Reply-To: <20030717162307.14945.qmail@web40606.mail.yahoo.com> Message-ID: <05a401c34cb5$e5933fd0$f502a8c0@eden> This bug is being tracked in http://sourceforge.net/tracker/index.php?func=detail&aid=716684&group_id=617 02&atid=498103 - we don't know what causes it, or how to fix it. I have never seen it :( Thanks, Mark. > -----Original Message----- > From: spambayes-bounces@python.org > [mailto:spambayes-bounces@python.org]On Behalf Of Les Block > Sent: Friday, 18 July 2003 2:23 AM > To: spambayes@python.org > Subject: [Spambayes] Outlook - marking as read > > > I've just installed SpamBayes. > Seems to be working correctly - except that with > incoming ham messages, after I read them, or replay to > them, they remain bold, like they've not been read? > > How do I fix this? > > Thanks, > > ______________________________________________________________ > ________ > Post your free ad now! http://personals.yahoo.ca > > _______________________________________________ > Spambayes mailing list > Spambayes@python.org > http://mail.python.org/mailman/listinfo/spambayes From T.A.Meyer at massey.ac.nz Fri Jul 18 11:54:32 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Thu Jul 17 18:55:11 2003 Subject: [Spambayes] 3 problems Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F1302644BCE@its-xchg4.massey.ac.nz> >> If it's a permissioning issue then I'd have expected to see an error >> message from the service module itself - either at system startup or >> at service startup - to the effect that the smtp proxy module cannot >> start. There is no such message in the event logs or anywhere >> else that I can see. > I agree in general - however, it assumes that the code > makes no attempt to catch this error. The pop3 proxy guts > may be silently eating the problem text. I don't know anything much about the service stuff, but I can definitely say that pop3proxy has an annoying habit of eating up error messages, particularly those involving the ui. (Sometimes these will appear in the html generated, sometimes in the console window, and sometimes it seems not at all). =Tony Meyer From mhammond at skippinet.com.au Fri Jul 18 10:00:20 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Thu Jul 17 19:00:53 2003 Subject: [Spambayes] unable to load spambayes In-Reply-To: <1ED4ECF91CDED24C8D012BCF2B034F1302644BCA@its-xchg4.massey.ac.nz> Message-ID: <05ab01c34cb7$337de280$f502a8c0@eden> > > I have been trying to load spambayes without success. I did > > the auto installer and when I do that I get an error > > registering the addin.dll. I also tried to load it manually > > by loading python then the windows component, then the > > spambayes and clicking the addin.py, again without success. > > Here is the log file from one of the attempts > [...] > > What trace do you get when you run addin.py? (This will probably be > more useful than the log from the binary installer). Actually, that log is just fine, and the runtime is likely to give the same one. This means that one of the Outlook type libraries is not installed, but I have no idea how that happened. I have heard anecdotally that getting out your Office CD and "repairing" it may work. Mark. -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 1952 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030718/e84ff239/winmail.bin From hwilkins at harrahs.com Thu Jul 17 19:06:02 2003 From: hwilkins at harrahs.com (Bobby Wilkins) Date: Thu Jul 17 19:06:46 2003 Subject: [Spambayes] Outlook - marking as read Message-ID: 2 people at my work-place have it happen 70+% of the time. I have had it happen <1% of the time since I first started using Outlook -- long before SpamBayes hit my PC. -----Original Message----- From: Mark Hammond [mailto:mhammond@skippinet.com.au] Sent: Thursday, July 17, 2003 5:51 PM To: 'Les Block'; spambayes@python.org Subject: RE: [Spambayes] Outlook - marking as read This bug is being tracked in http://sourceforge.net/tracker/index.php?func=detail&aid=716684&group_id=617 02&atid=498103 - we don't know what causes it, or how to fix it. I have never seen it :( Thanks, Mark. > -----Original Message----- > From: spambayes-bounces@python.org > [mailto:spambayes-bounces@python.org]On Behalf Of Les Block > Sent: Friday, 18 July 2003 2:23 AM > To: spambayes@python.org > Subject: [Spambayes] Outlook - marking as read > > > I've just installed SpamBayes. > Seems to be working correctly - except that with > incoming ham messages, after I read them, or replay to > them, they remain bold, like they've not been read? > > How do I fix this? > > Thanks, > > ______________________________________________________________ > ________ > Post your free ad now! http://personals.yahoo.ca > > _______________________________________________ > Spambayes mailing list > Spambayes@python.org > http://mail.python.org/mailman/listinfo/spambayes _______________________________________________ Spambayes mailing list Spambayes@python.org http://mail.python.org/mailman/listinfo/spambayes From Fen at qsii.com Thu Jul 17 18:34:13 2003 From: Fen at qsii.com (Fen Frehner) Date: Thu Jul 17 20:33:41 2003 Subject: [Spambayes] Suggestion Message-ID: <000001c34cc4$50b499e0$0901a8c0@inside.qsii.com> Hello. I really like the SpamBayes program. It is saving me some time. One thing I thought about that would save even more time is the following: if SpamBayes could take a snapshot of the current status of "you have unread messages" (on my screen, an envelope shows on the tool tray), than if it detects that an incoming message is spam and moves it to the spam folder, it could "restore" the "unread" flag to whatever it was prior to receiving the spam message. Currently, any incoming mail, including spam, turns on the "you have new e-mail" icon if it is moved out of my inbox (so I am obliged to check the inbox as to whether any useful e-mail arrived or not).. Do you think that is a possibility? Thanks very much. Fen. From damian at science.nus.edu.sg Fri Jul 18 09:34:08 2003 From: damian at science.nus.edu.sg (damian) Date: Fri Jul 18 04:34:09 2003 Subject: [Spambayes] enquiry Message-ID: <1058517236.5575.39.camel@localhost.localdomain> Hi, I am trying to configure spambayes to work with my procmail. I found a .procmailrc file in spambayes directory. Do I use this .procmailrc file? or I use my existing .procmailrc file and add some details to it? Thanks and rgds, Damian -- damian From sakamoto at brasiliasp.br Fri Jul 18 10:24:27 2003 From: sakamoto at brasiliasp.br (Paulo Sakamoto) Date: Fri Jul 18 08:24:51 2003 Subject: RES: [Spambayes] Unable to bind different addresses to port 110? In-Reply-To: <1ED4ECF91CDED24C8D012BCF2B034F1302644832@its-xchg4.massey.ac.nz> Message-ID: <001701c34d27$9039b470$3201010a@paulinhop4> Hi, The web interface gives the following error messages: - The number of pop3 proxy ports specified must match the number of servers specified - All pop3 port numbers must be unique All the addresses are with these characters. Thanks, Paulo Sakamoto > -----Mensagem original----- > De: Meyer, Tony [mailto:T.A.Meyer@massey.ac.nz] > Enviada em: quarta-feira, 16 de julho de 2003 19:25 > Para: Paulo Sakamoto; spambayes@python.org > Assunto: RE: [Spambayes] Unable to bind different addresses > to port 110? > > > > I have been using the 1.02a pop3proxy (in linux) to proxy 3 > > servers at the port 110, using 3 different addresses. The > > "status configuration" at the web interface 1.02 shows > > something like this: > > > > "POP3 proxy running on 10.1.1.55:110, 10.1.1.56:110, > > 10.1.1.57:110, proxying to pop.XXX.com:110, pop.YYY.com:110, > > pop.ZZZ.com:110." > > > > I tried to upgrade to 1.04a, but I couldn't use this > > configuration. The configuration page of the web interface > > didn't accept it. > > > > How can I do it? Or was this feature dropped? > > No, this should still work. Do you get some sort of > traceback, or just an 'invalid setting' html message? > > Are all of the addresses made up of characters in the ranges > a-z, A-Z, 0-9, - and .? (If not, what are the other characters?) > > =Tony Meyer > From Carney_Vensel at lord.com Fri Jul 18 10:14:56 2003 From: Carney_Vensel at lord.com (Vensel, Carney E) Date: Fri Jul 18 09:15:44 2003 Subject: [Spambayes] Just a note Message-ID: <6094FD2EECE1094782B0A8E84836804A034996@NTVRTGVSCC.main.lord.com> I'm using the new SpamBayes plug in for outlook. I'm running xp. I have found one thing that won't work. If you try to delete a message That is spam in your mail box that is a "--= Multipart Boundary 2411470-- " Message... it will not delete it. What I pasted in is what you see at The bottom of those types of spam messages.. The number may be different. Just thought I'd pass that on. Carney Vensel 814-868-5424 x-6559 From David.Bear at asu.edu Fri Jul 18 10:43:43 2003 From: David.Bear at asu.edu (David Bear) Date: Fri Jul 18 12:44:04 2003 Subject: [Spambayes] on the Mac os9 Message-ID: <20030718094343.D1663@asu.edu> Wondering if anyone was using spambayes on a mac os9. If so, is there any outlook integration for os9? -- David Bear phone: 480-965-8257 fax: 480-965-9189 College of Public Programs/ASU Wilson Hall 232 Tempe, AZ 85287-0803 "Beware the IP portfolio, everyone will be suspect of trespassing" From skip at pobox.com Fri Jul 18 12:58:59 2003 From: skip at pobox.com (Skip Montanaro) Date: Fri Jul 18 12:59:20 2003 Subject: [Spambayes] on the Mac os9 In-Reply-To: <20030718094343.D1663@asu.edu> References: <20030718094343.D1663@asu.edu> Message-ID: <16152.10067.543425.285652@montanaro.dyndns.org> David> Wondering if anyone was using spambayes on a mac os9. Yes. David> If so, is there any outlook integration for os9? No. If you want to use Spambayes on Mac OS9 I believe you'll need to run pop3proxy between your real POP3 server and your Outlook. Skip From dmitry at karasik.eu.org Fri Jul 18 20:59:43 2003 From: dmitry at karasik.eu.org (Dmitry Karasik) Date: Fri Jul 18 13:58:54 2003 Subject: [Spambayes] -U bug? Message-ID: <3F18358F.E891703B@karasik.eu.org> hello, I'm trying to use -U to untrain accidental ham, by running spambayes v1.0a2 ( is it latest? ) hammie.py -d -s good_mail -U and I get Traceback (most recent call last): File "/usr/local/bin/hammie.py", line 6, in ? spambayes.hammiebulk.main() File "/usr/local/lib/python2.2/site-packages/spambayes/hammiebulk.py", line 200, in main untrain(h, s, True) TypeError: 'int' object is not callable How can this be fixed, or is there an alternative? Thanks, Dmitry From jtk at krainc.us Fri Jul 18 15:53:42 2003 From: jtk at krainc.us (Terry Keane) Date: Fri Jul 18 14:50:33 2003 Subject: [Spambayes] your nifty program Message-ID: <000c01c34d5d$e8ff2b40$150aa8c0@jfr> Hi Spambayes appears to have loaded fine and ran through initial training. when I try to use it, it flashes 'must be enabled' - can't find how to do that. Please advise, running on outlook 2000 TK From skip at pobox.com Fri Jul 18 15:10:11 2003 From: skip at pobox.com (Skip Montanaro) Date: Fri Jul 18 15:10:34 2003 Subject: [Spambayes] -U bug? In-Reply-To: <3F18358F.E891703B@karasik.eu.org> References: <3F18358F.E891703B@karasik.eu.org> Message-ID: <16152.17939.518675.389937@montanaro.dyndns.org> Dmitry> I'm trying to use -U to untrain accidental ham, by running Dmitry> spambayes v1.0a2 ( is it latest? ) Nope. 1.0a4 is the latest. 1.0a2 is pretty old Dmitry> untrain(h, s, True) Dmitry> TypeError: 'int' object is not callable Yes, this was fixed in June. Skip From skip at pobox.com Fri Jul 18 16:51:02 2003 From: skip at pobox.com (Skip Montanaro) Date: Fri Jul 18 16:51:15 2003 Subject: [Spambayes] enquiry In-Reply-To: <1058517236.5575.39.camel@localhost.localdomain> References: <1058517236.5575.39.camel@localhost.localdomain> Message-ID: <16152.23990.630411.637388@montanaro.dyndns.org> damian> I am trying to configure spambayes to work with my procmail. damian> I found a .procmailrc file in spambayes directory. Do I use this damian> .procmailrc file? or I use my existing .procmailrc file and add damian> some details to it? I would use that as a guide and simply modify your current .procmailrc file. It's likely that you do more that you wouldn't want to lose (sort into mailboxes, for example). It's also likely that there will be some bit of the contributed procmailrc file which is incorrect, like the location and version of Python or the home directory. Skip From dmitry at karasik.eu.org Sat Jul 19 01:56:01 2003 From: dmitry at karasik.eu.org (Dmitry Karasik) Date: Fri Jul 18 18:55:31 2003 Subject: [Spambayes] -U bug? References: <3F18358F.E891703B@karasik.eu.org> <16152.17939.518675.389937@montanaro.dyndns.org> Message-ID: <3F187B01.13D05C8A@karasik.eu.org> It's not over - I've just installed 1.0a4, but to find that the bug got scarier: $ hammie.py -d -s untrain -U Untraining spam (untrain): 1Traceback (most recent call last): File "/usr/local/bin/hammie.py", line 6, in ? spambayes.hammiebulk.main() File "/usr/local/lib/python2.2/site-packages/spambayes/hammiebulk.py", line 200, in main untrain(h, s, True) File "/usr/local/lib/python2.2/site-packages/spambayes/hammiebulk.py", line 88, in untrain h.untrain(msg, is_spam) File "/usr/local/lib/python2.2/site-packages/spambayes/hammie.py", line 168, in untrain self.bayes.unlearn(tokenize(msg), is_spam) File "/usr/local/lib/python2.2/site-packages/spambayes/classifier.py", line 283, in unlearn self._remove_msg(wordstream, is_spam) File "/usr/local/lib/python2.2/site-packages/spambayes/classifier.py", line 418, in _remove_msg raise ValueError("spam count would go negative!") ValueError: spam count would go negative! zsh: 19888 exit 1 hammie.py -d -s untrain -U Any help please? /Dmitry Skip Montanaro wrote: > > Dmitry> I'm trying to use -U to untrain accidental ham, by running > Dmitry> spambayes v1.0a2 ( is it latest? ) > > Nope. 1.0a4 is the latest. 1.0a2 is pretty old > > Dmitry> untrain(h, s, True) > Dmitry> TypeError: 'int' object is not callable > > Yes, this was fixed in June. > > Skip From T.A.Meyer at massey.ac.nz Sat Jul 19 12:05:49 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Fri Jul 18 19:06:39 2003 Subject: [Spambayes] -U bug? Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F1302644DDE@its-xchg4.massey.ac.nz> > It's not over - I've just installed 1.0a4, but to find that > the bug got scarier: > > $ hammie.py -d -s untrain -U [...] > raise ValueError("spam count would go negative!") > ValueError: spam count would go negative! > zsh: 19888 exit 1 hammie.py -d -s untrain -U This probably means that your db is hosed (this could be as a result of the 1.0a2 untrain attempts). If you retrain from scratch this probably should go away (if it does come back, then be sure to report that, as that's likely to be a bug). =Tony Meyer From T.A.Meyer at massey.ac.nz Sat Jul 19 12:10:01 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Fri Jul 18 19:10:42 2003 Subject: [Spambayes] Unable to bind different addresses to port 110? Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F1302644DDF@its-xchg4.massey.ac.nz> > The web interface gives the following error messages: > > - The number of pop3 proxy ports specified must match the > number of servers specified This is saying that the number of items in the (POP3 Proxy) ports option must be the same as the number of items in the servers option. (i.e., if servers is "pop.example.com:110, pop2.example.com:110, pop3.example.com, pop4.example.com:111", then ports must be "110, 111, 112, 113, 114"). > - All pop3 port numbers must be unique This means exactly what it says. You can't have "110,110,110", for example - you must have "110,111,112" (or whatever numbers you like). If you think that these messages are coming up erroneously, it would be helpful if you could copy exactly what you are putting into these two fields. You can X out the server names if you like, but please keep the numbers and punctuation. =Tony Meyer From T.A.Meyer at massey.ac.nz Sat Jul 19 12:14:59 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Fri Jul 18 19:16:09 2003 Subject: [Spambayes] your nifty program Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F1302644DE0@its-xchg4.massey.ac.nz> > Spambayes appears to have loaded fine and ran through initial > training. when I try to use it, it flashes 'must be enabled' > - can't find how to do that. Please advise, running on > outlook 2000 TK In the manager dialog, have you ticked the enable filtering box? If you can't tick this box (i.e. it is greyed out) then it should tell you what steps you need to carry out in order to be able to. =Tony Meyer From T.A.Meyer at massey.ac.nz Sat Jul 19 12:17:25 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Fri Jul 18 19:18:21 2003 Subject: [Spambayes] 1.0a4 Problems Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F1302644DE1@its-xchg4.massey.ac.nz> > I downloaded the 1.0a4 beta and unpacked it into a new > sub-directory under > While reading a message in > the inbox, I noticed the following in the header. > > X-Spambayes-Exception: exceptions.AssertionError() in > probability() at > D:\PROGRAM > FILES\Python22\spambayes-1.0a4\spambayes\classifier.py line > 307: assert hamcount <= nham This means that your database is corrupt. You should retrain from scratch to fix this. Note that if you are using dumbdbm (if you are, you will have hammie.db.dir and hammie.db.dat files) then you should switch to using a pickle or download and install pybsddb. See recent messages for instructions about how to do this. =Tony Meyer From T.A.Meyer at massey.ac.nz Sat Jul 19 12:28:30 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Fri Jul 18 19:29:19 2003 Subject: [Spambayes] 3 problems Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F1302644DE3@its-xchg4.massey.ac.nz> > Same thing either way: nothing unless I explicitly run the > smtpproxy.py script at the command line. Which is very strange, because all the pop3proxy script does is execute the smtpproxy script in a separate thread. > If that's the case then it's likely that installing and > then starting the pop3proxy_service.py script under W2K does > not in fact run the smtpproxy.py script. If you could, would you be able to try running pop3proxy from a console (stop the service first, I suppose) and seeing if the smtp proxy starts in that case? If it does, I guess it does mean that for some reason it's the service that is at fault. I don't know enough about services to fix it if that is the case - Mark? If it doesn't start with pop3proxy either, then something else is going on. > As it is, thanks for putting up with dumb newbie. Everyone starts out that way. (well, except for those that wrote the code in the first place, I suppose). =Tony Meyer From dmitry at karasik.eu.org Sat Jul 19 02:33:47 2003 From: dmitry at karasik.eu.org (Dmitry Karasik) Date: Fri Jul 18 19:33:05 2003 Subject: [Spambayes] -U bug? References: <1ED4ECF91CDED24C8D012BCF2B034F1302644DDE@its-xchg4.massey.ac.nz> Message-ID: <3F1883DB.8459340C@karasik.eu.org> > > This probably means that your db is hosed (this could be as a result of > the 1.0a2 untrain attempts). If you retrain from scratch this probably > should go away (if it does come back, then be sure to report that, as > that's likely to be a bug). After re-initializing the database, it gets no better - the error messages are different though: $ hammie.py -U -d -s spamfolder Untraining spam (spamfolder): 1 Traceback (most recent call last): File "/usr/local/bin/hammie.py", line 6, in ? spambayes.hammiebulk.main() File "/usr/local/lib/python2.2/site-packages/spambayes/hammiebulk.py", line 204, in main h.store() File "/usr/local/lib/python2.2/site-packages/spambayes/hammie.py", line 246, in store self.bayes.store() File "/usr/local/lib/python2.2/site-packages/spambayes/storage.py", line 192, in store assert word not in self.wordinfo, \ NameError: global name 'word' is not defined /Dmitry From T.A.Meyer at massey.ac.nz Sat Jul 19 12:35:20 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Fri Jul 18 19:36:07 2003 Subject: [Spambayes] -U bug? Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F1302644DE4@its-xchg4.massey.ac.nz> > After re-initializing the database, it gets no better - the > error messages are different though: > > $ hammie.py -U -d -s spamfolder [...] > File "/usr/local/lib/python2.2/site-packages/spambayes/storage.py", > line 192, in store > assert word not in self.wordinfo, \ > NameError: global name 'word' is not defined Ah - this was fixed in storage.py v1.15. You can download the latest storage.py from cvs and replace the one you have to fix it, or just open it up and change the "assert word" to "assert key" =Tony Meyer From steveng at pop.jaring.my Sat Jul 19 13:10:36 2003 From: steveng at pop.jaring.my (Stephen Ng) Date: Sat Jul 19 00:11:42 2003 Subject: [Spambayes] Installation problem Message-ID: <3F18C4BC.3000201@pop.jaring.my> Hi! I hope this is the right channel to get help on a problem with SpamBayes. 1. pop3proxy.py does not execute unless permissions are changed on all the *.py files in the directory. Is this right? 2. when configuring (using ./pop3proxy.py -b) I get the following errors when trying to save the configuration - 500 Server error Traceback (most recent call last): File "./spambayes/Dibbler.py", line 398, in found_terminator getattr(plugin, name)(**params) File "./spambayes/UserInterface.py", line 525, in onChangeopts self.reReadOptions() File "./spambayes/ProxyUI.py", line 484, in reReadOptions state = self.state_recreator() File "./pop3proxy.py", line 700, in _recreateState _createProxies(state.servers, state.proxyPorts) File "./pop3proxy.py", line 686, in _createProxies listener = BayesProxyListener(server, serverPort, proxyPort) File "./pop3proxy.py", line 298, in __init__ Dibbler.Listener.__init__(self, proxyPort, BayesProxy, proxyArgs) File "./spambayes/Dibbler.py", line 267, in __init__ self.bind(port) File "/usr/lib/python2.2/asyncore.py", line 311, in bind return self.socket.bind (addr) error: (13, 'Permission denied') 3. Also, the python interpretor displays the following errors - warning: unhandled read event warning: unhandled write event error: uncaptured python exception, closing channel <__main__.BayesProxyListener connected :110 at 0x83e848c> (exceptions.KeyboardInterrupt: [/usr/lib/python2.2/asyncore.py|poll|99] [/usr/lib/python2.2/asyncore.py|handle_read_event|396] [/usr/lib/python2.2/asyncore.py|handle_read|432] [/usr/lib/python2.2/asyncore.py|log_info|382]) when interrupted by ctrl-C the following is displayed - Traceback (most recent call last): File "./pop3proxy.py", line 777, in ? run() File "./pop3proxy.py", line 771, in run main(state.servers, state.proxyPorts, state.uiPort, state.launchUI) File "./pop3proxy.py", line 710, in main Dibbler.run(launchBrowser=launchUI) File "./spambayes/Dibbler.py", line 528, in run asyncore.loop(map=context._map) File "/usr/lib/python2.2/asyncore.py", line 205, in loop poll_fun (timeout, map) File "/usr/lib/python2.2/asyncore.py", line 83, in poll r,w,e = select.select (r,w,e, timeout) 4. On any subsequent run of ./pop3proxy.py, the following message is displayed - SpamBayes POP3 Proxy Beta1, version 0.1 (May 2003), using SpamBayes POP3 Proxy Web Interface Alpha2, version 0.02 and engine SpamBayes Beta2, version 0.2 (July 2003). Loading database... Done. Traceback (most recent call last): File "./pop3proxy.py", line 777, in ? run() File "./pop3proxy.py", line 760, in run CreateProxies(servers, proxyPorts, state) File "./smtpproxy.py", line 488, in CreateProxies listener = BayesSMTPProxyListener(server, serverPort, proxyPort, state) File "./smtpproxy.py", line 228, in __init__ Dibbler.Listener.__init__(self, proxyPort, BayesSMTPProxy, proxyArgs) File "./spambayes/Dibbler.py", line 267, in __init__ self.bind(port) File "/usr/lib/python2.2/asyncore.py", line 311, in bind return self.socket.bind (addr) socket.error: (13, 'Permission denied') Please help me solve this problem. Spam is killing me!!! Thanks. Stephen Ng From T.A.Meyer at massey.ac.nz Sat Jul 19 17:15:29 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Sat Jul 19 00:16:17 2003 Subject: [Spambayes] Installation problem Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F1302644DF2@its-xchg4.massey.ac.nz> > 1. pop3proxy.py does not execute unless permissions are > changed on all the *.py files in the directory. Is this right? Well, you will need permission to use many of those files, yes. > 2. when configuring (using ./pop3proxy.py -b) I get the > following errors when trying to save the configuration - [...] > File "/usr/lib/python2.2/asyncore.py", line 311, in bind > return self.socket.bind (addr) > > error: (13, 'Permission denied') Do you have permission to bind the port you are trying to proxy on? If you're trying something like 110, see if 1110 works, instead. =Tony Meyer From skip at pobox.com Sat Jul 19 08:37:36 2003 From: skip at pobox.com (Skip Montanaro) Date: Sat Jul 19 08:37:46 2003 Subject: [Spambayes] Unable to bind different addresses to port 110? In-Reply-To: <1ED4ECF91CDED24C8D012BCF2B034F1302644DDF@its-xchg4.massey.ac.nz> References: <1ED4ECF91CDED24C8D012BCF2B034F1302644DDF@its-xchg4.massey.ac.nz> Message-ID: <16153.15248.338837.5139@montanaro.dyndns.org> >> The web interface gives the following error messages: >> >> - The number of pop3 proxy ports specified must match the >> number of servers specified Tony> This is saying that the number of items in the (POP3 Proxy) ports Tony> option must be the same as the number of items in the servers Tony> option. (i.e., if servers is "pop.example.com:110, Tony> pop2.example.com:110, pop3.example.com, pop4.example.com:111", Tony> then ports must be "110, 111, 112, 113, 114"). It might be more intuitive if we were to adopt something like the scheme which ssh uses for port forwarding, "remote host:remote port:local port", so the above would be: "pop.example.com:110:110, pop2.example.com:110:111, pop3.example.com:110:112, pop4.example.com:110:113". Skip From robert at imagine.co.uk Sat Jul 19 20:09:40 2003 From: robert at imagine.co.uk (Robert Neuschul) Date: Sat Jul 19 14:09:40 2003 Subject: [Spambayes] 1.0a4 Problems In-Reply-To: <1ED4ECF91CDED24C8D012BCF2B034F1302644DE1@its-xchg4.massey.ac.nz> References: <1ED4ECF91CDED24C8D012BCF2B034F1302644DE1@its-xchg4.massey.ac.nz> Message-ID: Tony In article <1ED4ECF91CDED24C8D012BCF2B034F1302644DE1@its-xchg4.massey.ac.nz>, Tony Meyer wrote: > scratch to fix this. Note that if you are using dumbdbm (if you are, > you will have hammie.db.dir and hammie.db.dat files) then you should > switch to using a pickle or download and install pybsddb. See recent > messages for instructions about how to do this. Could you give a pointer to the message containing instructions please, a day/date or subject line for the thread root would suffice for those of us who have recently joined here we can then search the archive more easily. Thanks Robert. From skip at pobox.com Sat Jul 19 14:59:07 2003 From: skip at pobox.com (Skip Montanaro) Date: Sat Jul 19 14:59:13 2003 Subject: [Spambayes] 1.0a4 Problems In-Reply-To: References: <1ED4ECF91CDED24C8D012BCF2B034F1302644DE1@its-xchg4.massey.ac.nz> Message-ID: <16153.38139.331152.258575@montanaro.dyndns.org> Tony> scratch to fix this. Note that if you are using dumbdbm (if you Tony> are, you will have hammie.db.dir and hammie.db.dat files) then you Tony> should switch to using a pickle or download and install pybsddb. Tony> See recent messages for instructions about how to do this. Robert> Could you give a pointer to the message containing instructions Robert> please, a day/date or subject line for the thread root would Robert> suffice for those of us who have recently joined here we can Robert> then search the archive more easily. Here are a couple posts of mine I found on the subject: http://mail.python.org/pipermail/spambayes-dev/2003-July/000373.html http://mail.python.org/pipermail-21/spambayes/2003-July/006091.html Not much detail. I'm not sure there's more. In general, get pybsddb (from SourceForge, I think), wipe out your existing training database and start over. Skip From skip at pobox.com Sat Jul 19 17:00:10 2003 From: skip at pobox.com (Skip Montanaro) Date: Sat Jul 19 17:00:14 2003 Subject: [Spambayes] 1.0a4 Problems In-Reply-To: <16153.38139.331152.258575@montanaro.dyndns.org> References: <1ED4ECF91CDED24C8D012BCF2B034F1302644DE1@its-xchg4.massey.ac.nz> <16153.38139.331152.258575@montanaro.dyndns.org> Message-ID: <16153.45402.883085.89309@montanaro.dyndns.org> Skip> In general, get pybsddb (from SourceForge, I think), wipe out your Skip> existing training database and start over. I forgot to mention that you need the underlying library from Sleepycat as well. Get the latest version in the 4.1 series. Python 2.3 went to release candidate 1 yesterday. The final release should occur in another week or 10 days. If you go that route, you won't need to pick up pybsddb, since it's now distributed with Python. So, here are two paths: 1. Using your existing Python installation: A. Get and install Berkeley DB 4.1.N (N==25 at the moment I believe) from Sleepycat. B. Get and install the most recent version of PyBSDDB from SourceForge. C. Zap your existing, corrupt, database and retrain. 2. Using Python 2.3c1 (or 2.3 final in a few days) A. Get and install Berkeley DB 4.1.N from Sleepycat. B. Get and install Python 2.3 from www.python.org. C. Zap your existing, corrupt, database and retrain. Skip From jzanette at jwc-online.com Sat Jul 19 19:41:02 2003 From: jzanette at jwc-online.com (John D. Zanette) Date: Sat Jul 19 18:41:10 2003 Subject: [Spambayes] Additional Message-ID: Great product! I am enjoying over 99.9% accuracy after only a couple of weeks and I am ready to take the next step. Under Outlook 2002, I need the additional option to "Permanently Delete" my certain spam rather than just moving it. Specifically, I need this choice in the drop-down box after "and these messages should be" Any info appreciated. Thanks in advance. From T.A.Meyer at massey.ac.nz Sun Jul 20 12:25:50 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Sat Jul 19 19:31:31 2003 Subject: [Spambayes] Additional Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F1302644E0F@its-xchg4.massey.ac.nz> > Under Outlook 2002, I need the additional option to > "Permanently Delete" my certain spam rather than just moving it. Two points: 1. You may wish to submit this as a feature request via the sf system (http://sf.net/projects/spambayes) - sometimes things get lost on the list and this would avoid that. 2. You should be able to use Outlook for this: if you go to the properties of the folder you have set spam to go to, and to the "AutoArchive" tab, you can set mail to be deleted after it reaches a certain age. For the case you have asked for, just set it to the smallest possible age (1 day?), and to permanently delete the mail. I would suggest that a better setup, assuming you have the available disk space, would be to leave it there for slightly longer (a week, perhaps?), and also to instead move it to a spam .pst file (which is another option). This way if you ever need to retrain from scratch, you will have the archived spam there. (This may not be necessary if you managed to get the desired accuracy very fast). =Tony Meyer From robert at imagine.co.uk Sun Jul 20 03:48:39 2003 From: robert at imagine.co.uk (Robert Neuschul) Date: Sat Jul 19 21:48:36 2003 Subject: [Spambayes] 1.0a4 Problems In-Reply-To: <16153.45402.883085.89309@montanaro.dyndns.org> References: <1ED4ECF91CDED24C8D012BCF2B034F1302644DE1@its-xchg4.massey.ac.nz> <16153.38139.331152.258575@montanaro.dyndns.org> <16153.45402.883085.89309@montanaro.dyndns.org> Message-ID: Skip Many thanks: I'll probably go for swapping out the DB since I'm quite happy with my copy of ActiveState Python. Robert. From steveng at pop.jaring.my Sun Jul 20 10:50:24 2003 From: steveng at pop.jaring.my (Stephen Ng) Date: Sat Jul 19 21:50:46 2003 Subject: [Spambayes] X-Spambayes-Exception Message-ID: <3F19F560.4010304@pop.jaring.my> Hi! On some mail the following error is encountered and labelled X-Spambayes-Exception - exceptions.AssertionError() in probability() at ./spambayes/classifier.py line 307: assert hamcount<= nham Any ideas? Stephen Ng From T.A.Meyer at massey.ac.nz Sun Jul 20 14:57:22 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Sat Jul 19 21:58:10 2003 Subject: [Spambayes] X-Spambayes-Exception Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F1302644E19@its-xchg4.massey.ac.nz> > On some mail the following error is encountered and labelled > X-Spambayes-Exception - > > exceptions.AssertionError() in probability() at > ./spambayes/classifier.py line 307: assert hamcount<= nham This means that your database is corrupt. If you are using dumbdbm (you will have hammie.db.dir and hammie.db.dat files), you should change to using a pickle/pybsddb. See the message from Skip (about 4 messages ago) about where to find information about doing this. In either case, you will need to retrain your database. Note that: 1. We've (just) checked in a change that means that when this occurs an error will also be printed (so that you are aware of it, rather than just finding another header). 2. If you're not using dumbdbm, and you find that your database is regularly becoming corrupted, then we need to figure out why this is, so please let us know if this is the case. =Tony Meyer From edrubins at andisplace.com Sat Jul 19 23:24:07 2003 From: edrubins at andisplace.com (Ed Rubinsky) Date: Sat Jul 19 22:24:11 2003 Subject: [Spambayes] 1.0a4 Problems Message-ID: <5.1.0.14.0.20030719221432.00af8aa0@localhost> >> I downloaded the 1.0a4 beta and unpacked it into a new >> sub-directory under >> While reading a message in >> the inbox, I noticed the following in the header. >> >> X-Spambayes-Exception: exceptions.AssertionError() in >> probability() at >> D:\PROGRAM >> FILES\Python22\spambayes-1.0a4\spambayes\classifier.py line >> 307: assert hamcount <= nham > This means that your database is corrupt. You should retrain from > scratch to fix this. Note that if you are using dumbdbm (if you are, > you will have hammie.db.dir and hammie.db.dat files) then you should > switch to using a pickle or download and install pybsddb. See recent > messages for instructions about how to do this. From my original post: > I downloaded the 1.0a4 beta and unpacked it into a new sub-directory under D:\Progra~1\Python22\. I then: > 1. renamed the sub-directory containing the 1.03a code > 2. configured the pop3 and smtp proxies > 3. started 1.04a pop3proxy.py. > 4. using the browser interface trained on saved spam and saved ham. > 5. started Eudora. I would assume that using a completely different directory for 1.0a4, and retraining from saved spam/ham would accomplish this, or is the database in a common directory? I really should start looking at the code for these answers. I also have bsddb3 installed. Shouldn't spambayes be using that instead of dumbdb? And lastly (or now) going back to the 1.0a3 code cleared this up. Best, Ed From T.A.Meyer at massey.ac.nz Sun Jul 20 15:30:47 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Sat Jul 19 22:31:43 2003 Subject: [Spambayes] 1.0a4 Problems Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F1302644E1E@its-xchg4.massey.ac.nz> > I would assume that using a completely different directory > for 1.0a4, and retraining from saved spam/ham would accomplish > this, or is the database in a common directory? The configuration page will tell you where your database file(s) (and configuration file) are. It might be in a common directory, or it might not - it really depends on how you had it set up (especially whether you have the BAYESCUSTOMIZE envar set or not). > I also have bsddb3 installed. Shouldn't spambayes be > using that instead of dumbdb? Yes, it should automatically do so. (You will be able to tell by seeing if there are two hammie.db files (.dir and .dat) or just one). Using dumbdbm is the most common reason for the database to be corrupt, but there are others. > And lastly (or now) going back to the 1.0a3 code cleared this up. (Note that the a3 release didn't add the exception headers - if the problem occurred, a3 would just crash, which I presume it isn't). This probably means that you are using separate databases, the a3 one is ok, but the a4 isn't. What did you do to train the a4 one? Anything different than the a3 one? =Tony Meyer From steveng at pop.jaring.my Sun Jul 20 11:50:27 2003 From: steveng at pop.jaring.my (Stephen Ng) Date: Sat Jul 19 22:50:50 2003 Subject: [Spambayes] X-Spambayes-Exception In-Reply-To: <1ED4ECF91CDED24C8D012BCF2B034F1302644E19@its-xchg4.massey.ac.nz> References: <1ED4ECF91CDED24C8D012BCF2B034F1302644E19@its-xchg4.massey.ac.nz> Message-ID: <3F1A0373.4020004@pop.jaring.my> Meyer, Tony wrote: >>On some mail the following error is encountered and labelled >>X-Spambayes-Exception - >> >>exceptions.AssertionError() in probability() at >>./spambayes/classifier.py line 307: assert hamcount<= nham >> >> > >This means that your database is corrupt. If you are using dumbdbm (you >will have hammie.db.dir and hammie.db.dat files), you should change to >using a pickle/pybsddb. See the message from Skip (about 4 messages >ago) about where to find information about doing this. > >In either case, you will need to retrain your database. > >Note that: > 1. We've (just) checked in a change that means that when this occurs >an error will also be printed (so that you are aware of it, rather than >just finding another header). > 2. If you're not using dumbdbm, and you find that your database is >regularly becoming corrupted, then we need to figure out why this is, so >please let us know if this is the case. > >=Tony Meyer > > > > There is a hammie.db but I can't find hammie.db.dir or .dat files anywhere, so I assume I am not using dumbdbm. I've only just started using Spambayes on RH9 Linux, so I can't provide any history on the exceptions I have been getting. Should I just trash the db and start again to train? Regards, Stephen Ng From T.A.Meyer at massey.ac.nz Sun Jul 20 15:52:25 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Sat Jul 19 22:53:14 2003 Subject: [Spambayes] X-Spambayes-Exception Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F1302644E23@its-xchg4.massey.ac.nz> > There is a hammie.db but I can't find hammie.db.dir or .dat files > anywhere, so I assume I am not using dumbdbm. This is most likely the case. > Should I just trash the db and start again to train? Yes. If it becomes corrupt again, then let us know, along with some information about how you've been training (so that we can try to identify the bug and fix it). =Tony Meyer From edrubins at andisplace.com Sun Jul 20 00:45:28 2003 From: edrubins at andisplace.com (Ed Rubinsky) Date: Sat Jul 19 23:45:35 2003 Subject: [Spambayes] (no subject) Message-ID: <5.1.0.14.0.20030719233631.00ab7e68@localhost> >> I also have bsddb3 installed. Shouldn't spambayes be >> using that instead of dumbdb? > Yes, it should automatically do so. (You will be able to tell by seeing i> f there are two hammie.db files (.dir and .dat) or just one). Using > dumbdbm is the most common reason for the database to be corrupt, but > there are others. There is only hammie.db. >> And lastly (or now) going back to the 1.0a3 code cleared this up. > (Note that the a3 release didn't add the exception headers - if the > problem occurred, a3 would just crash, which I presume it isn't). >T his probably means that you are using separate databases, the a3 one is > ok, but the a4 isn't. What did you do to train the a4 one? Anything > different than the a3 one? Training for both 1.0a3 and 1.03a4 was done via the browser interface by selecting a Eudora mail folder with only ham and clicking on Train as Ham, then a Eduora mail folder with only spam and clicking on Train as Spam. The contents of the folders changed between installing 1.0a3 and 1.0a4. Is this possibly something related to the combination of Eudora 5.1 and W2K? I have Mark's binary plugin installed on a Windows ME system with Outlook 2000 that my wife uses and she's not having any problems - which makes my life easier, another reason for which I'm indebted to the spambayes team *8=>). Best, Ed From T.A.Meyer at massey.ac.nz Sun Jul 20 16:49:15 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Sat Jul 19 23:50:07 2003 Subject: [Spambayes] (no subject) Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F1302644E27@its-xchg4.massey.ac.nz> > Training for both 1.0a3 and 1.03a4 was done via the browser > interface by selecting a Eudora mail folder with only ham > and clicking on Train as Ham, then a Eduora mail folder with > only spam and clicking on Train as Spam. The > contents of the folders changed between installing 1.0a3 and 1.0a4. If you delete the a4 hammie.db and recreate it with those same steps, does the error still occur? Has the content of the folders changed since installing a4? > Is this possibly something related to the combination of > Eudora 5.1 and W2K? Probably not. If that's all that changed, then either we introduced a bug between a3 and a4 (unlikely given that there were hardly any changes between a3 and a4 - it would be different if it was a2 and a3), or it's the different mail that's causing the problem, somehow. =Tony Meyer From mhammond at skippinet.com.au Mon Jul 21 17:37:45 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Mon Jul 21 02:37:53 2003 Subject: [Spambayes] Outlook binary 004 available Message-ID: <009901c34f52$98f23ab0$f502a8c0@eden> Hi all, I have just released a new Outlook binary from my starship page (http://starship.python.net/crew/mhammond/spambayes). This new version has fixed some of the simpler bugs discovered in the 003 release. In particular, I am hoping that a number of registration errors will be fixed, and there are a couple of hidden options I can use to help track down the bugs that still confuse me. The significant changes: * Once a Spam or Possible Spam folder had been nominated, it was impossible to change. * IMAP should filter correctly. * Few installation errors fixed. * data_directory can now be a directory with non-ascii characters, and with spaces in the filename. * Non-mail items (such as non-delivery reports, meeting requests) should not be filtered. * Toolbar should be initialized even when Outlook Today is the default view. * Attempting to use Delete as Spam or Recover from Ham before SpamBayes is configured will display a message rather than silently do nothing. * We check that Outlook is actually installed before installing. Please let me know if there are any problems... Mark. From jbb at chemistrygroup.co.uk Mon Jul 21 15:39:36 2003 From: jbb at chemistrygroup.co.uk (Jonathan Baker-Bates) Date: Mon Jul 21 09:40:25 2003 Subject: [Spambayes] Spambayes - good work! Message-ID: <000901c34f8d$875fa040$4e01a8c0@theinagency.co.uk> Hi - I'm having a look at SpamBayes Outlook plugin, it's very nice indeed. One thing I'd like to suggest as nice-to-have: a smaller "Delete as Spam" icon on the toolbar! It's so big it pushes out three of my other icons - and I'm using the default. How about just the yellow face with the "Delete As Spam" as a tooltip? Otherwise, good job - keep it up! Jonathan From Michael.Otto at NielsenMedia.com Mon Jul 21 11:44:40 2003 From: Michael.Otto at NielsenMedia.com (Otto, Michael) Date: Mon Jul 21 10:45:23 2003 Subject: [Spambayes] Outlook binary 004 still can't mark msgs as read when it moves th em to Spam folder Message-ID: Hi I thought that Spambayes was going to allow us to configure the message read flag to set as either 'read' or 'unread' when it identifies spam and moves it to the Spam folder. However, I cannot see how to do this. In fact, I cannot detect any difference between 004 and 002 except that there is now a separate toolbar for Spambayes. Please advise michael From magnus at akselvoll.net Mon Jul 21 18:16:00 2003 From: magnus at akselvoll.net (Magnus Akselvoll) Date: Mon Jul 21 11:16:07 2003 Subject: [Spambayes] Question (or possibly a bug report) Message-ID: <000001c34f9a$ffd98830$0b230a0a@holtegroup.local> Hi. I'll try to make this short and technical. (And yes, I have read the manual and troubleshooting) System description: ------------------- Windows XP Professional, Service Pack 1 Office XP Service Pack 2, Exchange Server 2000 SpamBayes Outlook Addin (beta), Binary version 0.4 (July 2003) Logged in as domain user with local administrative rights Problems: --------- 1. SpamBayes refuses to save some settings when restarting outlook. The "Enable Filtering" checkbox is always unchecked, and the "Possible Spam" filter is reset to "Untouched". 2. An attempt to manually start filter hangs. The progressbar does not start and the stop filtering button does not react. Outlook.exe process has to be killed. Logfiles: --------- 4 last logfiles attached. Seems to be some com/integration error. ************************** out1.pyz/fcntl:7: DeprecationWarning: the FCNTL module is deprecated; please use fcntl Loaded bayes database from 'C:\Documents and Settings\magnusa\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'C:\Documents and Settings\magnusa\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 104 spam and 438 good messages SpamBayes Outlook Addin (beta), version 0.4 (July 2003) starting (with engine SpamBayes Beta2, version 0.2 (July 2003))... On Windows version 5.1.2600 (Service Pack 1) Saving configuration -> C:\Documents and Settings\magnusa\Application Data\SpamBayes\Outlook.ini pythoncom error: Python error invoking COM method. Traceback (most recent call last): File "out1.pyz/win32com.server.policy", line 275, in _Invoke_ File "out1.pyz/win32com.server.policy", line 280, in _invoke_ File "out1.pyz/win32com.server.policy", line 541, in _invokeex_ File "out1.pyz/addin", line 213, in OnClick File "out1.pyz/manager", line 700, in ShowManager File "out1.pyz/manager", line 630, in SaveConfig File "out1.pyz/spambayes.OptionsClass", line 380, in update_file File "out1.pyz/tempfile", line 408, in NamedTemporaryFile File "out1.pyz/tempfile", line 210, in _mkstemp_inner File "out1.pyz/tempfile", line 42, in _set_cloexec exceptions.AttributeError: 'module' object has no attribute 'fcntl' ************************** Any ideas on what to do? Should I register myself in SourceForge to report this as a bug? Pleas reply to this address as I do not read the list (sorry, no time for that). Regards (and thanks for a nice project), Magnus Akselvoll, Systems Developer (but not python :-)) -------------- next part -------------- A non-text attachment was scrubbed... Name: spambayes1.log Type: application/octet-stream Size: 9190 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030721/7f9bc009/spambayes1.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: spambayes2.log Type: application/octet-stream Size: 1842 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030721/7f9bc009/spambayes2.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: spambayes3.log Type: application/octet-stream Size: 1842 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030721/7f9bc009/spambayes3.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: spambayes4.log Type: application/octet-stream Size: 2412 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030721/7f9bc009/spambayes4.obj From lbarile at cxtec.com Mon Jul 21 12:57:38 2003 From: lbarile at cxtec.com (Lou Barile) Date: Mon Jul 21 11:58:28 2003 Subject: [Spambayes] Spambayes install Message-ID: For some reason, I get an error registering a .dll when I do the install. I scoured the spambayes support page. Any ideas? By the way, others say this is by far the best spam filtering software around. Traceback (most recent call last): File "", line 15, in DllRegisterServer File "out1.pyz/win32com.server.register", line 405, in RegisterClasses File "out1.pyz/win32com.server.register", line 259, in RegisterServer File "out1.pyz/win32com.server.register", line 85, in _cat_registrar pywintypes.com_error: (-2147467262, 'No such interface supported', None, None) thanks, Lou Barile, CCNA Technical Engineer CABLExpress Technologies 800-767-3282 x2248 www.cxtec.com From vampire at yahoo.com Mon Jul 21 13:27:17 2003 From: vampire at yahoo.com (Steve) Date: Mon Jul 21 12:28:15 2003 Subject: [Spambayes] RE: Spambayes Digest, Vol 59, Issue 44 In-Reply-To: Message-ID: <000001c34fa4$fa61f360$0301a8c0@vamp2> After uninstalling spambayes for outlook .03 and installing .04 I cannot get spambayes to work. I tried uninstalling and deleting all entries in the registry and also deleing the spambayes folder under application data for the current user but no luck. I can see the toolbar but I cannot see anything such as setting when I click on spambayes. Any suggestions? Here is my log. ----- out1.pyz/fcntl:7: DeprecationWarning: the FCNTL module is deprecated; please use fcntl Loaded bayes database from 'C:\Documents and Settings\Vampire\Application Data\SpamBayes\default_bayes_database.db' Loaded message database from 'C:\Documents and Settings\Vampire\Application Data\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages SpamBayes Outlook Addin (beta), version 0.4 (July 2003) starting (with engine SpamBayes Beta2, version 0.2 (July 2003))... On Windows version 5.1.2600 (Service Pack 1) FAILED to add the toolbar item 'SpamBayesCommand.Manager' - (-2147352567, 'Exception occurred.', (0, None, None, None, 0, -2147467259), None) FAILED to add the toolbar item 'SpamBayesCommand.Clues' - (-2147352567, 'Exception occurred.', (0, None, None, None, 0, -2147467259), None) From dcardoso at decidir.net Mon Jul 21 15:55:17 2003 From: dcardoso at decidir.net (Daniel Cardoso - Decidir Brasil) Date: Mon Jul 21 13:55:30 2003 Subject: [Spambayes] There was an error initializing the SpamBayes Message-ID: <7AE9FD7AFCAE874ABB189B24F0F0498D134386@epuyen.decidir.net> That's the full log: Error connecting to Outlook! Traceback (most recent call last): File "out1.pyz/addin", line 800, in OnConnection File "out1.pyz/manager", line 682, in GetManager File "out1.pyz/manager", line 226, in __init__ File "out1.pyz/manager", line 487, in LoadConfig File "out1.pyz/ntpath", line 101, in join UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 10: ordinal not in range(128) ERROR: 'There was an error initializing the SpamBayes addin\r\n\r\nPlease re-start Outlook and try again.' Traceback (most recent call last): File "out1.pyz/addin", line 800, in OnConnection File "out1.pyz/manager", line 682, in GetManager File "out1.pyz/manager", line 226, in __init__ File "out1.pyz/manager", line 487, in LoadConfig File "out1.pyz/ntpath", line 101, in join UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 10: ordinal not in range(128) What can I do? Thank you. Daniel Cardoso Technology Supervisor IT - Brazil ________________________________________ mailto:dcardoso@decidir.net Tel 5511 3365 0122 Fax 5511 3365 0101 Got to http://www.decidir.com.br Decidir Brasil S.A. *************** Internet Email Confidentiality Footer *************** > Confidential Information may be contained in this message. If you are not > the addressee indicated in this message, do not copy or deliver this > message to anyone. You should destroy it and kindly notify the sender. > Please let us know immediately if you does not want to receive messages of > this kind. > Opinions, conclusions and any other information in this message that it is > not related to the official business of the company does not have to be > taken into account. > From adam.walker at rbwconsulting.com Mon Jul 21 15:02:52 2003 From: adam.walker at rbwconsulting.com (Adam Walker) Date: Mon Jul 21 14:03:20 2003 Subject: [Spambayes] There was an error initializing the SpamBayes In-Reply-To: <7AE9FD7AFCAE874ABB189B24F0F0498D134386@epuyen.decidir.net> Message-ID: <20030721180312.A4FB08630B@plunder.dreamhost.com> If your not using beta 004, then try installing it. I think Mark has fixed this bug in beta 004. http://starship.python.net/crew/mhammond/spambayes > -----Original Message----- > From: spambayes-bounces@python.org [mailto:spambayes-bounces@python.org] > On Behalf Of Daniel Cardoso - Decidir Brasil > Sent: Monday, July 21, 2003 1:55 PM > To: 'spambayes@python.org' > Subject: [Spambayes] There was an error initializing the SpamBayes > > That's the full log: > > > > Error connecting to Outlook! > Traceback (most recent call last): > File "out1.pyz/addin", line 800, in OnConnection > File "out1.pyz/manager", line 682, in GetManager > File "out1.pyz/manager", line 226, in __init__ > File "out1.pyz/manager", line 487, in LoadConfig > File "out1.pyz/ntpath", line 101, in join > UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 10: > ordinal not in range(128) > ERROR: 'There was an error initializing the SpamBayes addin\r\n\r\nPlease > re-start Outlook and try again.' > Traceback (most recent call last): > File "out1.pyz/addin", line 800, in OnConnection > File "out1.pyz/manager", line 682, in GetManager > File "out1.pyz/manager", line 226, in __init__ > File "out1.pyz/manager", line 487, in LoadConfig > File "out1.pyz/ntpath", line 101, in join > UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 10: > ordinal not in range(128) > > > What can I do? > > > Thank you. > > > > > Daniel Cardoso > Technology Supervisor > IT - Brazil > > ________________________________________ > mailto:dcardoso@decidir.net > Tel 5511 3365 0122 > Fax 5511 3365 0101 > Got to http://www.decidir.com.br > Decidir Brasil S.A. > > *************** Internet Email Confidentiality Footer *************** > > Confidential Information may be contained in this message. If you are > not > > the addressee indicated in this message, do not copy or deliver this > > message to anyone. You should destroy it and kindly notify the sender. > > Please let us know immediately if you does not want to receive messages > of > > this kind. > > Opinions, conclusions and any other information in this message that it > is > > not related to the official business of the company does not have to be > > taken into account. > > > > _______________________________________________ > Spambayes mailing list > Spambayes@python.org > http://mail.python.org/mailman/listinfo/spambayes From dcardoso at decidir.net Mon Jul 21 16:10:21 2003 From: dcardoso at decidir.net (Daniel Cardoso - Decidir Brasil) Date: Mon Jul 21 14:10:27 2003 Subject: [Spambayes] There was an error initializing the SpamBayes Message-ID: <7AE9FD7AFCAE874ABB189B24F0F0498D134387@epuyen.decidir.net> Still failing. :-( Look: out1.pyz/fcntl:7: DeprecationWarning: the FCNTL module is deprecated; please use fcntl Error connecting to Outlook! Traceback (most recent call last): File "out1.pyz/addin", line 848, in OnConnection File "out1.pyz/manager", line 709, in GetManager File "out1.pyz/manager", line 247, in __init__ File "out1.pyz/manager", line 514, in LoadConfig File "out1.pyz/ntpath", line 101, in join UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 10: ordinal not in range(128) ERROR: 'There was an error initializing the SpamBayes addin\r\n\r\nPlease re-start Outlook and try again.' Traceback (most recent call last): File "out1.pyz/addin", line 848, in OnConnection File "out1.pyz/manager", line 709, in GetManager File "out1.pyz/manager", line 247, in __init__ File "out1.pyz/manager", line 514, in LoadConfig File "out1.pyz/ntpath", line 101, in join UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 10: ordinal not in range(128) Thank you. -----Original Message----- From: Adam Walker [mailto:adam.walker@rbwconsulting.com] Sent: Monday, July 21, 2003 3:03 PM To: 'Daniel Cardoso - Decidir Brasil'; spambayes@python.org Subject: RE: [Spambayes] There was an error initializing the SpamBayes If your not using beta 004, then try installing it. I think Mark has fixed this bug in beta 004. http://starship.python.net/crew/mhammond/spambayes > -----Original Message----- > From: spambayes-bounces@python.org [mailto:spambayes-bounces@python.org] > On Behalf Of Daniel Cardoso - Decidir Brasil > Sent: Monday, July 21, 2003 1:55 PM > To: 'spambayes@python.org' > Subject: [Spambayes] There was an error initializing the SpamBayes > > That's the full log: > > > > Error connecting to Outlook! > Traceback (most recent call last): > File "out1.pyz/addin", line 800, in OnConnection > File "out1.pyz/manager", line 682, in GetManager > File "out1.pyz/manager", line 226, in __init__ > File "out1.pyz/manager", line 487, in LoadConfig > File "out1.pyz/ntpath", line 101, in join > UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 10: > ordinal not in range(128) > ERROR: 'There was an error initializing the SpamBayes addin\r\n\r\nPlease > re-start Outlook and try again.' > Traceback (most recent call last): > File "out1.pyz/addin", line 800, in OnConnection > File "out1.pyz/manager", line 682, in GetManager > File "out1.pyz/manager", line 226, in __init__ > File "out1.pyz/manager", line 487, in LoadConfig > File "out1.pyz/ntpath", line 101, in join > UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 10: > ordinal not in range(128) > > > What can I do? > > > Thank you. > > > > > Daniel Cardoso > Technology Supervisor > IT - Brazil > > ________________________________________ > mailto:dcardoso@decidir.net > Tel 5511 3365 0122 > Fax 5511 3365 0101 > Got to http://www.decidir.com.br > Decidir Brasil S.A. > > *************** Internet Email Confidentiality Footer *************** > > Confidential Information may be contained in this message. If you are > not > > the addressee indicated in this message, do not copy or deliver this > > message to anyone. You should destroy it and kindly notify the sender. > > Please let us know immediately if you does not want to receive messages > of > > this kind. > > Opinions, conclusions and any other information in this message that it > is > > not related to the official business of the company does not have to be > > taken into account. > > > > _______________________________________________ > Spambayes mailing list > Spambayes@python.org > http://mail.python.org/mailman/listinfo/spambayes From tim.one at comcast.net Mon Jul 21 15:33:51 2003 From: tim.one at comcast.net (Tim Peters) Date: Mon Jul 21 14:34:27 2003 Subject: [Spambayes] Question (or possibly a bug report) In-Reply-To: <000001c34f9a$ffd98830$0b230a0a@holtegroup.local> Message-ID: [Magnus Akselvoll] > Hi. I'll try to make this short and technical. (And yes, I have read > the manual and troubleshooting) > > System description: > ------------------- > Windows XP Professional, Service Pack 1 > Office XP Service Pack 2, Exchange Server 2000 > SpamBayes Outlook Addin (beta), Binary version 0.4 (July 2003) Mark (Hammond), does that ship with some subset of Python 2.3? > Logged in as domain user with local administrative rights > > Problems: > --------- > 1. SpamBayes refuses to save some settings when restarting outlook. > The "Enable Filtering" checkbox is always unchecked, and the > "Possible Spam" filter is reset to "Untouched". > > 2. An attempt to manually start filter hangs. The progressbar does > not start and the stop filtering button does not react. Outlook.exe > process has to be killed. > > Logfiles: > --------- > 4 last logfiles attached. Seems to be some com/integration error. No, it's worse than that . All the log tracebacks end with the same thing: > ... > File "out1.pyz/tempfile", line 408, in NamedTemporaryFile > File "out1.pyz/tempfile", line 210, in _mkstemp_inner > File "out1.pyz/tempfile", line 42, in _set_cloexec > exceptions.AttributeError: 'module' object has no attribute 'fcntl' (BTW, I hate these abbreviated tracebacks.) The problem is that, for some reason I don't know, tempfile is using a Unix version of the _set_cloexec function. This must come from Python 2.3, since Python's tempfile module didn't have any such function before 2.3. The only way I know for sure this can happen is if the environment variable PYTHONCASEOK is set on your box (the value it's set to doesn't matter, it's just whether that envar exists). If that envar is set, then tempfile.py won't experience the ImportError it *expects* to get on Windows when executing this block: try: import fcntl as _fcntl def _set_cloexec(fd): flags = _fcntl.fcntl(fd, _fcntl.F_GETFD, 0) if flags >= 0: # flags read successfully, modify flags |= _fcntl.FD_CLOEXEC _fcntl.fcntl(fd, _fcntl.F_SETFD, flags) except (ImportError, AttributeError): def _set_cloexec(fd): pass So if you have an envar named PYTHONCASEOK, get rid of it. If you don't have such an envar, I don't know what the problem could be. From tim.one at comcast.net Mon Jul 21 16:21:22 2003 From: tim.one at comcast.net (Tim Peters) Date: Mon Jul 21 15:22:00 2003 Subject: [Spambayes] Spambayes - good work! In-Reply-To: <000901c34f8d$875fa040$4e01a8c0@theinagency.co.uk> Message-ID: [Jonathan Baker-Bates] > ... > One thing I'd like to suggest as nice-to-have: a smaller "Delete as > Spam" icon on the toolbar! It's so big it pushes out three of my > other icons - and I'm using the default. How about just the yellow > face with the "Delete As Spam" as a tooltip? You can change that yourself using "the usual" Outlook method: 1. With cursor on a (any) toolbar, right-click and select Customize. 2. Ignore the Customize dialog that pops up. 3. Move your cursor to the Delete As Spam button and right-click. 4. Select "Default Style" or "Text Only (in Menus)". 5. Close the (still unused) Customize dialog. Unfortunately, it seems that your new setting will persist only until you close and re-open Outlook. I don't know how to make it persist. Consider opening a Feature Request on SourceForge. Note that you can also drag the spambayes toolbar to a different part of your Outlook window, or even to a different part of your desktop, detached from the Outlook window -- and that persists. From Michael.Otto at NielsenMedia.com Mon Jul 21 16:51:00 2003 From: Michael.Otto at NielsenMedia.com (Otto, Michael) Date: Mon Jul 21 15:51:40 2003 Subject: [Spambayes] Outlook Plugin 004 still leaves read messages marked 'unread' Message-ID: Hi I just installed the 004 plugin for Outlook that Tony just let us know about. I found that it did NOT solve the problems with the read flag. I still can open a message in my inbox, then close it, and sometimes find the read status to show 'unread'. michael From sakamoto at brasiliasp.br Mon Jul 21 18:19:37 2003 From: sakamoto at brasiliasp.br (Paulo Sakamoto) Date: Mon Jul 21 16:20:33 2003 Subject: RES: [Spambayes] Unable to bind different addresses to port 110? Message-ID: Hi again, Here is what the 1.0a2 web interface says: Status and Configuration POP3 proxy running on 10.1.1.55:110, 10.1.1.56:110, 10.1.1.57:110, proxying to pop.XXX.com:110, pop3.YYY.com:110, pop.ZZZ.com:110. But I couldn't enter the same configuration in the 1.0a4, it gives the error message below. Thanks! Paulo > -----Mensagem original----- > De: Meyer, Tony [mailto:T.A.Meyer@massey.ac.nz] > Enviada em: sexta-feira, 18 de julho de 2003 20:10 > Para: Paulo Sakamoto; spambayes@python.org > Assunto: RE: [Spambayes] Unable to bind different addresses > to port 110? > > > > The web interface gives the following error messages: > > > > - The number of pop3 proxy ports specified must match the > > number of servers specified > > This is saying that the number of items in the (POP3 Proxy) > ports option must be the same as the number of items in the > servers option. (i.e., if servers is "pop.example.com:110, > pop2.example.com:110, pop3.example.com, > pop4.example.com:111", then ports must be "110, 111, 112, 113, 114"). > > > - All pop3 port numbers must be unique > > This means exactly what it says. You can't have > "110,110,110", for example - you must have "110,111,112" (or > whatever numbers you like). > > If you think that these messages are coming up erroneously, > it would be helpful if you could copy exactly what you are > putting into these two fields. You can X out the server > names if you like, but please keep the numbers and punctuation. > > =Tony Meyer > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 0.0.2 / Virus Database: 300 - Release Date: 18/07/03 > > From mfernandez at capitalideainc.com Mon Jul 21 17:03:42 2003 From: mfernandez at capitalideainc.com (Michelle Fernandez) Date: Mon Jul 21 17:03:47 2003 Subject: [Spambayes] Define filters every time I open Outlook Message-ID: <52A8365281C78C43A534176AE0517F1E0294B790@mail-server.capitalideainc.com> Hello, I just downloaded the Spambayes outlook addin (beta) binary version 0.4 July 2003. I previously had 0.2 so I was able to keep my previous database but for some reason it won't save my configurations. Every time I open Outlook I have to define the filters and enable filtering. I have to tell it which folder to monitor and which folder to put in Spam and UnsureSpam. I have done this three or four times now and even trained it some more. I have read the troubleshooting guide but did not find anything that matched what I was experiencing. I am using windows XP with service pack 1 and outlook 2000 Below are the log files I have found but don't know what they mean. Any help would be appreciated thanks. <> <> <> <> Michelle Fernandez Computer Support Specialist Capital IDEA 512-457-8610 x120 www.capitalideainc.com -------------- next part -------------- A non-text attachment was scrubbed... Name: spambayes1.log Type: application/octet-stream Size: 4246 bytes Desc: spambayes1.log Url : http://mail.python.org/pipermail/spambayes/attachments/20030721/d0b3ce82/spambayes1-0001.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: spambayes2.log Type: application/octet-stream Size: 2210 bytes Desc: spambayes2.log Url : http://mail.python.org/pipermail/spambayes/attachments/20030721/d0b3ce82/spambayes2-0001.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: spambayes3.log Type: application/octet-stream Size: 1827 bytes Desc: spambayes3.log Url : http://mail.python.org/pipermail/spambayes/attachments/20030721/d0b3ce82/spambayes3-0001.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: spambayes4.log Type: application/octet-stream Size: 4242 bytes Desc: spambayes4.log Url : http://mail.python.org/pipermail/spambayes/attachments/20030721/d0b3ce82/spambayes4-0001.obj From T.A.Meyer at massey.ac.nz Tue Jul 22 11:31:35 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Mon Jul 21 18:32:48 2003 Subject: [Spambayes] Outlook Plugin 004 still leaves read messages marked'unread' Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F13027AB313@its-xchg4.massey.ac.nz> > I just installed the 004 plugin for Outlook that Tony just > let us know about. Me? Don't you mean Mark? Or is this a different Tony? > I found that it did NOT solve the problems with the read > flag. I still can open a message in my inbox, then close it, > and sometimes find the read status to show 'unread'. I think Mark would like you to try setting the save_spam_info option to False and seeing if this makes any difference, unless you have already done that. =Tony Meyer From T.A.Meyer at massey.ac.nz Tue Jul 22 11:35:33 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Mon Jul 21 18:36:26 2003 Subject: [Spambayes] Outlook binary 004 still can't mark msgs as read whenit moves th em to Spam folder Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F13027AB31B@its-xchg4.massey.ac.nz> > I thought that Spambayes was going to allow us to configure > the message read flag to set as either 'read' or 'unread' > when it identifies spam and moves it to the Spam folder. > However, I cannot see how to do this. Look at the configuration.html file. You can get to this from the "About" page that you get to from the manager dialog. (You have to make an entry or two in the config file). > In fact, I cannot detect any difference between 004 and 002 > except that there is now a separate toolbar for Spambayes. For differences between 002 and 003 you can look in the release notes for the a3/a4 source, under the "Outlook plugin" and "General" sections. For changes since then (mostly bug fixes from memory), you'll have to look at the archives of the check-in list, or wait for the changelog/what_is_new file to be updated. =Tony Meyer From T.A.Meyer at massey.ac.nz Tue Jul 22 11:47:29 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Mon Jul 21 18:48:49 2003 Subject: [Spambayes] Unable to bind different addresses to port 110? Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F13027AB332@its-xchg4.massey.ac.nz> > Here is what the 1.0a2 web interface says: [...] > POP3 proxy running on 10.1.1.55:110, 10.1.1.56:110, > 10.1.1.57:110, proxying to pop.XXX.com:110, pop3.YYY.com:110, > pop.ZZZ.com:110. > > But I couldn't enter the same configuration in the 1.0a4, it > gives the error message below. So you're putting "pop.XXX.com:110, pop3.YYY.com:110, pop.ZZZ.com:110" into the servers field and "10.1.1.55:110, 10.1.1.56:110, 10.1.1.57:110" into the ports field? This won't work because the ports field expects just that - ports, i.e. "110,111,112". Richie, is the pop3proxy meant to be able to accept servers and addresses for the 'port' to proxy on? If so we need to change the 'nice name', allowed value and description of the option, plus possibly the code that checks the ports (in ProxyUI.py). Paulo: if pop3proxy does work like this (which I suppose it must if this is what you had for a2, unless something has changed), then you should be able to just enter these details into your config file by hand, if you change the "PORT" in Options.py in the "pop3proxy" section in the "listen_ports" option to "SERVER". Alternatively you could proxy on separate ports, rather than separate ip's. =Tony Meyer From mhammond at skippinet.com.au Tue Jul 22 10:05:15 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Mon Jul 21 19:05:28 2003 Subject: [Spambayes] Spambayes install In-Reply-To: Message-ID: <041401c34fdc$8c9d62f0$f502a8c0@eden> > For some reason, I get an error registering a .dll when I do > the install. I > scoured the spambayes support page. Any ideas? By the way, > others say this > is by far the best spam filtering software around. > > Traceback (most recent call last): ... > File "out1.pyz/win32com.server.register", line 85, in _cat_registrar > pywintypes.com_error: (-2147467262, 'No such interface > supported', None, > None) That problem seeems to occur on some older versions of Windows. The "official" was to fix that seems to be up grade your IE from version 4 to version 5 - this includes updated COM dlls. Please let me know if that doesn't solve your problem. Mark. From steve at mediapearl.com Mon Jul 21 17:08:13 2003 From: steve at mediapearl.com (Steve Mitchell) Date: Mon Jul 21 19:17:24 2003 Subject: [Spambayes] Thanks for the great work Message-ID: Spam is such a dreadful problem these days that I just wanted to write to thank you for putting SpamBayes together. It has been working great for me. Thanks again. --steve From shawn at landscapingdreams.com Mon Jul 21 21:18:22 2003 From: shawn at landscapingdreams.com (Shawn Cruson) Date: Mon Jul 21 21:21:26 2003 Subject: [Spambayes] error message Message-ID: <000001c34fef$2528ba30$30724341@rob2eh6x87dvlb> I am being told "you must enable SpamBayes before you can delete as spam." Okay. how do I enable SpamBayes? I have read as much information as was provided, but I found nothing instructing how to enable. Please help. Thank you, Rob Cruson From richie at entrian.com Tue Jul 22 04:05:14 2003 From: richie at entrian.com (Richie Hindle) Date: Mon Jul 21 22:03:29 2003 Subject: [Spambayes] Unable to bind different addresses to port 110? In-Reply-To: <1ED4ECF91CDED24C8D012BCF2B034F13027AB332@its-xchg4.massey.ac.nz> References: <1ED4ECF91CDED24C8D012BCF2B034F13027AB332@its-xchg4.massey.ac.nz> Message-ID: [Tony] > Richie, is the pop3proxy meant to be able to accept servers and > addresses for the 'port' to proxy on? Yes, it is intended to work like that. After much digging with CVS, I find that it was broken back in April by someone named anadelonbrin - not sure who he is... 8-) Options.py defines listen_ports as a PORT, and OptionsClass.py defines a PORT as '[\d]+'. I don't know much about this code, but changing PORT to SERVER seems to work - certainly the code in pop3proxy.py that actually uses the value will cope with either "address:port" or "port". However, I think this is probably stretching the definition of SERVER to its limits - the way it's defined makes it look as though it's intended to mean "address and optional port" rather than "at least one of address and port". After changing the type to SERVER the proxy works fine, the displayed values (on the Home page of the web UI) work fine, and the validation code in ProxyUI.py still considers the settings to be OK even when they include addresses. We might want to add something to the option's description: "To run multiple proxies on the same port, you can specify multiple local addresses like this: 127.0.0.1:110, 127.0.0.2:110" But it's a bit propeller-head - might be better left to a FAQ. I'll check in the one-line change if it's OK by you, because it really does fix the problem, but I do want to run it past you first because of the possible abuse of SERVER. And because it's 3am and I may not be at my code-analysing best. 8-) -- Richie Hindle richie@entrian.com From T.A.Meyer at massey.ac.nz Tue Jul 22 15:17:45 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Mon Jul 21 22:19:25 2003 Subject: [Spambayes] Unable to bind different addresses to port 110? Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F13027AB463@its-xchg4.massey.ac.nz> > Yes, it is intended to work like that. After much digging > with CVS, I find that it was broken back in April by someone > named anadelonbrin - not sure who he is... 8-) What a fool he must be :) > Options.py defines listen_ports as a PORT, and > OptionsClass.py defines a PORT as '[\d]+'. I don't know much > about this code, It might be worth pointing out (I did at the time, too) that the re's in OptionsClass.py aren't guaranteed to be correct. I wrote them with minimal research in the hope that others who knew more would improve them. (The imap ones are exceptions, those I did research thoroughly). I'm surprised that as many of them have lastest as long as they have. > However, I think this is probably stretching the definition > of SERVER to its limits - the way it's defined makes it look > as though it's intended to mean "address and optional port" > rather than "at least one of address and port". That is what it was written with in mind. It's only used (IIRC) for pop3proxy and smtpproxy, both for the remote_servers and listen_ports options. I suppose that there should be a new re that means "at least one of address and port", either in OptionsClass.py (called ...?) or just in the Options.py code itself. Although SERVER would work, it would probably be better to have a 'nicer' solution. > After changing the type to SERVER the proxy works fine, the > displayed values (on the Home page of the web UI) work fine, > and the validation code in ProxyUI.py still considers the > settings to be OK even when they include addresses. I did something correctly! (i.e. I moved/duplicated the code that you (?) wrote correctly :) > We might > want to add something to the option's description: "To run > multiple proxies on the same port, you can specify multiple > local addresses like this: 127.0.0.1:110, 127.0.0.2:110" But > it's a bit propeller-head - might be better left to a FAQ. I had vague memories of seeing something like this before (a long time back). You're probably right - the FAQ would be a better place to put it. > I'll check in the one-line change if it's OK by you, because > it really does fix the problem, but I do want to run it past > you first because of the possible abuse of SERVER. Check it in. I'll try and get around to a 'nicer' solution (that effectively does the same thing ;) at some point, if no-one beats me to it. > And > because it's 3am and I may not be at my code-analysing best. 8-) It's only 2:14pm but that means no time for spambayes until I'm much closer to 3am :) =Tony Meyer From tim.one at comcast.net Mon Jul 21 23:58:44 2003 From: tim.one at comcast.net (Tim Peters) Date: Mon Jul 21 22:59:17 2003 Subject: [Spambayes] Thanks for the great work In-Reply-To: Message-ID: [Steve Mitchell] > Spam is such a dreadful problem these days that I just wanted to > write to thank you for putting SpamBayes together. It has been > working great for me. Thanks, Steve! Just because you're so nice, we're going to continue letting you use it for free . From mhammond at skippinet.com.au Tue Jul 22 16:25:11 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Tue Jul 22 01:25:24 2003 Subject: [Spambayes] Question (or possibly a bug report) In-Reply-To: Message-ID: <054a01c35011$a02521c0$f502a8c0@eden> > Mark (Hammond), does that ship with some subset of Python 2.3? Yep. > The problem is that, for some reason I don't know, tempfile > is using a Unix > version of the _set_cloexec function. This must come from > Python 2.3, since > Python's tempfile module didn't have any such function before 2.3. > > The only way I know for sure this can happen is if the > environment variable > PYTHONCASEOK > > is set on your box I just discovered another way - some dumb tool decided to compile "FCNTL.py" down to "fcntl.pyc", therefore confusing things royally :( I'm not completely sure who actually did that, as I have been doing lots with "embedded" Python's lately. Just to complicate matters further, it also appears that McMillan's installer is also making this same mistake - but it is not the thing that wrote the bad .pyc file into my Python lib directory. So, it appears: 1) Somehow I got an "fcntl.pyc" in my main Python directory. This wreaked havoc for a number of things. Deleting all the .pyc files in this directory gave me the expected FCNTL.pyc 2) Looking at the McMillan installer logs (*after* fixing the above), I see it has packaged up "{my-python-lib}\fcntl.py" along with "{my-python-lib}\fcntl.pyc" - which do not exist. It appears to be confusing the upper case versions which *do* exist. It is safe to assume (1) happened between me releasing 003 and 004. 2) is much stranger - I haven't touched anything related to installer since then. It doesn't make sense to me how 003 worked for anyone. *sigh* - I'll try and track this down and put out 005. > (BTW, I hate these abbreviated tracebacks.) Very soon I hope to ship with most .py/c files in .zip files - that will fix this problem in a much cleaner way. Note the "hacked" filename is to prevent the "please insert a disk" for those poor users with a removable E:. BTW, I (still) hate Python's insistence on using case sensitive filenames Mark. From T.A.Meyer at massey.ac.nz Tue Jul 22 18:35:19 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Tue Jul 22 01:36:25 2003 Subject: [Spambayes] Question (or possibly a bug report) Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F13027AB596@its-xchg4.massey.ac.nz> > I just discovered another way - some dumb tool decided to > compile "FCNTL.py" down to "fcntl.pyc", therefore confusing > things royally :( I had this same problem recently (although it manifested itself differently). Tim (and a couple of others) helped me figure out what was wrong on c.l.p. > I'm not completely sure who actually did that, as I have been > doing lots with "embedded" Python's lately. I considered tracking down who did it, but decided that I had better ways to spend my time, and would wait until it happened again. I've also been doing quite a bit with 'embedded' python, including installing a variety of packages, so wasn't sure how easy it would be. If you do find out who made your 'fnctl.pyc', I'd be interested in knowing, as it may very well be my culprit, too. > *sigh* - I'll try and track this down and put out 005. Got to love those quick releases :) > Very soon I hope to ship with most .py/c files in .zip files > - that will fix this problem in a much cleaner way. Note the > "hacked" filename is to prevent the "please insert a disk" > for those poor users with a removable E:. Out of curiosity, how did you do this? Is it something in the build process, or is it in the code/spec/inno setup script somewhere? > BTW, I (still) hate Python's insistence on using case > sensitive filenames Amen. =Tony Meyer From mhammond at skippinet.com.au Tue Jul 22 16:39:52 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Tue Jul 22 01:40:55 2003 Subject: [Spambayes] Question (or possibly a bug report) In-Reply-To: <054a01c35011$a02521c0$f502a8c0@eden> Message-ID: <055b01c35013$acbd8c90$f502a8c0@eden> Just to follow up: [Me] > I just discovered another way - some dumb tool decided to > compile "FCNTL.py" > down to "fcntl.pyc", therefore confusing things royally :( ... > 1) Somehow I got an "fcntl.pyc" in my main Python directory. > This wreaked > havoc for a number of things. Deleting all the .pyc files in > this directory > gave me the expected FCNTL.pyc > 2) Looking at the McMillan installer logs (*after* fixing the > above), I see > it has packaged up "{my-python-lib}\fcntl.py" along with > "{my-python-lib}\fcntl.pyc" - which do not exist. It appears to be > confusing the upper case versions which *do* exist. McMillan does appear to be the culprit. If I delete the .pyc file from my Python directory and let McMillan run, it generates the incorrect .pyc. If the (correct) .pyc already exists, McMillan leaves it alone. In both cases it appears to get the name wrong in the internal archive. Mark. From mhammond at skippinet.com.au Tue Jul 22 17:33:46 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Tue Jul 22 02:33:57 2003 Subject: [Spambayes] Binary version 005 released Message-ID: <000e01c3501b$34c15390$f502a8c0@eden> I just released binary version 005. This is identical in functionality to version 004, except some of the packaging issues have been fixed. If version 004 did not work for you, please try 005. Regards, Mark. From richie at entrian.com Tue Jul 22 09:16:34 2003 From: richie at entrian.com (Richie Hindle) Date: Tue Jul 22 03:14:47 2003 Subject: [Spambayes] Unable to bind different addresses to port 110? In-Reply-To: <1ED4ECF91CDED24C8D012BCF2B034F13027AB463@its-xchg4.massey.ac.nz> References: <1ED4ECF91CDED24C8D012BCF2B034F13027AB463@its-xchg4.massey.ac.nz> Message-ID: [Tony] > I suppose that there should be a new re that means "at least > one of address and port", either in OptionsClass.py (called ...?) or > just in the Options.py code itself. Although SERVER would work, it > would probably be better to have a 'nicer' solution. I think the 'nicer' solution is to stop using PORT for listening ports, and introduce a LISTENING_PORT or LOCAL_PORT. This would accept either a port number or an address and port number, and would be used by pop3proxy, smtpproxy, and anything else that needed a local port. Its values would always be 2-tuples: ('server', port) or ('', port) if no server was specified. See the helper functions _addressAndPort and _addressPortStr in pop3proxy.py (Options.py could steal these, and possibly rename them to parseLocalPort and formatLocalPort). I'd do this myself but I just don't have the time right now. > Check it [the one-line fix] in. Done: Options.py 1.58. -- Richie Hindle richie@entrian.com From richie at entrian.com Tue Jul 22 09:19:08 2003 From: richie at entrian.com (Richie Hindle) Date: Tue Jul 22 03:17:21 2003 Subject: RES: [Spambayes] Unable to bind different addresses to port 110? In-Reply-To: References: Message-ID: <59pphv8r0f1jqsijn6oaqa9s8e56g2nc1c@4ax.com> Hi Paulo, > Here is what the 1.0a2 web interface says: > > Status and Configuration > > POP3 proxy running on 10.1.1.55:110, 10.1.1.56:110, 10.1.1.57:110, proxying > to pop.XXX.com:110, pop3.YYY.com:110, pop.ZZZ.com:110. > > But I couldn't enter the same configuration in the 1.0a4 This is now fixed in CVS (Option.py revision 1.58) and will work again in the next release. -- Richie Hindle richie@entrian.com From steveng at pop.jaring.my Tue Jul 22 16:27:07 2003 From: steveng at pop.jaring.my (Stephen Ng) Date: Tue Jul 22 03:27:35 2003 Subject: [Spambayes] X-Spambayes-Exception In-Reply-To: <1ED4ECF91CDED24C8D012BCF2B034F1302644E23@its-xchg4.massey.ac.nz> References: <1ED4ECF91CDED24C8D012BCF2B034F1302644E23@its-xchg4.massey.ac.nz> Message-ID: <3F1CE74B.2080500@pop.jaring.my> Meyer, Tony wrote: >>There is a hammie.db but I can't find hammie.db.dir or .dat files >>anywhere, so I assume I am not using dumbdbm. >> >> > >This is most likely the case. > > > >>Should I just trash the db and start again to train? >> >> > >Yes. If it becomes corrupt again, then let us know, along with some >information about how you've been training (so that we can try to >identify the bug and fix it). > >=Tony Meyer > > > > I deleted hammie.db and started the training again. After running error free for a couple of days with some more training in between, I received the same AssertionError aagin as well as a similar error - exceptions.AssertionError() in probability() at ./spambayes/classifier.py line 310: assert spamcount<= nspam For the training, I have been using the web interface (./pop3proxy.py -b) and feeding it entire files created by the Mozilla mail client, after I had classified them myself manually and then dragging and dropping them into folders I created in Mozilla. In no situation had I used individual emails for training. I also saw the following exception - exceptions.UnicodeError(ASCII decoding error: ordinal not in range(128)) in append() at /usr/lib/python2.2/email/Header.py line 230: ustr = unicode(s, incodec) I don't know if this is also related to the problem above. Regards, Stephen Ng From jbb at chemistrygroup.co.uk Tue Jul 22 10:47:19 2003 From: jbb at chemistrygroup.co.uk (Jonathan Baker-Bates) Date: Tue Jul 22 04:48:08 2003 Subject: [Spambayes] Spambayes - good work! In-Reply-To: Message-ID: <001201c3502d$dcff11c0$4e01a8c0@theinagency.co.uk> Hey thanks - that's a completely new thing I never knew about Outlook, and I've been using it for years! Jonathan > -----Original Message----- > From: Tim Peters [mailto:tim.one@comcast.net] > Sent: 21 July 2003 20:21 > To: Jonathan Baker-Bates > Cc: SpamBayes@python.org > Subject: RE: [Spambayes] Spambayes - good work! > > > [Jonathan Baker-Bates] > > ... > > One thing I'd like to suggest as nice-to-have: a smaller "Delete as > > Spam" icon on the toolbar! It's so big it pushes out three of my > > other icons - and I'm using the default. How about just the yellow > > face with the "Delete As Spam" as a tooltip? > > You can change that yourself using "the usual" Outlook method: > > 1. With cursor on a (any) toolbar, right-click and select Customize. > > 2. Ignore the Customize dialog that pops up. > > 3. Move your cursor to the Delete As Spam button and right-click. > > 4. Select "Default Style" or "Text Only (in Menus)". > > 5. Close the (still unused) Customize dialog. > > Unfortunately, it seems that your new setting will persist > only until you > close and re-open Outlook. I don't know how to make it > persist. Consider > opening a Feature Request on SourceForge. > > Note that you can also drag the spambayes toolbar to a > different part of > your Outlook window, or even to a different part of your > desktop, detached > from the Outlook window -- and that persists. From magnus at akselvoll.net Tue Jul 22 11:57:05 2003 From: magnus at akselvoll.net (Magnus Akselvoll) Date: Tue Jul 22 04:57:11 2003 Subject: [Spambayes] Question (or possibly a bug report) In-Reply-To: Message-ID: <000001c3502f$3ab855f0$0b230a0a@holtegroup.local> > -----Original Message----- > From: Tim Peters [mailto:tim.one@comcast.net] > Sent: lunes, 21 de julio de 2003 20:34 > To: Magnus Akselvoll; spambayes@python.org > Subject: RE: [Spambayes] Question (or possibly a bug report) > So if you have an envar named PYTHONCASEOK, get rid of it. > If you don't have such an envar, I don't know what the > problem could be. "Environment variable PYTHONCASEOK not defined" Sorry. Wasn't that easy. Will somebody (that already use the SourceForge system) post this bug, or should I? Magnus From mhammond at skippinet.com.au Wed Jul 23 00:56:43 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Tue Jul 22 09:56:53 2003 Subject: [Spambayes] Should outlook only process unread items? Message-ID: <016f01c35059$15df6820$f502a8c0@eden> I have an interesting situation. A client of mine sent me a forwarded spam email he received, for legitimate reasons that have nothing to do with SpamBayes. I tried to save the message to my Inbox so I could check out how this other (non-spam related) project deals with the mail. But as soon as my inbox saw it, SpamBayes promptly moved the message to my "Spam" folder! Apart from the fact that the spam is now lost in this folder of crap, any attempt of mine to recover from the spam folder will cause spambayes to train as ham - *not* what I want in this case. It occurs to me that SpamBayes should only automatically filter *unread* items appearing in the inbox (but training operations would work on any). Assuming a spammer can't trick Outlook into getting new spam as unread, I can't see too many issues. I could also make it an option. Any thoughts? Mark. From nick at neoworks.com Tue Jul 22 16:04:29 2003 From: nick at neoworks.com (Nick Vincent) Date: Tue Jul 22 10:04:43 2003 Subject: [Spambayes] Should outlook only process unread items? Message-ID: <487B2B5FD092D411977400D0B73EB0A2554C91@titan.neoworks.co.uk> > Any thoughts? Perhaps an option in the drop down menu should deal with retrieving a message without training might be the answer. I can't imagine that it's that common an operation to perform. Personally the read/unread feature would not be of use to me as my mail is delivered directly to my inbox and so the message would have been unread and classified as spam automatically. Other people's mileage may vary. Nick From david.waite at thomson.com Tue Jul 22 11:07:14 2003 From: david.waite at thomson.com (Waite, David) Date: Tue Jul 22 10:07:21 2003 Subject: [Spambayes] Configuration doesn't save Message-ID: <0F8758E7EC761342A0EFB6675FFFCAE7048398ED@SALESMAIL1> I've read all the files and guides and I'm still lost. I installed the binary version of the Outlook add-in on a Windows 2000 machine running Outlook 2000. When I shutdown and restart, I have to reenter the filters every time. Messages in the log file indicate some problem writing the configuration file, but I don't know what to do next. - DW - <> -------------- next part -------------- A non-text attachment was scrubbed... Name: spambayes1.log Type: application/octet-stream Size: 3483 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030722/00e0be3d/spambayes1.obj From sakamoto at brasiliasp.br Tue Jul 22 12:11:08 2003 From: sakamoto at brasiliasp.br (Paulo Sakamoto) Date: Tue Jul 22 10:12:02 2003 Subject: RES: [Spambayes] Unable to bind different addresses to port 110? Message-ID: Tony, If I enter by hand, pop3proxy won't load. I need to use different addresses for the same port because my pop client only works with port 110... Thanks, Paulo > > Here is what the 1.0a2 web interface says: > [...] > > POP3 proxy running on 10.1.1.55:110, 10.1.1.56:110, > > 10.1.1.57:110, proxying to pop.XXX.com:110, pop3.YYY.com:110, > > pop.ZZZ.com:110. > > > > But I couldn't enter the same configuration in the 1.0a4, it > > gives the error message below. > > So you're putting "pop.XXX.com:110, pop3.YYY.com:110, > pop.ZZZ.com:110" into the servers field and "10.1.1.55:110, > 10.1.1.56:110, 10.1.1.57:110" into the ports field? This > won't work because the ports field expects just that - ports, > i.e. "110,111,112". > > Richie, is the pop3proxy meant to be able to accept servers > and addresses for the 'port' to proxy on? If so we need to > change the 'nice name', allowed value and description of the > option, plus possibly the code that checks the ports (in ProxyUI.py). > > Paulo: if pop3proxy does work like this (which I suppose it > must if this is what you had for a2, unless something has > changed), then you should be able to just enter these details > into your config file by hand, if you change the "PORT" in > Options.py in the "pop3proxy" section in the "listen_ports" > option to "SERVER". Alternatively you could proxy on > separate ports, rather than separate ip's. > > =Tony Meyer > From mhammond at skippinet.com.au Wed Jul 23 01:25:08 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Tue Jul 22 10:25:15 2003 Subject: [Spambayes] Configuration doesn't save In-Reply-To: <0F8758E7EC761342A0EFB6675FFFCAE7048398ED@SALESMAIL1> Message-ID: <018a01c3505d$0e3e4b50$f502a8c0@eden> Try the new 005 binary. Mark. > -----Original Message----- > From: spambayes-bounces@python.org > [mailto:spambayes-bounces@python.org]On Behalf Of Waite, David > Sent: Wednesday, 23 July 2003 12:07 AM > To: 'spambayes@python.org' > Subject: [Spambayes] Configuration doesn't save > > > I've read all the files and guides and I'm still lost. > > I installed the binary version of the Outlook add-in on a Windows 2000 > machine running Outlook 2000. When I shutdown and restart, I > have to reenter > the filters every time. Messages in the log file indicate some problem > writing the configuration file, but I don't know what to do next. > > - DW - > > > <> > From paul at amazon.com Tue Jul 22 09:59:17 2003 From: paul at amazon.com (Nordstrom, Paul) Date: Tue Jul 22 11:59:21 2003 Subject: [Spambayes] problems with 1.0 alpha 4 outlook addin Message-ID: <8F19180141484340B53B2593AD61B4430414B90E@ex-mail-02.ant.amazon.com> hi, I have had great luck with this version on my home PC (windows XP, Outlook XP). My office computer is a different story ... the problem almost certainly lying with the fact that I use 2 profiles, one Exchange Server - based for my work email, and another with my personal POP3 mail account (with its own store file). I suspect that the product simply doesn't (yet?) support this configuration, but I thought I would report it as an FYI. paul btw, I would be happy to make a contribution to this project ... I don't have much in the way of time, but I have a few of these nice green dollars I could send ... :) From bds at jhb.ucs.co.za Tue Jul 22 17:16:48 2003 From: bds at jhb.ucs.co.za (Berend De Schouwer) Date: Tue Jul 22 12:16:49 2003 Subject: [Spambayes] Maildir fix. Message-ID: <1058878109.27672.17.camel@bds.ucs.co.za> Hi, Using mboxtrain on maildir mailboxes breaks. My Maildir mailboxes look like: 'box/cur', 'box/new', and 'box/tmp'. If I train on 'box/' (as in mboxtrain.py -d .hammiedb -g Maildir/box/), it fails because it tries to make temporary files in box/cur/tmp/ instead of box/tmp/. The attached patch fixes the problem. This is against 1.0a4. --- mboxtrain.py.orig Tue Jul 22 13:25:43 2003 +++ mboxtrain.py Tue Jul 22 13:33:33 2003 @@ -83,7 +83,7 @@ return True -def maildir_train(h, path, is_spam, force): +def maildir_train(h, path, sub_path, is_spam, force): """Train bayes with all messages from a maildir.""" if loud: print " Reading as Maildir" @@ -96,9 +96,9 @@ counter = 0 trained = 0 - for fn in os.listdir(path): + for fn in os.listdir(os.path.join(path, sub_path)): counter += 1 - cfn = os.path.join(path, fn) + cfn = os.path.join(path, sub_path, fn) tfn = os.path.join(path, "tmp", "%d.%d_%d.%s" % (time.time(), pid, counter, host)) @@ -214,9 +214,9 @@ elif os.path.isfile(path): mbox_train(h, path, is_spam, force) elif os.path.isdir(os.path.join(path, "cur")): - maildir_train(h, os.path.join(path, "cur"), is_spam, force) + maildir_train(h, path, "cur", is_spam, force) if trainnew: - maildir_train(h, os.path.join(path, "new"), is_spam, force) + maildir_train(h, path, "new", is_spam, force) elif os.path.isdir(path): mhdir_train(h, path, is_spam, force) else: -- Berend De Schouwer From tim.one at comcast.net Tue Jul 22 14:59:44 2003 From: tim.one at comcast.net (Tim Peters) Date: Tue Jul 22 14:00:17 2003 Subject: [Spambayes] Should outlook only process unread items? In-Reply-To: <016f01c35059$15df6820$f502a8c0@eden> Message-ID: [Mark Hammond] > I have an interesting situation. A client of mine sent me a > forwarded spam email he received, for legitimate reasons that have > nothing to do with SpamBayes. > > I tried to save the message to my Inbox so I could check out how this > other (non-spam related) project deals with the mail. But as soon as > my inbox saw it, SpamBayes promptly moved the message to my "Spam" > folder! Apart from the fact that the spam is now lost in this folder > of crap, Sort it by time received . > any attempt of mine to recover from the spam folder will > cause spambayes to train as ham - *not* what I want in this case. a) You could drag the message from the spam folder into some folder spambayes isn't watching. b) You could (presumably temporarily) uncheck the "Automatically train that a message is good when it is moved from a spam folder ..." option in the manager dialog, then move the msg back\ to your inbox. > It occurs to me that SpamBayes should only automatically filter > *unread* items appearing in the inbox (but training operations would > work on any). Assuming a spammer can't trick Outlook into getting new > spam as unread, xx > I can't see too many issues. I could also make it an option. > > Any thoughts? I'm pretty much neutral. It's easy to worry that the UI gets too DWIM to be predictable. It's also easy to sell the idea that once a thing has been marked read, the user is explicitly happy with its then-current classification. It's all in how you sell it . From sclark at nyroc.rr.com Tue Jul 22 15:41:37 2003 From: sclark at nyroc.rr.com (Sean R. Clark) Date: Tue Jul 22 14:41:47 2003 Subject: [Spambayes] Failure to install Message-ID: <000001c35080$e250adc0$04011818@seanlaptop> I am running outlook XP on windows XP Trying to install Spam Bayesian .005 Install log lists: Traceback (most recent call last): File "", line 10, in ? File "out3.pkg/iu.pyc", line 277, in importHook File "out3.pkg/iu.pyc", line 362, in doimport File "out1.pyz/addin", line 72, in ? File "out1.pyz/win32com.client.gencache", line 368, in EnsureModule pywintypes.com_error: (-2147312566, 'Error loading type library/DLL.', None, None) If I try to run regserv32, it pops up with: DllregisterServer in spambayes_addin.dll failed. Return code was: 0x80040201 Any ideas? I checked the tracker pages, and saw one opened with windows 2000/ Outlook 2002 with the same errors.... -Sean From tim.one at comcast.net Tue Jul 22 15:55:03 2003 From: tim.one at comcast.net (Tim Peters) Date: Tue Jul 22 14:55:41 2003 Subject: [Spambayes] problems with 1.0 alpha 4 outlook addin In-Reply-To: <8F19180141484340B53B2593AD61B4430414B90E@ex-mail-02.ant.amazon.com> Message-ID: [Nordstrom, Paul] > I have had great luck with this version on my home PC (windows > XP, Outlook XP). My office computer is a different story ... the > problem almost certainly lying with the fact that I use 2 > profiles, one Exchange Server - based for my work email, and > another with my personal POP3 mail account (with its own store > file). I suspect that the product simply doesn't (yet?) support > this configuration, but I thought I would report it as an FYI. You're going to have to say something about (exactly) how it fails to work on your office box. We can't see it from here . > paul > > btw, I would be happy to make a contribution to this project ... > I don't have much in the way of time, but I have a few of these > nice green dollars I could send ... :) You're welcome to use it for free -- or to tithe your income directly to me. Short of that, the Python Software Foundation is happy to relieve people of the terrible burden their excess cash imposes. Note that contributions to the PSF are tax-deductible (in the US): http://www.python.org/psf/donations.html From sclark at nyroc.rr.com Tue Jul 22 16:07:40 2003 From: sclark at nyroc.rr.com (Sean R. Clark) Date: Tue Jul 22 15:07:54 2003 Subject: [Spambayes] Failure to install Message-ID: <001001c35084$887bb660$04011818@seanlaptop> Don't know if this message made it thru before, since I didn't belong to the list -----Original Message----- From: Sean R. Clark [mailto:sclark@nyroc.rr.com] Sent: Tuesday, July 22, 2003 2:42 PM To: 'spambayes@python.org' Subject: Failure to install I am running outlook XP on windows XP Trying to install Spam Bayesian .005 Install log lists: Traceback (most recent call last): File "", line 10, in ? File "out3.pkg/iu.pyc", line 277, in importHook File "out3.pkg/iu.pyc", line 362, in doimport File "out1.pyz/addin", line 72, in ? File "out1.pyz/win32com.client.gencache", line 368, in EnsureModule pywintypes.com_error: (-2147312566, 'Error loading type library/DLL.', None, None) If I try to run regserv32, it pops up with: DllregisterServer in spambayes_addin.dll failed. Return code was: 0x80040201 Any ideas? I checked the tracker pages, and saw one opened with windows 2000/ Outlook 2002 with the same errors.... -Sean From tim.one at comcast.net Tue Jul 22 16:13:18 2003 From: tim.one at comcast.net (Tim Peters) Date: Tue Jul 22 15:13:54 2003 Subject: [Spambayes] Question (or possibly a bug report) In-Reply-To: <000001c3502f$3ab855f0$0b230a0a@holtegroup.local> Message-ID: [Magnus Akselvoll] > "Environment variable PYTHONCASEOK not defined" > > Sorry. Wasn't that easy. Will somebody (that already use the > SourceForge system) post this bug, or should I? If you're not reading this mailing list, you may not be aware that Mark Hammond found another cause, and made a 005 release of the Outlook binary installer to fix the problem. You can get that from http://starship.python.net/crew/mhammond/spambayes/ From tim.one at comcast.net Tue Jul 22 16:32:42 2003 From: tim.one at comcast.net (Tim Peters) Date: Tue Jul 22 15:33:22 2003 Subject: [Spambayes] Question (or possibly a bug report) In-Reply-To: <054a01c35011$a02521c0$f502a8c0@eden> Message-ID: [Tim] >> The only way I know for sure this can happen is if the environment >> variable >> >> PYTHONCASEOK >> >> is set on your box [Mark Hammond] > I just discovered another way - some dumb tool decided to compile > "FCNTL.py" down to "fcntl.pyc", therefore confusing things royally :( Yuck. Note that I checked in a change to Python's tempfile module last night, so that in 2.3 final, if FCNTL.py gets imported by mistake, tempfile won't believe it's "the real" fcntl module anymore. I'm also contemplating checking in a change so that "<" always returns true . ... >> (BTW, I hate these abbreviated tracebacks.) > Very soon I hope to ship with most .py/c files in .zip files - that > will fix this problem in a much cleaner way. Note the "hacked" > filename is to prevent the "please insert a disk" for those poor > users with a removable E:. I figured as much, and that was a necessary change. At my age I'm allowed to complain anyway. > BTW, I (still) hate Python's insistence on using case sensitive > filenames That just says you hate portable import semantics -- Australians are allowed to hold insane opinions . From glenn.w.hoffman at lmco.com Tue Jul 22 19:06:46 2003 From: glenn.w.hoffman at lmco.com (Hoffman, Glenn W) Date: Tue Jul 22 18:11:37 2003 Subject: [Spambayes] Filtering non-mail items: seems like a good idea Message-ID: Mark, I just installed the 005 binary an hour ago. 20 minutes ago, I got my first "non-delivery report" spam. I don't think I have ever seen a spam in this format, in all the years I have been watching spam. You don't think the spammers are reading the spambayes list, do you? Glenn -----Original Message----- From: Mark Hammond [mailto:mhammond@skippinet.com.au] Sent: Monday, July 21, 2003 2:38 AM To: spambayes@python.org; spambayes-announce@python.org Subject: [Spambayes] Outlook binary 004 available Hi all, I have just released a new Outlook binary ... The significant changes: ... * Non-mail items (such as non-delivery reports, meeting requests) should not be filtered. ... Please let me know if there are any problems... Mark. From paul at amazon.com Tue Jul 22 18:25:30 2003 From: paul at amazon.com (Nordstrom, Paul) Date: Tue Jul 22 20:25:38 2003 Subject: [Spambayes] problems with 1.0 alpha 4 outlook addin Message-ID: <8F19180141484340B53B2593AD61B4430414BB05@ex-mail-02.ant.amazon.com> interleaved. >> -----Original Message----- >> From: Tim Peters [mailto:tim.one@comcast.net] >> Sent: Tuesday, July 22, 2003 11:55 AM >> To: Nordstrom, Paul >> Cc: spambayes@python.org >> Subject: RE: [Spambayes] problems with 1.0 alpha 4 outlook addin >> >> >> [Nordstrom, Paul] >> > I have had great luck with this version on my home PC (windows >> > XP, Outlook XP). My office computer is a different story ... the >> > problem almost certainly lying with the fact that I use 2 >> > profiles, one Exchange Server - based for my work email, and >> > another with my personal POP3 mail account (with its own store >> > file). I suspect that the product simply doesn't (yet?) support >> > this configuration, but I thought I would report it as an FYI. >> >> You're going to have to say something about (exactly) how it >> fails to work >> on your office box. We can't see it from here . >> when I switch from one profile to the other, the folder settings get lost ... both filterable folders and target folders. This happens even if all the message stores involved are visible in both profiles. It is as if they had never been set. The keyword association data seems to survive the transitions. >> > paul >> > >> > btw, I would be happy to make a contribution to this project ... >> > I don't have much in the way of time, but I have a few of these >> > nice green dollars I could send ... :) >> >> You're welcome to use it for free -- or to tithe your income >> directly to me. >> Short of that, the Python Software Foundation is happy to >> relieve people of >> the terrible burden their excess cash imposes. Note that >> contributions to >> the PSF are tax-deductible (in the US): >> http://www.python.org/psf/donations.html Donation complete ... (now if you only accepted Amazon Honor system donations :-) http://www.amazon.com/exec/obidos/tg/browse/-/542032/qid%3D1058919474/sr%3D1-1 From adam.walker at rbwconsulting.com Tue Jul 22 21:47:14 2003 From: adam.walker at rbwconsulting.com (Adam Walker) Date: Tue Jul 22 20:47:33 2003 Subject: [Spambayes] Filtering non-mail items: seems like a good idea In-Reply-To: Message-ID: <20030723004727.408A086299@plunder.dreamhost.com> The only time I've ever received that type of "spam" was when a spammer spoofed my address as the "from" address. > -----Original Message----- > From: spambayes-bounces@python.org [mailto:spambayes-bounces@python.org] > On Behalf Of Hoffman, Glenn W > Sent: Tuesday, July 22, 2003 6:07 PM > To: Mark Hammond; spambayes@python.org > Subject: [Spambayes] Filtering non-mail items: seems like a good idea > > Mark, > > I just installed the 005 binary an hour ago. > > 20 minutes ago, I got my first "non-delivery report" spam. > > I don't think I have ever seen a spam in this format, in all the years I > have been watching spam. You don't think the spammers are reading the > spambayes list, do you? > > Glenn > > -----Original Message----- > From: Mark Hammond [mailto:mhammond@skippinet.com.au] > Sent: Monday, July 21, 2003 2:38 AM > To: spambayes@python.org; spambayes-announce@python.org > Subject: [Spambayes] Outlook binary 004 available > > Hi all, > I have just released a new Outlook binary ... > > The significant changes: > ... > * Non-mail items (such as non-delivery reports, meeting requests) > should > not be filtered. > ... > > Please let me know if there are any problems... > > Mark. > > _______________________________________________ > Spambayes mailing list > Spambayes@python.org > http://mail.python.org/mailman/listinfo/spambayes From mhammond at skippinet.com.au Wed Jul 23 11:54:34 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Tue Jul 22 20:54:44 2003 Subject: [Spambayes] problems with 1.0 alpha 4 outlook addin In-Reply-To: <8F19180141484340B53B2593AD61B4430414BB05@ex-mail-02.ant.amazon.com> Message-ID: <035a01c350b4$fc5685d0$f502a8c0@eden> > when I switch from one profile to the other, the folder > settings get lost ... both filterable folders and target > folders. This happens even if all the message stores > involved are visible in both profiles. It is as if they had > never been set. The keyword association data seems to > survive the transitions. This is by design. You must configure each profile seperately, but the training information is shared. It seems that even if I wanted to share folder settings between profiles I would have a hard time - the IDs used for these folders appear to change across profiles. But assuming there are no technical problems, I'm not convinced we should share any configuration. For users that share only a few information stores (or indeed none at all) between profiles, this may appear strange, and could have confusing semantics - eg, if 2 out of 3 profiles share an information store, should changing the spam folders in one of these 2 profiles change the other one? If there are any issues other than the fact that each profile needs to be configured seperately, then please open a bug, being as specific as you can. If what you want is a feature request, please open one of them instead (as I find it easier to ignore them ) > Donation complete ... (now if you only accepted Amazon Honor > system donations :-) > http://www.amazon.com/exec/obidos/tg/browse/-/542032/qid%3D105 8919474/sr%3D1-1 Excellent - thanks! It would be nice if somehow the PSA could track how much was given by SpamBayes users. I think that once the mail SpamBayes dev crew agrees, we should add a few PayPal donate buttons on a few of the pages. Mark. -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2548 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030723/dbfb2362/winmail-0001.bin From mhammond at skippinet.com.au Wed Jul 23 12:01:08 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Tue Jul 22 21:01:19 2003 Subject: [Spambayes] Filtering non-mail items: seems like a good idea In-Reply-To: Message-ID: <036901c350b5$e7119e20$f502a8c0@eden> > I don't think I have ever seen a spam in this format, in all > the years I have been watching spam. You don't think the > spammers are reading the spambayes list, do you? ... > The significant changes: > ... > * Non-mail items (such as non-delivery reports, meeting > requests) should not be filtered. I should have been clearer. NDRs from *external* sources are still simply mail items, and are still scored for spam in the normal way. The NDR I am referring to are ones generated by an Exchange Server. In that case, the mail never left the system. Bounce reports from internet mail servers should still be processed normally. Meeting requests are similar - ones that move over the internet are "normal" messages, and scored. Ones moving over an exchange server network only are special. If an item has a Spam score, it has been processed. Messages that are skipped will have no score at all. Mark. -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2036 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030723/4c3c1b9b/winmail.bin From alex at strasheim.org Tue Jul 22 22:20:24 2003 From: alex at strasheim.org (Alex Strasheim) Date: Tue Jul 22 22:20:32 2003 Subject: [Spambayes] "biff" in outlook? Message-ID: I'm running the latest binary outlook plugin, and outlook 2000. I really love spambayes, and I have it trained well enough to catch almost all of my spam. It's terrific. I have a question about the "biff" that outlook uses. I don't know what it's really called -- I'm talking about the little envelope that shows up in the system tray when you have new mail, the thing that does the same job that xbiff does on a unix system. When mail comes in, the biff shows new mail even if its spam. Since 2/3 of my mail (at least) is spam, this makes the biff more or less useless. Am I doing something dumb? Alternatively, is there something horribly broken in outlook 2000 that makes it hard to get the biff work properly? I'm a totally amateur programmer, and I don't know the outlook object model, so I don't know if I could crack the problem or not. But I was thinking that it would be worthwhile to take a stab at it if it would be a reasonable thing to attempt to fix. From seant at iname.com Tue Jul 22 23:59:59 2003 From: seant at iname.com (Sean True) Date: Tue Jul 22 23:00:20 2003 Subject: [Spambayes] "biff" in outlook? In-Reply-To: Message-ID: <003501c350c6$817a79e0$0201a8c0@swapwizard.com> > -----Original Message----- > From: spambayes-bounces@python.org > [mailto:spambayes-bounces@python.org] On Behalf Of Alex Strasheim > Sent: Tuesday, July 22, 2003 10:20 PM > To: spambayes@python.org > Subject: [Spambayes] "biff" in outlook? > ... > > When mail comes in, the biff shows new mail even if its spam. > Since 2/3 of my mail (at least) is spam, this makes the biff > more or less useless. > > Am I doing something dumb? Alternatively, is there something > horribly broken in outlook 2000 that makes it hard to get the > biff work properly? > > I'm a totally amateur programmer, and I don't know the > outlook object model, so I don't know if I could crack the > problem or not. But I was thinking that it would be > worthwhile to take a stab at it if it would be a reasonable > thing to attempt to fix. > If you can solve this problem, and tell Mark how, I will personally buy you a case of the non-champagne carbonated beverage of your choice that is legal in your state for your age. ;-) (Can you tell that I was trained by a lawyer at some point?) This appears to be a hard one, even for those of us who work on Spambayes related stuff for a living. Outlook doesn't appear to WANT you to set that little icon. A good substitute would be one's own systray icon which reflected reality, as opposed to Outlooks odd notion of whether you have something you should read. SpamAtBay users ask for this all time and I just have to stutter and sound stupid. Of course, that may be hard to differentiate from my normal state. -- Sean From tim.one at comcast.net Wed Jul 23 00:03:47 2003 From: tim.one at comcast.net (Tim Peters) Date: Tue Jul 22 23:04:20 2003 Subject: [Spambayes] problems with 1.0 alpha 4 outlook addin In-Reply-To: <8F19180141484340B53B2593AD61B4430414BB05@ex-mail-02.ant.amazon.com> Message-ID: >> http://www.python.org/psf/donations.html [Nordstrom, Paul] > > Donation complete Thank you! We'll put it to good use. ... (now if you only accepted Amazon Honor system > donations :-) > http://www.amazon.com/exec/obidos/tg/browse/-/542032/qid%3D105891947 > 4/sr%3D1-1 Do you get an email'ed receipt? We're in the process of setting that up for the PayPal route. The IRS accepts an email'ed receipt as proof of contribution, but doesn't accept a web page response. The fee Amazon charges seems high -- "15% of the total payment per transaction plus $.15". Contributions via PayPal put a significantly higher percentage of your hard-earned cash in the PSF's silk-lined pockets. From tim.one at comcast.net Wed Jul 23 00:10:29 2003 From: tim.one at comcast.net (Tim Peters) Date: Tue Jul 22 23:11:03 2003 Subject: [Spambayes] problems with 1.0 alpha 4 outlook addin In-Reply-To: <035a01c350b4$fc5685d0$f502a8c0@eden> Message-ID: [Mark Hammond] > ... > It would be nice if somehow the PSA could track how much was given by > SpamBayes users. I think that once the mail SpamBayes dev crew agrees, > we should add a few PayPal donate buttons on a few of the pages. The PSF's Public Support Committee is the right place to wonder about this (psc@python.org ... I think it's a private list, though). I *believe* we can embed a "product number" in a PayPal URL, which is easy to extract from the email notifications PayPal sends us, and would give us a way to track which button was clicked. I've speculated before that programming languages are generally viewed as infrastructure, like roads and sewers -- most people don't really notice them until they break -- and everyone expects infrastructure to show up by magic, as a side effect of paying taxes. Sigh. "Product" oriented appeals for funding may well be more effective! It's certainly my intent that the PSF grow to the point where it's able to offer grants to worthy public-interest projects (spambayes included). -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 1036 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030722/d93c5616/winmail.bin From tim.one at comcast.net Wed Jul 23 00:14:23 2003 From: tim.one at comcast.net (Tim Peters) Date: Tue Jul 22 23:14:55 2003 Subject: [Spambayes] "biff" in outlook? In-Reply-To: <003501c350c6$817a79e0$0201a8c0@swapwizard.com> Message-ID: [Sean True] > ... > This appears to be a hard one, even for those of us who work on > Spambayes related stuff for a living. Outlook doesn't appear to WANT > you to set that little icon. On one of the spambayes trackers, someone recently (could I possibly be any more specific?!) posted some Visual Basic monstrosity claiming to be a way to turn the friggin' icon off. This didn't use the Outlook object model, because the icon isn't exposed from Outlook. It was Clever instead. From mhammond at skippinet.com.au Wed Jul 23 14:47:14 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Tue Jul 22 23:47:25 2003 Subject: [Spambayes] "biff" in outlook? In-Reply-To: Message-ID: <041801c350cd$1ba8a220$f502a8c0@eden> > On one of the spambayes trackers, someone recently (could I > possibly be any > more specific?!) posted some Visual Basic monstrosity > claiming to be a way > to turn the friggin' icon off. This didn't use the Outlook > object model, > because the icon isn't exposed from Outlook. It was Clever instead. My problem with this is that it unconditionally removed the icon. This is not what we want - we need some code/scheme to determine if the icon should be removed first. This doesn't sound trivial - certainly not in my inbox and given my builtin rule set. The semantics for this little icon could make up a whole little mini-project. Sean has some ideas and code for a more generic Python filtering system, under which SpamBayes would be just one such filter. This appeals to me - far more so than building this kind of stuff into the core spambayes addin. I imagine a generic filtering system could consider it within its charter to manage this icon, but I will resist SpamBayes doing it unless it can be shown to be trivial and with clear, acceptable semantics. Mark. From magnus at akselvoll.net Wed Jul 23 11:28:48 2003 From: magnus at akselvoll.net (Magnus Akselvoll) Date: Wed Jul 23 04:28:55 2003 Subject: [Spambayes] Question (or possibly a bug report) In-Reply-To: Message-ID: <000001c350f4$719f1840$0b230a0a@holtegroup.local> > If you're not reading this mailing list, you may not be aware > that Mark Hammond found another cause, and made a 005 release > of the Outlook binary installer to fix the problem. You can > get that from > http://starship.python.net/crew/mhammond/spambayes/ Thank you Tim (I do not read the list). That fixed my problem with the settings that were not saved. My second problem was not fixed though: 2. An attempt to manually start filter hangs. The progressbar does not start and the stop filtering button does not react. Outlook.exe process has to be killed. It is not critical for my use of the application, but it probably interests you as developers. I've attached my last four logfiles if it is of interest. There is one last (small) problem that I've noticed. When I enter the "Define Filters" dialog the numbers for spam and possible spam are shown as 90.0 and 15.0 respectively. If I just press OK, I get an error saying number must be between 0 and 100. I guess this is a localization-error, as my windows is set to Spanish regional settings, with , as the decimal-separator. My workaround has been setting the numbers to 90 and 15 (without decimals) before pressing OK. Thank you for your help. Magnus Akselvoll -- "Passwords are like underwear. You shouldn't leave them out where people can see them. You should change them regularly. And you shouldn't loan them out to strangers." - Richard Hollis, Orthus -------------- next part -------------- A non-text attachment was scrubbed... Name: spambayes1.log Type: application/octet-stream Size: 1116 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030723/8d3392bd/spambayes1-0001.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: spambayes2.log Type: application/octet-stream Size: 5498 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030723/8d3392bd/spambayes2-0001.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: spambayes3.log Type: application/octet-stream Size: 1190 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030723/8d3392bd/spambayes3-0001.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: spambayes4.log Type: application/octet-stream Size: 92 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030723/8d3392bd/spambayes4-0001.obj From joern.tietjen at draeger.com Wed Jul 23 11:29:58 2003 From: joern.tietjen at draeger.com (Joern Tietjen) Date: Wed Jul 23 04:29:56 2003 Subject: [Spambayes] delete_as_spam_message_state no effect on task bar icon Message-ID: <3F1E4786.D677BFE0@draeger.com> Hi, i have the SpamBayes 1.0a4 plugin for Outlook 2002 (SP 2) on Win NT 4.0 . I configured the following in my ini-file: [General] delete_as_spam_message_state:Read recover_from_spam_message_state:Unread [Filter] spam_mark_as_read:True unsure_mark_as_read:True It works nicely on the new mail indication in the folders (no bold for headings, no number count of unread messages any longer) but the stupid envelope in the taskbar is still there (which bothers me somehow ...) How can I get rid of that icon on receipt of spam ? Is this an issue of Outlook or of SpamBayes ? TIA, Joern From T.A.Meyer at massey.ac.nz Wed Jul 23 21:38:44 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Wed Jul 23 04:47:07 2003 Subject: [Spambayes] delete_as_spam_message_state no effect on task bar icon Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F13027AB993@its-xchg4.massey.ac.nz> > It works nicely on the new mail indication in the folders (no bold for > headings, no number count of unread messages any longer) but > the stupid > envelope in the taskbar is still there (which bothers me somehow ...) > How can I get rid of that icon on receipt of spam ? > Is this an issue of Outlook or of SpamBayes ? This is rapidly becoming a FAQ, so I've added an answer for it - see: 3.9 How can I get rid of the envelope tray icon for spam? The answer is basically that this is an Outlook issue (I don't know about anyone else, but the behaviour of the icon isn't exactly reliable for me even without spambayes), and that a solution is not likely to be in the near future. =Tony Meyer From T.A.Meyer at massey.ac.nz Wed Jul 23 21:44:21 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Wed Jul 23 04:47:31 2003 Subject: [Spambayes] Unable to bind different addresses to port 110? Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F13027AB995@its-xchg4.massey.ac.nz> > If I enter by hand, pop3proxy won't load. > I need to use different addresses for the same port because > my pop client only works with port 110... You'll need to not only enter it by hand, but make the change to Options.py that I mentioned. Richie has checked this change in though, so if you'd rather you can just get the latest version of Options.py from cvs and drop it in as a replacement for the one you have. (Once you have this change made, you should be able to enter it via the ui as well). =Tony Meyer From T.A.Meyer at massey.ac.nz Wed Jul 23 21:42:36 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Wed Jul 23 04:49:08 2003 Subject: [Spambayes] Maildir fix. Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F13027AB994@its-xchg4.massey.ac.nz> > Using mboxtrain on maildir mailboxes breaks. My Maildir > mailboxes look like: 'box/cur', 'box/new', and 'box/tmp'. > If I train on 'box/' (as in mboxtrain.py -d .hammiedb -g > Maildir/box/), it fails because it tries to make temporary > files in box/cur/tmp/ instead of box/tmp/. The attached > patch fixes the problem. This is against 1.0a4. Thanks very much for this. We'd already had this reported - a patch was checked in a week or so back. mboxtrain v1.17 (09/07/03) fixes this. You can keep using the patched version you've made, or drop the latest version from cvs, whichever suits you. This will make it into the next source release. =Tony Meyer From mhammond at skippinet.com.au Wed Jul 23 22:03:13 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Wed Jul 23 07:03:24 2003 Subject: [Spambayes] Question (or possibly a bug report) In-Reply-To: <000001c350f4$719f1840$0b230a0a@holtegroup.local> Message-ID: <001e01c3510a$03af2a80$f502a8c0@eden> > 2. An attempt to manually start filter hangs. The progressbar > does not start > and the stop filtering button does not react. Outlook.exe > process has to be > killed. Wow! That is pretty serious :( Are you sure things have hung though? If I simulate that exception here, I do indeed get a semi-dead dialog, but I can still close it via the 'x' button in the top-right corner. The fact the dialog looks so broken is indeed a bug I have fixed though. > It is not critical for my use of the application, but it > probably interests > you as developers. I've attached my last four logfiles if it > is of interest. It is - thanks! The guts is: > AssertionError: Proportions must add to 1.0 (1,(('', 1.0),)) We are tracking this in http://sourceforge.net/tracker/index.php?func=detail&aid=765912&group_id=617 02&atid=498103 In that report, at least one user indicates they are running an English locale, but I am suspicious, as this error appears to a few of us as "impossible" - so I do suspect locale issues, as: > There is one last (small) problem that I've noticed. When I enter the > "Define Filters" dialog the numbers for spam and possible > spam are shown as > 90.0 and 15.0 respectively. If I just press OK, I get an > error saying number > must be between 0 and 100. I guess this is a localization-error, as my > windows is set to Spanish regional settings, with , as the > decimal-separator. My workaround has been setting the numbers > to 90 and 15 > (without decimals) before pressing OK. This will be a change made recently to fix another bug - that we would only allow integral numbers in the cut-offs. At this stage, I would bet that we are simply mix-matching locale-aware and non locale-unaware functions. I just wish I knew what these were :) I'm afraid I am clueless regarding how to test this. If I try and set my system wide "regional settings" to an European one, I can't provoke any change in behaviour. (I am too scared to reboot with such a config change though ) I would have expected the following session to do *something* strange: >>> import locale, string >>> locale.setlocale(locale.LC_ALL, 'German') 'German_Germany.1252' >>> print 1.1 1.1 >>> print string.atof('1.1') 1.1 >>> print float('1.1') 1.1 >>> print eval('1.1') 1.1 >>> Does anyone know how I can provoke Python under an English windows to think that the decimal point is other than a period? Mark. From magnus at akselvoll.net Wed Jul 23 15:39:38 2003 From: magnus at akselvoll.net (Magnus Akselvoll) Date: Wed Jul 23 08:39:46 2003 Subject: [Spambayes] Question (or possibly a bug report) In-Reply-To: <001e01c3510a$03af2a80$f502a8c0@eden> Message-ID: <000001c35117$7c7fe500$0b230a0a@holtegroup.local> > -----Original Message----- > From: Mark Hammond [mailto:mhammond@skippinet.com.au] > Sent: mi?rcoles, 23 de julio de 2003 13:03 > To: 'Magnus Akselvoll'; spambayes@python.org > Subject: RE: [Spambayes] Question (or possibly a bug report) > Wow! That is pretty serious :( Are you sure things have > hung though? If I simulate that exception here, I do indeed > get a semi-dead dialog, but I can still close it via the 'x' > button in the top-right corner. The fact the dialog looks so > broken is indeed a bug I have fixed though. I start the manual filter on 1 folder (personal folder) and wait. No movement of progressbar, and the system is calm (no CPU used) during minutes. I try to press Stop, but it gives no reaction. The X in the upper right corner of the window, only gives me a system-bell sound. The only way I manage to get out is by killing outlook.exe. Do you want me to perform any further tests? Magnus From mhammond at skippinet.com.au Wed Jul 23 23:53:04 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Wed Jul 23 08:53:17 2003 Subject: [Spambayes] Question (or possibly a bug report) In-Reply-To: <000001c35117$7c7fe500$0b230a0a@holtegroup.local> Message-ID: <005701c35119$5be8edd0$f502a8c0@eden> > Do you want me to perform any further tests? Thanks, but not really. This is just a side-effect - if we can just make the process error free, we wont hit this issue either :) Mark. From Michael.Otto at NielsenMedia.com Wed Jul 23 09:53:44 2003 From: Michael.Otto at NielsenMedia.com (Otto, Michael) Date: Wed Jul 23 08:54:20 2003 Subject: [Spambayes] Spambayes 004 loses it settings Message-ID: Hi I have installed the 004 plugin for Outlook and now I cannot seem to keep it filtering. It seems to lose its settings (the folder to filter, the action to take and where to move the spam and suspects). I have had to reset them 3-4 times in the past 24 hrs. Please advise. michael From Michael.Otto at NielsenMedia.com Wed Jul 23 09:56:55 2003 From: Michael.Otto at NielsenMedia.com (Otto, Michael) Date: Wed Jul 23 08:57:29 2003 Subject: [Spambayes] more on Spambayes losing its settings Message-ID: I found that, using the 004 plugin, that if I make the settings, do a "filter now", all works fine. If I then exit Outlook and reload it, all the settings are gone again. Seems that not only is Spambayes not saving the settings when the spambayes manager is closed, it's also not even saving the settings when Outlook shuts down, as it did in the 002 plugin. What now? michael From Scott.Rockwell at adic.com Wed Jul 23 07:06:18 2003 From: Scott.Rockwell at adic.com (Scott.Rockwell@adic.com) Date: Wed Jul 23 09:12:14 2003 Subject: [Spambayes] Configuration setting not stored. Message-ID: <995FF289C9D69747A09E4299264459540DB0F9F9@penguin.adic.com> Great tool - working great! But .... Running XP Pro, Outlook 2002. Installed SpamBayes, and configured it, ran it and everything is good. Exit from Outlook and start Outlook up again and SpamBayes looks like a new install - not enabled, forgot all the folder defs, forgot all the actions. Looks like the config file never gets saved. Any suggestions? Thanks, Scott Rockwell Mechanical Engineer Advanced Digital Information Corporation 303-792-9700 (Main) 303-792-2465 (Fax) 720-249-5752 (Direct) scott.rockwell@adic.com Visit us at: www.adic.com (NASDAQ: ADIC) From mhammond at skippinet.com.au Thu Jul 24 00:18:28 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Wed Jul 23 09:18:35 2003 Subject: [Spambayes] Spambayes 004 loses it settings In-Reply-To: Message-ID: <006901c3511c$e886d330$f502a8c0@eden> You should find a log file - can you please attach it to a bug report (or just mail it to me if necessary). Thanks, Mark > -----Original Message----- > From: spambayes-bounces@python.org > [mailto:spambayes-bounces@python.org]On Behalf Of Otto, Michael > Sent: Wednesday, 23 July 2003 10:54 PM > To: Spambayes List (E-mail) > Subject: [Spambayes] Spambayes 004 loses it settings > > > Hi > > I have installed the 004 plugin for Outlook and now I cannot > seem to keep it > filtering. It seems to lose its settings (the folder to > filter, the action > to take and where to move the spam and suspects). > > I have had to reset them 3-4 times in the past 24 hrs. > > Please advise. > > michael > > _______________________________________________ > Spambayes mailing list > Spambayes@python.org > http://mail.python.org/mailman/listinfo/spambayes > From sakamoto at brasiliasp.br Wed Jul 23 10:40:21 2003 From: sakamoto at brasiliasp.br (Paulo Sakamoto) Date: Wed Jul 23 10:33:42 2003 Subject: RES: [Spambayes] Unable to bind different addresses to port 110? Message-ID: I tried the Options.py 1.58 and it worked. Thanks! From Stuart at tessco.com Wed Jul 23 12:11:26 2003 From: Stuart at tessco.com (Stuart, Bill) Date: Wed Jul 23 11:13:08 2003 Subject: [Spambayes] Filtering non-mail items: seems like a good idea Message-ID: <1FD2979B57654E4CAB54AE001EDFED270449638C@xmail01.tessco.com> Gentlemen, It appears to me that spammer-scum are already trying to thwart Bayesian filtering. The subject of one received this morning contained "shareowner" and "nasa" around the usual "she will be so happy" tag line. Fortunately, I think the nature of Bayesian filtering will thwart their attempts to thwart it! And you can bet the spammer-scum are reading these lists. We are screwing with their livelihood; you better believe they are going to be "learning the enemy's tactics". - Bill P.S. Thanks to all for creating Spambayes! Death to spammer-scum! > -----Original Message----- > From: Hoffman, Glenn W [mailto:glenn.w.hoffman@lmco.com] > > Mark, > > I just installed the 005 binary an hour ago. > > 20 minutes ago, I got my first "non-delivery report" spam. > > I don't think I have ever seen a spam in this format, in all > the years I have been watching spam. You don't think the > spammers are reading the spambayes list, do you? > > Glenn From CCastiglione at vicr.com Wed Jul 23 12:17:36 2003 From: CCastiglione at vicr.com (Castiglione, Chris) Date: Wed Jul 23 11:18:10 2003 Subject: [Spambayes] unremembered spam folder bug Message-ID: Hello, Another new (and generally happy) user. I too have experienced the bug discussed earlier this month, to do with SpamBayes not remembering the SPAM target folder. I'm running the Outlook Addin binary 003 against Outlook 2000 SR-1 (9.0.0.5414) on Windows NT 4.0 Here's what happened: I originally set up my target "certain spam" folder successfully, and ran with those settings for a day or two. Then I decided to try enabling the "uncertain spam" option as well, and accidentally set both targets to the same folder (i.e., both certain and uncertain spam were filtered into the same folder). After this, I couldn't get either folder to change. As soon as I left the Filter Rules panel, the folder names would revert back to what they had been before. I tried deleting the folder in question, exiting Outlook, and restarting it, in the hopes that this would somehow cause the settings to revert, but all it accomplished was setting both folders to , which also could not be changed successfully. The following message appeared in the log file during the times when I was trying to change the folders: ----------------------------- *snip* ------------------------------------------ Attempted to set [Filter] spam_folder_id with invalid value ('0000000038A1BB1005E5101AA1BB08002B2A56C20000454D534D44422E444C4C00000000000000001B55FA20AA6611CD 9BC800AA002FC45A0C0000003430304558434831002F6F3D45786368616E67652F6F753D46697273742041646D696E697374 7261746976652047726F75702F636E3D526563697069656E74732F636E3D434361737469676C696F6E6500', '00000000D7D1DC6693530D489CA2EE194171E6C50100F8EB5FAFF2EA68409396792E80B52C3E0000001612A00000') () Attempted to set [Filter] unsure_folder_id with invalid value ('0000000038A1BB1005E5101AA1BB08002B2A56C20000454D534D44422E444C4C00000000000000001B55FA20AA6611CD 9BC800AA002FC45A0C0000003430304558434831002F6F3D45786368616E67652F6F753D46697273742041646D696E697374 7261746976652047726F75702F636E3D526563697069656E74732F636E3D434361737469676C696F6E6500', '00000000D7D1DC6693530D489CA2EE194171E6C50100F8EB5FAFF2EA68409396792E80B52C3E0000000BD3880000') () ----------------------------- *snip* ------------------------------------------ Eventually I got around the problem by locating and deleting my user ini file. Though I had to reset my other options as well, it allowed the folders to be changed. I've had no further problems since then. Chris From adam.walker at rbwconsulting.com Wed Jul 23 12:26:33 2003 From: adam.walker at rbwconsulting.com (Adam Walker) Date: Wed Jul 23 11:26:57 2003 Subject: [Spambayes] unremembered spam folder bug In-Reply-To: Message-ID: <20030723152650.ED71086265@plunder.dreamhost.com> This is fixed in the latest release (005), give that a shot. http://starship.python.net/crew/mhammond/spambayes Thanks, Adam > -----Original Message----- > From: spambayes-bounces@python.org [mailto:spambayes-bounces@python.org] > On Behalf Of Castiglione, Chris > Sent: Wednesday, July 23, 2003 11:18 AM > To: spambayes@python.org > Subject: [Spambayes] unremembered spam folder bug > > Hello, > > Another new (and generally happy) user. I too have experienced the bug > discussed earlier this month, to do with SpamBayes not remembering the > SPAM target folder. I'm running the Outlook Addin binary 003 against > Outlook 2000 SR-1 (9.0.0.5414) on Windows NT 4.0 > > Here's what happened: > > I originally set up my target "certain spam" folder successfully, and ran > with those settings for a day or two. Then I decided to try enabling the > "uncertain spam" option as well, and accidentally set both targets to the > same folder (i.e., both certain and uncertain spam were filtered into the > same folder). > > After this, I couldn't get either folder to change. As soon as I left the > Filter Rules panel, the folder names would revert back to what they had > been before. I tried deleting the folder in question, exiting Outlook, > and restarting it, in the hopes that this would somehow cause the settings > to revert, but all it accomplished was setting both folders to folder>, which also could not be changed successfully. > > The following message appeared in the log file during the times when I was > trying to change the folders: From glenn.w.hoffman at lmco.com Wed Jul 23 12:28:00 2003 From: glenn.w.hoffman at lmco.com (Hoffman, Glenn W) Date: Wed Jul 23 11:32:39 2003 Subject: [Spambayes] Filtering non-mail items: seems like a good idea Message-ID: Mark, > NDRs from *external* sources are still simply mail items, and are > still scored for spam in the normal way. The NDR I received was from an external source, but was not scored. So I assumed ... > The NDR I am referring to are ones generated by an Exchange Server. > In that case, the mail never left the system. Bounce reports from > internet mail servers should still be processed normally. Great. Thanks for the clarification. > If an item has a Spam score, it has been processed. Messages that > are skipped will have no score at all. So, the mystery is why the message in question was not scored. I have seen other messages not be scored, so it is not an isolated case. Hmmm... I tried "Show spam clues for current message" on the NDR, and it said "No mail items are selected". Which in at least one sense is true: the icon next to the item in Outlook's window is not an envelope but rather a tracking symbol (a tiny circle with a red checkmark within and some wavy lines streaming off to the right). I am suspecting that our corporate Exchange setup converts incoming SMTP into proper Exchange objects before delivering them to the server from which I access my mail. In the Received headers I see things like "CONVERSION-DAEMON" as the name of one of the internal relays, and "Microsoft SMTPSVC" on another. If so, would this spoil the distinction between external and internal sources of NDR? Glenn From paul at amazon.com Wed Jul 23 09:37:23 2003 From: paul at amazon.com (Nordstrom, Paul) Date: Wed Jul 23 11:46:50 2003 Subject: [Spambayes] problems with 1.0 alpha 4 outlook addin Message-ID: <8F19180141484340B53B2593AD61B4430414BB87@ex-mail-02.ant.amazon.com> >> -----Original Message----- >> From: Mark Hammond [mailto:mhammond@skippinet.com.au] >> Sent: Tuesday, July 22, 2003 5:55 PM >> To: Nordstrom, Paul; spambayes@python.org >> Subject: RE: [Spambayes] problems with 1.0 alpha 4 outlook addin >> >> >> > when I switch from one profile to the other, the folder >> > settings get lost ... both filterable folders and target >> > folders. This happens even if all the message stores >> > involved are visible in both profiles. It is as if they had >> > never been set. The keyword association data seems to >> > survive the transitions. >> >> This is by design. You must configure each profile >> seperately, but the training information is shared. It >> seems that even if I wanted to share folder settings between >> profiles I would have a hard time - the IDs used for these >> folders appear to change across profiles. >> perhaps I wasn't clear ... any time I come back to a profile (after having switched to the other one) ALL its configuration is gone (except for the training info) and must be reentered. I wasn't expecting them to share configuration, I just tried that as a workaround. >> But assuming there are no technical problems, I'm not >> convinced we should share any configuration. For users that >> share only a few information stores (or indeed none at all) >> between profiles, this may appear strange, and could have >> confusing semantics - eg, if 2 out of 3 profiles share an >> information store, should changing the spam folders in one >> of these 2 profiles change the other one? >> I certainly agree with this. >> If there are any issues other than the fact that each >> profile needs to be configured seperately, then please open >> a bug, being as specific as you can. If what you want is a >> feature request, please open one of them instead (as I find >> it easier to ignore them ) >> >> > Donation complete ... (now if you only accepted Amazon Honor >> > system donations :-) >> > http://www.amazon.com/exec/obidos/tg/browse/-/542032/qid%3D105 >> 8919474/sr%3D1-1 >> >> Excellent - thanks! It would be nice if somehow the PSA >> could track how much was given by SpamBayes users. I think >> that once the mail SpamBayes dev crew agrees, we should add >> a few PayPal donate buttons on a few of the pages. >> >> Mark. >> From dcardoso at decidir.net Wed Jul 23 13:53:42 2003 From: dcardoso at decidir.net (Daniel Cardoso - Decidir Brasil) Date: Wed Jul 23 11:53:54 2003 Subject: [Spambayes] There was an error initializing the SpamBayes Message-ID: <7AE9FD7AFCAE874ABB189B24F0F0498D1343B2@epuyen.decidir.net> Still failing. out1.pyz/fcntl:7: DeprecationWarning: the FCNTL module is deprecated; please use fcntl Error connecting to Outlook! Traceback (most recent call last): File "out1.pyz/addin", line 848, in OnConnection File "out1.pyz/manager", line 709, in GetManager File "out1.pyz/manager", line 247, in __init__ File "out1.pyz/manager", line 514, in LoadConfig File "out1.pyz/ntpath", line 101, in join UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 10: ordinal not in range(128) ERROR: 'There was an error initializing the SpamBayes addin\r\n\r\nPlease re-start Outlook and try again.' Traceback (most recent call last): File "out1.pyz/addin", line 848, in OnConnection File "out1.pyz/manager", line 709, in GetManager File "out1.pyz/manager", line 247, in __init__ File "out1.pyz/manager", line 514, in LoadConfig File "out1.pyz/ntpath", line 101, in join UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 10: ordinal not in range(128) -----Original Message----- From: Adam Walker [mailto:adam.walker@rbwconsulting.com] Sent: Monday, July 21, 2003 3:03 PM To: 'Daniel Cardoso - Decidir Brasil'; spambayes@python.org Subject: RE: [Spambayes] There was an error initializing the SpamBayes If your not using beta 004, then try installing it. I think Mark has fixed this bug in beta 004. http://starship.python.net/crew/mhammond/spambayes > -----Original Message----- > From: spambayes-bounces@python.org [mailto:spambayes-bounces@python.org] > On Behalf Of Daniel Cardoso - Decidir Brasil > Sent: Monday, July 21, 2003 1:55 PM > To: 'spambayes@python.org' > Subject: [Spambayes] There was an error initializing the SpamBayes > > That's the full log: > > > > Error connecting to Outlook! > Traceback (most recent call last): > File "out1.pyz/addin", line 800, in OnConnection > File "out1.pyz/manager", line 682, in GetManager > File "out1.pyz/manager", line 226, in __init__ > File "out1.pyz/manager", line 487, in LoadConfig > File "out1.pyz/ntpath", line 101, in join > UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 10: > ordinal not in range(128) > ERROR: 'There was an error initializing the SpamBayes addin\r\n\r\nPlease > re-start Outlook and try again.' > Traceback (most recent call last): > File "out1.pyz/addin", line 800, in OnConnection > File "out1.pyz/manager", line 682, in GetManager > File "out1.pyz/manager", line 226, in __init__ > File "out1.pyz/manager", line 487, in LoadConfig > File "out1.pyz/ntpath", line 101, in join > UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 10: > ordinal not in range(128) > > > What can I do? > > > Thank you. > > > > > Daniel Cardoso > Technology Supervisor > IT - Brazil > > ________________________________________ > mailto:dcardoso@decidir.net > Tel 5511 3365 0122 > Fax 5511 3365 0101 > Got to http://www.decidir.com.br > Decidir Brasil S.A. > > *************** Internet Email Confidentiality Footer *************** > > Confidential Information may be contained in this message. If you are > not > > the addressee indicated in this message, do not copy or deliver this > > message to anyone. You should destroy it and kindly notify the sender. > > Please let us know immediately if you does not want to receive messages > of > > this kind. > > Opinions, conclusions and any other information in this message that it > is > > not related to the official business of the company does not have to be > > taken into account. > > > > _______________________________________________ > Spambayes mailing list > Spambayes@python.org > http://mail.python.org/mailman/listinfo/spambayes From adam.walker at rbwconsulting.com Wed Jul 23 12:59:54 2003 From: adam.walker at rbwconsulting.com (Adam Walker) Date: Wed Jul 23 12:00:18 2003 Subject: [Spambayes] There was an error initializing the SpamBayes In-Reply-To: <7AE9FD7AFCAE874ABB189B24F0F0498D1343B2@epuyen.decidir.net> Message-ID: <20030723160012.56F02862CD@plunder.dreamhost.com> Try beta 005 at the same location. Thanks, Adam > -----Original Message----- > From: Daniel Cardoso - Decidir Brasil [mailto:dcardoso@decidir.net] > Sent: Wednesday, July 23, 2003 11:54 AM > To: 'adam.walker@rbwconsulting.com'; spambayes@python.org > Subject: RE: [Spambayes] There was an error initializing the SpamBayes > > Still failing. > > > out1.pyz/fcntl:7: DeprecationWarning: the FCNTL module is deprecated; > please > use fcntl > Error connecting to Outlook! > Traceback (most recent call last): > File "out1.pyz/addin", line 848, in OnConnection > File "out1.pyz/manager", line 709, in GetManager > File "out1.pyz/manager", line 247, in __init__ > File "out1.pyz/manager", line 514, in LoadConfig > File "out1.pyz/ntpath", line 101, in join > UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 10: > ordinal not in range(128) > ERROR: 'There was an error initializing the SpamBayes addin\r\n\r\nPlease > re-start Outlook and try again.' > Traceback (most recent call last): > File "out1.pyz/addin", line 848, in OnConnection > File "out1.pyz/manager", line 709, in GetManager > File "out1.pyz/manager", line 247, in __init__ > File "out1.pyz/manager", line 514, in LoadConfig > File "out1.pyz/ntpath", line 101, in join > UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 10: > ordinal not in range(128) > > -----Original Message----- > From: Adam Walker [mailto:adam.walker@rbwconsulting.com] > Sent: Monday, July 21, 2003 3:03 PM > To: 'Daniel Cardoso - Decidir Brasil'; spambayes@python.org > Subject: RE: [Spambayes] There was an error initializing the SpamBayes > > > If your not using beta 004, then try installing it. I think Mark has fixed > this bug in beta 004. > > http://starship.python.net/crew/mhammond/spambayes > > > -----Original Message----- > > From: spambayes-bounces@python.org [mailto:spambayes-bounces@python.org] > > On Behalf Of Daniel Cardoso - Decidir Brasil > > Sent: Monday, July 21, 2003 1:55 PM > > To: 'spambayes@python.org' > > Subject: [Spambayes] There was an error initializing the SpamBayes > > > > That's the full log: > > > > > > > > Error connecting to Outlook! > > Traceback (most recent call last): > > File "out1.pyz/addin", line 800, in OnConnection > > File "out1.pyz/manager", line 682, in GetManager > > File "out1.pyz/manager", line 226, in __init__ > > File "out1.pyz/manager", line 487, in LoadConfig > > File "out1.pyz/ntpath", line 101, in join > > UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 10: > > ordinal not in range(128) > > ERROR: 'There was an error initializing the SpamBayes > addin\r\n\r\nPlease > > re-start Outlook and try again.' > > Traceback (most recent call last): > > File "out1.pyz/addin", line 800, in OnConnection > > File "out1.pyz/manager", line 682, in GetManager > > File "out1.pyz/manager", line 226, in __init__ > > File "out1.pyz/manager", line 487, in LoadConfig > > File "out1.pyz/ntpath", line 101, in join > > UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 10: > > ordinal not in range(128) > > > > > > What can I do? > > > > > > Thank you. > > > > > > > > > > Daniel Cardoso > > Technology Supervisor > > IT - Brazil > > > > ________________________________________ > > mailto:dcardoso@decidir.net > > Tel 5511 3365 0122 > > Fax 5511 3365 0101 > > Got to http://www.decidir.com.br > > Decidir Brasil S.A. > > > > *************** Internet Email Confidentiality Footer *************** > > > Confidential Information may be contained in this message. If you are > > not > > > the addressee indicated in this message, do not copy or deliver this > > > message to anyone. You should destroy it and kindly notify the sender. > > > Please let us know immediately if you does not want to receive > messages > > of > > > this kind. > > > Opinions, conclusions and any other information in this message that > it > > is > > > not related to the official business of the company does not have to > be > > > taken into account. > > > > > > > _______________________________________________ > > Spambayes mailing list > > Spambayes@python.org > > http://mail.python.org/mailman/listinfo/spambayes From dcardoso at decidir.net Wed Jul 23 14:08:00 2003 From: dcardoso at decidir.net (Daniel Cardoso - Decidir Brasil) Date: Wed Jul 23 12:08:05 2003 Subject: [Spambayes] There was an error initializing the SpamBayes Message-ID: <7AE9FD7AFCAE874ABB189B24F0F0498D1343B3@epuyen.decidir.net> Nope! :-( Error connecting to Outlook! Traceback (most recent call last): File "out1.pyz/addin", line 848, in OnConnection File "out1.pyz/manager", line 709, in GetManager File "out1.pyz/manager", line 247, in __init__ File "out1.pyz/manager", line 514, in LoadConfig File "out1.pyz/ntpath", line 101, in join UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 10: ordinal not in range(128) ERROR: 'There was an error initializing the SpamBayes addin\r\n\r\nPlease re-start Outlook and try again.' Traceback (most recent call last): File "out1.pyz/addin", line 848, in OnConnection File "out1.pyz/manager", line 709, in GetManager File "out1.pyz/manager", line 247, in __init__ File "out1.pyz/manager", line 514, in LoadConfig File "out1.pyz/ntpath", line 101, in join UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 10: ordinal not in range(128) Same error.....I think. Thank you. Daniel. -----Original Message----- From: Adam Walker [mailto:adam.walker@rbwconsulting.com] Sent: Wednesday, July 23, 2003 1:00 PM To: 'Daniel Cardoso - Decidir Brasil'; spambayes@python.org Subject: RE: [Spambayes] There was an error initializing the SpamBayes Try beta 005 at the same location. Thanks, Adam > -----Original Message----- > From: Daniel Cardoso - Decidir Brasil [mailto:dcardoso@decidir.net] > Sent: Wednesday, July 23, 2003 11:54 AM > To: 'adam.walker@rbwconsulting.com'; spambayes@python.org > Subject: RE: [Spambayes] There was an error initializing the SpamBayes > > Still failing. > > > out1.pyz/fcntl:7: DeprecationWarning: the FCNTL module is deprecated; > please > use fcntl > Error connecting to Outlook! > Traceback (most recent call last): > File "out1.pyz/addin", line 848, in OnConnection > File "out1.pyz/manager", line 709, in GetManager > File "out1.pyz/manager", line 247, in __init__ > File "out1.pyz/manager", line 514, in LoadConfig > File "out1.pyz/ntpath", line 101, in join > UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 10: > ordinal not in range(128) > ERROR: 'There was an error initializing the SpamBayes addin\r\n\r\nPlease > re-start Outlook and try again.' > Traceback (most recent call last): > File "out1.pyz/addin", line 848, in OnConnection > File "out1.pyz/manager", line 709, in GetManager > File "out1.pyz/manager", line 247, in __init__ > File "out1.pyz/manager", line 514, in LoadConfig > File "out1.pyz/ntpath", line 101, in join > UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 10: > ordinal not in range(128) > > -----Original Message----- > From: Adam Walker [mailto:adam.walker@rbwconsulting.com] > Sent: Monday, July 21, 2003 3:03 PM > To: 'Daniel Cardoso - Decidir Brasil'; spambayes@python.org > Subject: RE: [Spambayes] There was an error initializing the SpamBayes > > > If your not using beta 004, then try installing it. I think Mark has fixed > this bug in beta 004. > > http://starship.python.net/crew/mhammond/spambayes > > > -----Original Message----- > > From: spambayes-bounces@python.org [mailto:spambayes-bounces@python.org] > > On Behalf Of Daniel Cardoso - Decidir Brasil > > Sent: Monday, July 21, 2003 1:55 PM > > To: 'spambayes@python.org' > > Subject: [Spambayes] There was an error initializing the SpamBayes > > > > That's the full log: > > > > > > > > Error connecting to Outlook! > > Traceback (most recent call last): > > File "out1.pyz/addin", line 800, in OnConnection > > File "out1.pyz/manager", line 682, in GetManager > > File "out1.pyz/manager", line 226, in __init__ > > File "out1.pyz/manager", line 487, in LoadConfig > > File "out1.pyz/ntpath", line 101, in join > > UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 10: > > ordinal not in range(128) > > ERROR: 'There was an error initializing the SpamBayes > addin\r\n\r\nPlease > > re-start Outlook and try again.' > > Traceback (most recent call last): > > File "out1.pyz/addin", line 800, in OnConnection > > File "out1.pyz/manager", line 682, in GetManager > > File "out1.pyz/manager", line 226, in __init__ > > File "out1.pyz/manager", line 487, in LoadConfig > > File "out1.pyz/ntpath", line 101, in join > > UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 10: > > ordinal not in range(128) > > > > > > What can I do? > > > > > > Thank you. > > > > > > > > > > Daniel Cardoso > > Technology Supervisor > > IT - Brazil > > > > ________________________________________ > > mailto:dcardoso@decidir.net > > Tel 5511 3365 0122 > > Fax 5511 3365 0101 > > Got to http://www.decidir.com.br > > Decidir Brasil S.A. > > > > *************** Internet Email Confidentiality Footer *************** > > > Confidential Information may be contained in this message. If you are > > not > > > the addressee indicated in this message, do not copy or deliver this > > > message to anyone. You should destroy it and kindly notify the sender. > > > Please let us know immediately if you does not want to receive > messages > > of > > > this kind. > > > Opinions, conclusions and any other information in this message that > it > > is > > > not related to the official business of the company does not have to > be > > > taken into account. > > > > > > > _______________________________________________ > > Spambayes mailing list > > Spambayes@python.org > > http://mail.python.org/mailman/listinfo/spambayes From James.Brett at unified.co.uk Wed Jul 23 18:05:55 2003 From: James.Brett at unified.co.uk (James Brett) Date: Wed Jul 23 12:19:38 2003 Subject: [Spambayes] spambayes bug Message-ID: <2DC103B51A1BD211AD0800A0C9DD666EDFDB03@USLSERVER4> Hi When I try and select the folder for possible spam, instead of their being a folder list the panel is just blank. The very first time I installed spambayes I could see the folder but clicked in the whitespace by mistake. Then the folders disappeared. I've tried uninstalling and reinstalling but that doesn't do anything. This happened on version 3 and i've now upgraded to 5 but still I can't select a possible spam folder I'm using win 2000 and version 5. Cheers James ---------------------------------------------------------------- James Brett Unified Solutions Ltd Web: http://www.unified.co.uk Tel: 01753 775050 Fax: 01753 775020 Email: mailto:james.brett@unified.co.uk --------------------------------------------------------------- The information in this internet eMail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of Unified Solutions Ltd or any of its affiliates. If you are not the intended recipient please contact Unified Solutions Ltd, +44 (0) 1753 775050 --------------------------------------------------------------- From adam.walker at rbwconsulting.com Wed Jul 23 13:29:09 2003 From: adam.walker at rbwconsulting.com (Adam Walker) Date: Wed Jul 23 12:29:30 2003 Subject: [Spambayes] There was an error initializing the SpamBayes In-Reply-To: <7AE9FD7AFCAE874ABB189B24F0F0498D1343B3@epuyen.decidir.net> Message-ID: <20030723162927.7E9B2862CB@plunder.dreamhost.com> Mark fixed a *similar* error (http://sourceforge.net/tracker/index.php?func=detail&aid=765242&group_id=61 702&atid=498103) a few days ago. It was on the encode side not decode. This is beyond my depth at the current time. You'll have to wait for Mark to address it. Sorry, Adam > -----Original Message----- > From: Daniel Cardoso - Decidir Brasil [mailto:dcardoso@decidir.net] > Sent: Wednesday, July 23, 2003 12:08 PM > To: 'adam.walker@rbwconsulting.com'; spambayes@python.org > Subject: RE: [Spambayes] There was an error initializing the SpamBayes > > Nope! > :-( > > > > Error connecting to Outlook! > Traceback (most recent call last): > File "out1.pyz/addin", line 848, in OnConnection > File "out1.pyz/manager", line 709, in GetManager > File "out1.pyz/manager", line 247, in __init__ > File "out1.pyz/manager", line 514, in LoadConfig > File "out1.pyz/ntpath", line 101, in join > UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 10: > ordinal not in range(128) > ERROR: 'There was an error initializing the SpamBayes addin\r\n\r\nPlease > re-start Outlook and try again.' > Traceback (most recent call last): > File "out1.pyz/addin", line 848, in OnConnection > File "out1.pyz/manager", line 709, in GetManager > File "out1.pyz/manager", line 247, in __init__ > File "out1.pyz/manager", line 514, in LoadConfig > File "out1.pyz/ntpath", line 101, in join > UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 10: > ordinal not in range(128) > > > Same error.....I think. > > > > Thank you. > > > Daniel. > > From sakamoto at brasiliasp.br Wed Jul 23 14:03:23 2003 From: sakamoto at brasiliasp.br (Paulo Sakamoto) Date: Wed Jul 23 12:31:11 2003 Subject: RES: [Spambayes] Unable to bind different addresses to port 110? Message-ID: I've got the latest Options.py from CVS, and it worked! Thnaks for you all! > -----Mensagem original----- > De: Meyer, Tony [mailto:T.A.Meyer@massey.ac.nz] > Enviada em: quarta-feira, 23 de julho de 2003 05:44 > Para: Paulo Sakamoto; spambayes@python.org > Assunto: RE: [Spambayes] Unable to bind different addresses > to port 110? > > > > If I enter by hand, pop3proxy won't load. > > I need to use different addresses for the same port because > > my pop client only works with port 110... > > You'll need to not only enter it by hand, but make the change > to Options.py that I mentioned. Richie has checked this > change in though, so if you'd rather you can just get the > latest version of Options.py from cvs and drop it in as a > replacement for the one you have. > > (Once you have this change made, you should be able to enter > it via the ui as well). > > =Tony Meyer > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 0.0.2 / Virus Database: 300 - Release Date: 18/07/03 > > From adam.walker at rbwconsulting.com Wed Jul 23 13:40:00 2003 From: adam.walker at rbwconsulting.com (Adam Walker) Date: Wed Jul 23 12:40:24 2003 Subject: [Spambayes] spambayes bug In-Reply-To: <2DC103B51A1BD211AD0800A0C9DD666EDFDB03@USLSERVER4> Message-ID: <20030723164017.7ADA313E241@sack.dreamhost.com> James, Could send your log file(s) please? It will help in finding the problem. See the FAQ for information on finding this file(s). Thanks, Adam > -----Original Message----- > From: spambayes-bounces@python.org [mailto:spambayes-bounces@python.org] > On Behalf Of James Brett > Sent: Wednesday, July 23, 2003 12:06 PM > To: 'spambayes@python.org' > Subject: [Spambayes] spambayes bug > > Hi > > When I try and select the folder for possible spam, instead of their being > a > folder list the panel is just blank. The very first time I installed > spambayes I could see the folder but clicked in the whitespace by mistake. > Then the folders disappeared. I've tried uninstalling and reinstalling but > that doesn't do anything. This happened on version 3 and i've now upgraded > to 5 but still I can't select a possible spam folder > > I'm using win 2000 and version 5. > > Cheers > James > > ---------------------------------------------------------------- > James Brett > Unified Solutions Ltd > Web: http://www.unified.co.uk > Tel: 01753 775050 > Fax: 01753 775020 > Email: mailto:james.brett@unified.co.uk > --------------------------------------------------------------- > The information in this internet eMail is confidential and is > intended solely for the addressee. Access, copying or re-use of > information in it by anyone else is unauthorised. Any views or > opinions presented are solely those of the author and do not > necessarily represent those of Unified Solutions Ltd or any of > its affiliates. If you are not the intended recipient please > contact Unified Solutions Ltd, +44 (0) 1753 775050 > --------------------------------------------------------------- > > > _______________________________________________ > Spambayes mailing list > Spambayes@python.org > http://mail.python.org/mailman/listinfo/spambayes From David.Bear at asu.edu Wed Jul 23 10:34:32 2003 From: David.Bear at asu.edu (David Bear) Date: Wed Jul 23 12:47:07 2003 Subject: [Spambayes] retraining Message-ID: <20030723093432.A6921@asu.edu> I've been happily using spambayes while training only manually every couple of weeks. I recall there was someone doing a retrain every night. I may be heading that direction. So I have 2 questions: 1) since I'm using procmail to deliver/filter etc, during the training run, does procmail need to be halted? ie, does it need some semaphore avoid delivering mail until training is done 2) it would be nice to see a sample script for a nightly train that I assume would be cron'd. Anyone have an example script they wouldn't mind sharing? -- David Bear phone: 480-965-8257 fax: 480-965-9189 College of Public Programs/ASU Wilson Hall 232 Tempe, AZ 85287-0803 "Beware the IP portfolio, everyone will be suspect of trespassing" From skip at pobox.com Wed Jul 23 14:07:37 2003 From: skip at pobox.com (Skip Montanaro) Date: Wed Jul 23 14:17:22 2003 Subject: [Spambayes] retraining In-Reply-To: <20030723093432.A6921@asu.edu> References: <20030723093432.A6921@asu.edu> Message-ID: <16158.52969.13109.476119@montanaro.dyndns.org> David> 1) since I'm using procmail to deliver/filter etc, during the David> training run, does procmail need to be halted? ie, does it need David> some semaphore avoid delivering mail until training is done I use procmail as well. It runs hammiefilter pointed at ~/hammie.db to score the messages. I train incrementally from VM running in XEmacs and haven't had any trouble with the database. Maybe I'm just lucky, but I suspect it has more to do with the fact that I run fetchmail to grab mail from the server, and it only runs every five minutes. When I want to retrain from scratch, I train into a different database (~/tmp/hammie.db), and copy that into place. Skip From tim.one at comcast.net Wed Jul 23 16:10:26 2003 From: tim.one at comcast.net (Tim Peters) Date: Wed Jul 23 15:11:17 2003 Subject: [Spambayes] Question (or possibly a bug report) In-Reply-To: <001e01c3510a$03af2a80$f502a8c0@eden> Message-ID: [Mark Hammond] > ... > In that report, at least one user indicates they are running an > English locale, but I am suspicious, as this error appears to a few > of us as "impossible" - so I do suspect locale issues, as: >> There is one last (small) problem that I've noticed. When I enter the >> "Define Filters" dialog the numbers for spam and possible spam are >> shown as 90.0 and 15.0 respectively. If I just press OK, I get an >> error saying number must be between 0 and 100. I guess this is a >> localization-error, as my windows is set to Spanish regional >> settings, with , as the decimal-separator. My workaround has been >> setting the numbers to 90 and 15 (without decimals) before pressing >> OK. > This will be a change made recently to fix another bug - that we > would only allow integral numbers in the cut-offs. At this stage, I > would bet that we are simply mix-matching locale-aware and non > locale-unaware functions. I just wish I knew what these were :) > > I'm afraid I am clueless regarding how to test this. If I try and > set my system wide "regional settings" to an European one, I can't > provoke any change in behaviour. (I am too scared to reboot with > such a config change though ) > > I would have expected the following session to do *something* strange: > > >>> import locale, string > >>> locale.setlocale(locale.LC_ALL, 'German') 'German_Germany.1252' > >>> print 1.1 > 1.1 > >>> print string.atof('1.1') > 1.1 > >>> print float('1.1') > 1.1 > >>> print eval('1.1') > 1.1 > >>> > > Does anyone know how I can provoke Python under an English windows to > think that the decimal point is other than a period? Surprise: you can't, not from Python. Reading the docs for Python's locale module will help -- if you read them back to front . Short course: The C standard mandates that programs start with the "C" locale. Python's setlocale() wrapper maintains that for the LC_NUMERIC category: no matter what you do from within Python, the LC_NUMERIC category remains in the "C" locale. This is precisely to prevent locale-dependent problems when parsing numeric literals, and to prevent locale-dependent results when, e.g., pickling or marshalling floats via their reprs. It's a hack, but it's usually effective. If LC_NUMERIC is anything other than "C" when Python is running, it must be because some non-Python part of the system called C's setlocale() itself. Then Python's belief that LC_NUMERIC is always "C" can be wrong, and bad things follow. The only *intended* way to get at locale-dependent numeric formats under Python is via functions in the locale module: >>> import locale >>> locale.setlocale(locale.LC_ALL, "German") 'German_Germany.1252' >>> print 1.1 # Python continues using "C" locale for LC_NUMERIC 1.1 >>> print locale.format("%g", 1.1) # but locale module uses "German" 1,1 >>> import string >>> print string.atof("1.1") # again Python uses "C" LC_NUMERIC 1.1 >>> print string.atof("1,1") # ditto Traceback (most recent call last): File "", line 1, in ? File "C:\CODE\PYTHON\lib\string.py", line 205, in atof return _float(s) ValueError: invalid literal for float(): 1,1 >>> print locale.atof("1,1") # but locale.atof uses "German" 1.1 >>> print locale.atof("1.1") # ouch, ouch, ouch 11.0 >>> print float("1.1") # all non-locale-module funcs use "C" 1.1 >>> print float("1,1") # ditto Traceback (most recent call last): File "", line 1, in ? ValueError: invalid literal for float(): 1,1 >>> This leads us closer to what must be going wrong, but I don't think gets us all the way there yet. From dcardoso at decidir.net Wed Jul 23 17:26:40 2003 From: dcardoso at decidir.net (Daniel Cardoso - Decidir Brasil) Date: Wed Jul 23 15:28:06 2003 Subject: [Spambayes] There was an error initializing the SpamBayes Message-ID: <7AE9FD7AFCAE874ABB189B24F0F0498D1343B6@epuyen.decidir.net> Ok. When? Do you know? Thanks! -----Original Message----- From: Adam Walker [mailto:adam.walker@rbwconsulting.com] Sent: Wednesday, July 23, 2003 1:29 PM To: 'Daniel Cardoso - Decidir Brasil'; spambayes@python.org Subject: RE: [Spambayes] There was an error initializing the SpamBayes Mark fixed a *similar* error (http://sourceforge.net/tracker/index.php?func=detail&aid=765242&group_id=61 702&atid=498103) a few days ago. It was on the encode side not decode. This is beyond my depth at the current time. You'll have to wait for Mark to address it. Sorry, Adam > -----Original Message----- > From: Daniel Cardoso - Decidir Brasil [mailto:dcardoso@decidir.net] > Sent: Wednesday, July 23, 2003 12:08 PM > To: 'adam.walker@rbwconsulting.com'; spambayes@python.org > Subject: RE: [Spambayes] There was an error initializing the SpamBayes > > Nope! > :-( > > > > Error connecting to Outlook! > Traceback (most recent call last): > File "out1.pyz/addin", line 848, in OnConnection > File "out1.pyz/manager", line 709, in GetManager > File "out1.pyz/manager", line 247, in __init__ > File "out1.pyz/manager", line 514, in LoadConfig > File "out1.pyz/ntpath", line 101, in join > UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 10: > ordinal not in range(128) > ERROR: 'There was an error initializing the SpamBayes addin\r\n\r\nPlease > re-start Outlook and try again.' > Traceback (most recent call last): > File "out1.pyz/addin", line 848, in OnConnection > File "out1.pyz/manager", line 709, in GetManager > File "out1.pyz/manager", line 247, in __init__ > File "out1.pyz/manager", line 514, in LoadConfig > File "out1.pyz/ntpath", line 101, in join > UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 10: > ordinal not in range(128) > > > Same error.....I think. > > > > Thank you. > > > Daniel. > > From adam.walker at rbwconsulting.com Wed Jul 23 17:50:48 2003 From: adam.walker at rbwconsulting.com (Adam Walker) Date: Wed Jul 23 16:51:19 2003 Subject: [Spambayes] There was an error initializing the SpamBayes In-Reply-To: <7AE9FD7AFCAE874ABB189B24F0F0498D1343B6@epuyen.decidir.net> Message-ID: <20030723205112.C690B13E249@sack.dreamhost.com> Sorry, I can't give you a timeframe. Spambayes is an opensource project whose developers donate their time. > -----Original Message----- > From: Daniel Cardoso - Decidir Brasil [mailto:dcardoso@decidir.net] > Sent: Wednesday, July 23, 2003 3:27 PM > To: 'adam.walker@rbwconsulting.com'; spambayes@python.org > Subject: RE: [Spambayes] There was an error initializing the SpamBayes > > Ok. > > When? Do you know? > > > Thanks! From Jal at nemuki.com Thu Jul 24 09:04:28 2003 From: Jal at nemuki.com (Jal@nemuki.com) Date: Wed Jul 23 18:17:03 2003 Subject: [Spambayes] Does the use of the program Message-ID: <43232776DFA6D411AF8F00D0B789CA6D108BDD@sbs01.nemuki.com> Hi Spambayes people. After the article in the SMH on your software i downloaded and installed spambayes for outlook. After a month the software seems to have dissappeared out of my system Is this a 30 trial version? THanks Jal Milne Nemuki Group DWBH Homewares, MYCC, & Nemuki Fashions 77 Victoria Street West End, Brisbane. Australia, 4101. Ph: 61- (0)7-3010 0500 Fx: 61- (0)7-3010 0555 From mhammond at skippinet.com.au Thu Jul 24 09:43:24 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Wed Jul 23 18:43:32 2003 Subject: [Spambayes] Filtering non-mail items: seems like a good idea In-Reply-To: Message-ID: <022601c3516b$d3e003d0$f502a8c0@eden> > Hmmm... I tried "Show spam clues for current message" on the NDR, and > it said "No mail items are selected". Which in at least one sense is > true: the icon next to the item in Outlook's window is not an envelope > but rather a tracking symbol (a tiny circle with a red > checkmark within > and some wavy lines streaming off to the right). Yep - they are the ones I was talking about as being only "internal". Clearly I was wrong to some extent at least. > I am suspecting that our corporate Exchange setup converts incoming > SMTP into proper Exchange objects before delivering them to > the server > from which I access my mail. In the Received headers I see things like > "CONVERSION-DAEMON" as the name of one of the internal relays, and > "Microsoft SMTPSVC" on another. If so, would this spoil the > distinction > between external and internal sources of NDR? I'm not sure. At the lowest level, we only process items with the MAPI class of "IPM.Note". All NDRs I have seem are "Report.Note....". Certainly if you can demonstrate that spam starts coming through with this new "feature" we had better rethink it. Mark. -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2344 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030724/7bebba5e/winmail.bin From mhammond at skippinet.com.au Thu Jul 24 10:09:03 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Wed Jul 23 19:09:10 2003 Subject: [Spambayes] Does the use of the program In-Reply-To: <43232776DFA6D411AF8F00D0B789CA6D108BDD@sbs01.nemuki.com> Message-ID: <023e01c3516f$69299b60$f502a8c0@eden> > Hi Spambayes people. > > After the article in the SMH on your software i downloaded > and installed spambayes for outlook. After a month the > software seems to have dissappeared out of my system Did they have my pic in that version too? They did in the Age version of the article. I wasn't expecting it at all - it scared me :) I haven't tried to find it online yet. > Is this a 30 trial version? Nope. Please see "about.html" in the \Program Files\spambayes directory, and navigate to the "troubleshooting" guide. It may simply be that the toolbar icons have vanished. I think I better put an item on one of the menus too - these toolbars are a PITA. Mark. -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 1904 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030724/68431b92/winmail.bin From mhammond at skippinet.com.au Thu Jul 24 10:11:08 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Wed Jul 23 19:11:18 2003 Subject: [Spambayes] There was an error initializing the SpamBayes In-Reply-To: <7AE9FD7AFCAE874ABB189B24F0F0498D1343B3@epuyen.decidir.net> Message-ID: <024201c3516f$b4e370d0$f502a8c0@eden> > Error connecting to Outlook! > Traceback (most recent call last): > File "out1.pyz/addin", line 848, in OnConnection > File "out1.pyz/manager", line 709, in GetManager > File "out1.pyz/manager", line 247, in __init__ > File "out1.pyz/manager", line 514, in LoadConfig > File "out1.pyz/ntpath", line 101, in join > UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in > position 10: > ordinal not in range(128) > ERROR: 'There was an error initializing the SpamBayes > addin\r\n\r\nPlease > re-start Outlook and try again.' This has me stumped - *flash* - unless you are running Win9x - are you? Mark. From T.A.Meyer at massey.ac.nz Thu Jul 24 11:53:53 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Wed Jul 23 21:05:33 2003 Subject: [Spambayes] Question (or possibly a bug report) Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F13027ABA9B@its-xchg4.massey.ac.nz> [Mark] > Does anyone know how I can provoke Python under an English > windows to think that the decimal point is other than a period? [Tim] > Surprise: you can't, not from Python. Reading the docs for > Python's locale module will help -- if you read them back to > front . [Python docs 6.26.2] > The setlocale() function in the locale module gives the Python > programmer the impression that you can manipulate the LC_NUMERIC > locale setting, but this not the case at the C level: C code will > always find that the LC_NUMERIC locale setting is "C". No doubt I should ask this on python-list not here, but since Tim would probably be the one to answer it anyway... :) Why does the setlocale() function give that impression? If LC_NUMERIC should always be "C", shouldn't setlocale(LC_NUMERIC, x) raise some sort of exception? > It's a hack, but it's usually effective. If LC_NUMERIC is > anything other than "C" when Python is running, it must be > because some non-Python part of the system called C's > setlocale() itself. Then Python's belief that LC_NUMERIC is > always "C" can be wrong, and bad things follow. Maybe Outlook is at fault here? I've certainly seen that some of the Outlook/COM/MAPI calls make changes to the locale. In particular, mapi.MAPILogonEx() does - it changes the locale to whatever Outlook (i.e. Windows) thinks it is. Could this then be screwing things up for us? =Tony Meyer From pgrange2002 at yahoo.com Wed Jul 23 19:40:41 2003 From: pgrange2002 at yahoo.com (Paul Grange) Date: Wed Jul 23 21:40:46 2003 Subject: [Spambayes] unistalling outlook source? Message-ID: <20030724014041.90832.qmail@web14913.mail.yahoo.com> Is it possible to uninstall the outlook source release? __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From tim.one at comcast.net Wed Jul 23 23:59:01 2003 From: tim.one at comcast.net (Tim Peters) Date: Wed Jul 23 22:59:39 2003 Subject: [Spambayes] Question (or possibly a bug report) In-Reply-To: <1ED4ECF91CDED24C8D012BCF2B034F13027ABA9B@its-xchg4.massey.ac.nz> Message-ID: [copying to Python-Dev because it relates to a recent thread there too] [Meyer, Tony] > No doubt I should ask this on python-list not here, but since Tim > would probably be the one to answer it anyway... :) Why does the > setlocale() function give that impression? If LC_NUMERIC should > always be "C", shouldn't setlocale(LC_NUMERIC, x) raise some sort of > exception? Reading the locale module docs should make it clearer. If it's still unclear after reading the docs, ask again . For a concrete example of why it's still useful to "pretend" to change LC_NUMERIC, see below (the locale module functions are sensitive to the change, and the code below couldn't be written otherwise). > Maybe Outlook is at fault here? I've certainly seen that some of the > Outlook/COM/MAPI calls make changes to the locale. In particular, > mapi.MAPILogonEx() does - it changes the locale to whatever Outlook > (i.e. Windows) thinks it is. Could this then be screwing things up > for us? Oh yes. A .pyc file contains a compiled form of Python code objects. Part of what's in a .pyc file is the "marshal" form of numeric literals referenced by the source code. It so happens that marshal stores float literals as strings (repr-style). The unmarshaling code (executed when a .pyc file is loaded) is written in C, and uses C's atof() to convert these strings back to C doubles. atof() is locale-sensitive, so can screw up royally if LC_NUMERIC isn't "C" at the time a module is loaded. Here's a little program we can use to predict this kind of damage: """ import marshal, locale def damage(afloat, lcnumeric): s = marshal.dumps(afloat) print repr(afloat), "->", repr(s) # Now emulate unmarshaling that under a given locale. # Strip the type code and byte count. assert s[0] == 'f' raw = s[2:] print "Under locale %r that loads as" % lcnumeric, locale.setlocale(locale.LC_NUMERIC, lcnumeric) print repr(locale.atof(raw)) locale.setlocale(locale.LC_NUMERIC, "C") """ For example, running damage(0.001, "German") displays: """ 0.001 -> 'f\x050.001' Under locale 'German' that loads as 1.0 """ while damage(0.001, "C") displays what Python needs to happen instead: """ 0.001 -> 'f\x050.001' Under locale 'C' that loads as 0.001 """ So all kinds of bad things *can* happen. I'm still baffled by the spambayes logfile, though, because the failing assert is here: def set_stages(self, stages): self.stages = [] start_pos = 0.0 for name, prop in stages: stage = name, start_pos, prop start_pos += prop self.stages.append(stage) assert (abs(start_pos-1.0)) < 0.001, \ "Proportions must add to 1.0 (%g,%r)" % (start_pos, stages) and the failing call is here: self.set_stages( (("", 1.0),) ) Under a locale that ignores periods, string -> double 0.0 -> 0.0 1.0 -> 10.0 0.001 -> 1.0 So the assert above would act like assert (abs(start_pos-10.0)) < 1.0, \ and the call would act like self.set_stages( (("", 10.0),) ) start_pos - 10.0 would still be 0 then, and the assert should not fail. >From the logfile, we also know that start_pos was actually 1.0 in the failing case, and that the "1.0" at the call site also loaded as expected: AssertionError: Proportions must add to 1.0 (1,(('', 1.0),)) If the literals in this line alone got screwed up: assert (abs(start_pos-1.0)) < 0.001, \ that would fit all the symptoms. Then start_pos would be 1.0, 10.0 would get subtracted from that, and 9.0 is not less than 1.0. So we should change the assert to show us also the value of start_pos-1.0. If that's -9.0, I'll be baffled for a different reason. PS: For fun, look at what this displays: damage(0.1, "German") If you guessed 1.0 was the final loaded result, you're not even close to the right universe . From T.A.Meyer at massey.ac.nz Thu Jul 24 16:22:26 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Wed Jul 23 23:23:11 2003 Subject: [Spambayes] unistalling outlook source? Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F13027ABC1D@its-xchg4.massey.ac.nz> > Is it possible to uninstall the outlook source release? >From PythonWin or a console window ('DOS prompt'/'Command window'), run addin.py --unregister =Tony Meyer From robert at imagine.co.uk Thu Jul 24 06:37:10 2003 From: robert at imagine.co.uk (Robert Neuschul) Date: Thu Jul 24 00:37:05 2003 Subject: [Spambayes] Web UI features request: multi-select on the Review page Message-ID: Have I missed something? With an average day's mail being some 600+ items, having to select and click items individually in the Review page is a chore. Multi-select in forms is fairly standard HTML as far as I can recall - any chance it can be turned on? Thanks, Robert. From robert at imagine.co.uk Thu Jul 24 06:37:09 2003 From: robert at imagine.co.uk (Robert Neuschul) Date: Thu Jul 24 00:37:16 2003 Subject: [Spambayes] Not a bug, but it may be problematic .... Message-ID: If one is using the web UI to review at the same time that a mail collection is taking place then the connection will pause whenever one presses the "train" button until Spambayes has completed its data store procedures and refreshed the screen. In most situations this is probably fine, but some clients and some ISPs servers can be somewhat sensitive to such interuptions and see such pauses as timeouts. This seems to be particularly sensitive where the current [paused] mail message contains large MIME attachments. From jonmarr at verizon.net Wed Jul 23 23:06:00 2003 From: jonmarr at verizon.net (Jon Marr) Date: Thu Jul 24 01:06:19 2003 Subject: [Spambayes] Wonderful! Message-ID: Just wanted to say thanks! SpamBayes is working perfectly for me; since day one it's nailed every spam message without a single false positive. Previously I had used Cloudmark's spam tool, but balked when it became a subscription service. Luckily SpamBayes is far superior and catches many messages that Cloudmark missed. Again thanks for your efforts. I've done quite a bit of python scripting in the past, and always get excited when I discover useful tools written in it. Your's is the best! Jon Marr From T.A.Meyer at massey.ac.nz Thu Jul 24 19:44:44 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Thu Jul 24 02:45:43 2003 Subject: [Spambayes] Web UI features request: multi-select on the Review page Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F13027ABCFA@its-xchg4.massey.ac.nz> > Have I missed something? > With an average day's mail being some 600+ items, having to > select and click items individually in the Review page is a chore. > Multi-select in forms is fairly standard HTML as far as I can > recall - any chance it can be turned on? I'm not sure what you are asking for here. What do you mean 'multi-select'? * You can definitely select more than one item at a time (in fact you can't select only one). * You can make everything be selected as ham/spam/defer/discard with a single click: "Click one of the Discard / Defer / Ham / Spam headers to check all of the buttons in that section in one go". * Plus it defaults to training as whatever it was classified as, so you only need to change those that it got wrong, or defer/discard those that you don't want to train for some reason. =Tony Meyer From T.A.Meyer at massey.ac.nz Thu Jul 24 20:46:46 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Thu Jul 24 03:47:41 2003 Subject: [Spambayes] RE: Spambayes not setting msgs to read Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F13027ABD05@its-xchg4.massey.ac.nz> > I located the html file which instructed me to add certain > entries to my INI > file to enable setting the read status when marking email as spam. [...] > However, it still does not change an unread msg to read when > I move it to the spam folder. How are you moving it? With the delete as spam button, or dragging it? If you're dragging it then SpamBayes doesn't mark it as read. (Whether it *should* or not is another issue which Mark would be the one to answer). If you are using the button then it should be marked as read - if it isn't, then you probably need to go through the filing a bug report business & attaching your log. (However, see below). > And, as I wrote the list, Spambayes now does not seems to > save its settings and when I exit and restart Outlook, > Spambayes has to be re-configured to enable and start filtering. Your log file would probably provide the necessary clues here. I suspect that something in the config file is now invalid and so it isn't being loaded. If it continually happens it might be that the file is being updated, but not corrected. Then again, I note that there have been a few bug reports lately about config files not saving - I haven't been paying enough attention to these to say what the answer is, is there is one (take a look at the reported bugs on sourceforge). You could also try deleting the config file and letting Outlook create it from scratch. > PS - does it matter if there is a space between the colon and > the setting? > For example, "enabled:True" or "enabled: True" No, it makes no difference at all. "enabled = True" would also work. =Tony Meyer From jaroslav.brandis at softec.sk Thu Jul 24 12:01:56 2003 From: jaroslav.brandis at softec.sk (Brandis Jaroslav) Date: Thu Jul 24 05:02:07 2003 Subject: [Spambayes] Missed messages ? Message-ID: <5E415169BC383A4EB17C22078E27D5B250167D@dcba01.softec.sk> Hello ... I've installed spambayes 005 binaries for outlook and after that I rebuild db. But spambayes is miss some messages. When I run Show spam clue for current message a get spam score 1 for missed message. Is it correct to leave that message untouched ? certain spam in spam manager is set to 90. From robert at imagine.co.uk Thu Jul 24 11:30:12 2003 From: robert at imagine.co.uk (Robert Neuschul) Date: Thu Jul 24 05:29:57 2003 Subject: [Spambayes] Web UI features request: multi-select on the Review page In-Reply-To: <1ED4ECF91CDED24C8D012BCF2B034F13027ABCFA@its-xchg4.massey.ac.nz> References: <1ED4ECF91CDED24C8D012BCF2B034F13027ABCFA@its-xchg4.massey.ac.nz> Message-ID: Tony In article <1ED4ECF91CDED24C8D012BCF2B034F13027ABCFA@its-xchg4.massey.ac.nz>, Tony Meyer wrote: > I'm not sure what you are asking for here. What do you mean > 'multi-select'? I mean that the Web UI should operate as a valid W3C compliant HTML form. > * You can definitely select more than one item at a time (in fact you > can't select only one). Of course you can select only one: the form opens with all of the items in the Review in their relevant pre-assigned categories and asks you to either accept all of those assignations, or go through and individually alter each selection [mail item] by altering them [clicking on them] one at a time. There is no mechanism to [on a PC] allow for the use of Ctrl Click or Shift-Ctrl Click to select sets of user selections from within the Spambayes assigned sets and then reset all those selected to a different category e.g. setting several of those currently set as ham to spam or vice versa as a single operation. > * You can make everything be selected as ham/spam/defer/discard with a > single click: "Click one of the Discard / Defer / Ham / Spam headers to > check all of the buttons in that section in one go". That is not a valid interpretation of multi-select under the W3C HTML 4 standards. A multi-select is precisely what it says: a users' multiple selection from within the existing categories, not an all or nothing acceptance/rejection/alteration of all of them. In simpler english Spambayes presents messages incoming cached messages under three possible category headings [spam, ham, defer]. It is not currently possible to alter a group of items [a sub-select] presented in any one of those categories to a different setting as a single operation. This is both tedious and labour intensive. > * Plus it defaults to training as whatever it was classified as, so you > only need to change those that it got wrong, or defer/discard those that > you don't want to train for some reason. Precisely: with several hundred messages, needing to select several dozens of messages individually from within a few hundred preset items is a royal pain. Robert From dcardoso at decidir.net Thu Jul 24 12:57:54 2003 From: dcardoso at decidir.net (Daniel Cardoso - Decidir Brasil) Date: Thu Jul 24 10:59:19 2003 Subject: [Spambayes] There was an error initializing the SpamBayes Message-ID: <7AE9FD7AFCAE874ABB189B24F0F0498D1343BB@epuyen.decidir.net> No. I am using windows 2000 server. C:\>ver Microsoft Windows 2000 [Version 5.00.2195] C:\> With Microsoft Outlook 2000 (9.0.2711) Thanks! -----Original Message----- From: Mark Hammond [mailto:mhammond@skippinet.com.au] Sent: Wednesday, July 23, 2003 8:11 PM To: 'Daniel Cardoso - Decidir Brasil'; spambayes@python.org Subject: RE: [Spambayes] There was an error initializing the SpamBayes > Error connecting to Outlook! > Traceback (most recent call last): > File "out1.pyz/addin", line 848, in OnConnection > File "out1.pyz/manager", line 709, in GetManager > File "out1.pyz/manager", line 247, in __init__ > File "out1.pyz/manager", line 514, in LoadConfig > File "out1.pyz/ntpath", line 101, in join > UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in > position 10: > ordinal not in range(128) > ERROR: 'There was an error initializing the SpamBayes > addin\r\n\r\nPlease > re-start Outlook and try again.' This has me stumped - *flash* - unless you are running Win9x - are you? Mark. From ahadzega at adelphia.net Thu Jul 24 12:56:24 2003 From: ahadzega at adelphia.net (Angela Hadzega) Date: Thu Jul 24 12:01:48 2003 Subject: [Spambayes] Install Help Message-ID: I'm trying to install Pythonwin for the first time and have tried three different versions. No matter which one I try I basically get the same error. "The version is not installed on this computer. You can find it at www.python.org ." I'm a bit confused. Can anyone assist me? __________________________________________ Angela Hadzega Business Manager Community Nursing Services of North East www.northeastnurses.com ahadzega@adelphia.net Voice: (814) 725-4300 Fax: (814) 725-4664 Confidentiality Notice: This transmission and the documents accompanying this transmission contain confidential health information that is legally privileged. This information is intended only for use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party unless required to do so by law or regulation and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance on the contents of these documents is strictly prohibited. If you have received this information in error, please notify the sender immediately and arrange for the return or destruction of these documents. From pbharrison at compuserve.com Thu Jul 24 10:38:34 2003 From: pbharrison at compuserve.com (Peter B. Harrison, MD) Date: Thu Jul 24 12:38:25 2003 Subject: [Spambayes] spambayes does not process outlook incoming messages at startup Message-ID: When I first start up in the morning, now that I have cable modem, mail arrives in the inbox without being assigned a spam score by spambayes (1.004 - Outlook Addin Beta1, binary version 3). This seems to be a timing issue since it only occurs when I first start up Outlook, and perhaps is during initialization of the addin. It seems that only the first 10 or so messages have this problem, presumably depending on size etc. Any clues? For a workaround, I can stop the initial fetch of mail, but this is not optimal. Peter Harrison. From HWKMueller at t-online.de Thu Jul 24 21:23:30 2003 From: HWKMueller at t-online.de (=?iso-8859-1?Q?Hans_Werner_M=FCller?=) Date: Thu Jul 24 14:22:33 2003 Subject: [Spambayes] error in spambayes Message-ID: below the log-file; in the training-phase it doesn't write the database: out1.pyz/fcntl:7: DeprecationWarning: the FCNTL module is deprecated; please use fcntl Loaded bayes database from 'C:\Dokumente und Einstellungen\Hans Werner M?ller\Anwendungsdaten\SpamBayes\default_bayes_database.db' Loaded message database from 'C:\Dokumente und Einstellungen\Hans Werner M?ller\Anwendungsdaten\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages SpamBayes Outlook Addin (beta), version 0.4 (July 2003) starting (with engine SpamBayes Beta2, version 0.2 (July 2003))... On Windows version 5.1.2600 (Service Pack 1) Checked 181 in folder OK - 181 new entries found. Checked 392 in folder Spam - 392 new entries found. Saving bayes database with 392 spam and 181 good messages -> Exception in thread Thread-1: Traceback (most recent call last): File "out1.pyz/threading", line 436, in __bootstrap File "out1.pyz/threading", line 416, in run File "out1.pyz/dialogs.AsyncDialog", line 167, in thread_target File "out1.pyz/dialogs.TrainingDialog", line 132, in _DoProcess File "out1.pyz/train", line 149, in trainer File "out1.pyz/manager", line 637, in Save File "out1.pyz/manager", line 613, in SaveBayes UnicodeEncodeError: 'ascii' codec can't encode character '\ufc' in position 44: ordinal not in range(128) From david.waite at thomson.com Thu Jul 24 16:23:03 2003 From: david.waite at thomson.com (Waite, David) Date: Thu Jul 24 15:23:42 2003 Subject: FW: [Spambayes] Configuration doesn't save Message-ID: <0F8758E7EC761342A0EFB6675FFFCAE704839973@SALESMAIL1> Mark - The 005 binary fixed the problem of the configuration not being saved. Thanks. - DW - -----Original Message----- From: Mark Hammond [mailto:mhammond@skippinet.com.au] Sent: Tuesday, July 22, 2003 10:25 AM To: 'Waite, David'; spambayes@python.org Subject: RE: [Spambayes] Configuration doesn't save Try the new 005 binary. Mark. > -----Original Message----- > From: spambayes-bounces@python.org > [mailto:spambayes-bounces@python.org]On Behalf Of Waite, David > Sent: Wednesday, 23 July 2003 12:07 AM > To: 'spambayes@python.org' > Subject: [Spambayes] Configuration doesn't save > > > I've read all the files and guides and I'm still lost. > > I installed the binary version of the Outlook add-in on a Windows 2000 > machine running Outlook 2000. When I shutdown and restart, I > have to reenter > the filters every time. Messages in the log file indicate some problem > writing the configuration file, but I don't know what to do next. > > - DW - > > > <> > From MDraper at CapCityIns.com Thu Jul 24 17:04:08 2003 From: MDraper at CapCityIns.com (Mitch Draper) Date: Thu Jul 24 16:07:50 2003 Subject: [Spambayes] Possible Bug (minor) Message-ID: <2FD4636CEFD5D411B7AA00508B9AECCA01ACF06E@csccisex00.capitalcityinsurance.com> I recently added SpamBayes into my Outlook 2000. Since that time, whenever I open a new message and then close it, it does not mark a "read" until I do it a second time. This does not happen if I reply or forward the message, or if I leave the message open for a very long period of time, but all other situations keep the message as "unread". It does not matter in which folder I am viewing the message. From MingChan at excite.com Thu Jul 24 14:57:21 2003 From: MingChan at excite.com (MingChan@excite.com) Date: Thu Jul 24 16:58:37 2003 Subject: [Spambayes] An Unforgetable Vacation Message-ID: <416-22003742420572115@edgar> Have you seen the wonders of Orlando, Florida? Imagine spending your next vacation in the most beautiful vacation destination this country has to offer. Spend time with your kids in one or more of the numerous parks such as Disney World's Epcot Center, Universal Studios Florida, Sea World, and many more. You will have the vacation of a lifetime. Plus, we'll even tell you about other options such as Pasco County, FL, known as a part of the "Nature Coast", and Atlanta Georgia, the jewel of the south, with its fabulous shopping and sightseeing. This is something that you shouldn't miss out on. Just fill in the information below, and we will have a representative contact you shortly, with options for you to choose from. If you don't like what you are hearing, then you always have the option to turn it down. But don't deprive yourself of at least hearing about the wonderful opportunities you may have in seeing a world that you just dream about. Must be US resident, and 18-years-old. Please respond back with your name and phone number. Removal Instructions: To be removed from this list, please reply with "remove" in the subject line. From mhammond at skippinet.com.au Fri Jul 25 10:18:06 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Thu Jul 24 19:18:22 2003 Subject: [Spambayes] Install Help In-Reply-To: Message-ID: <020c01c35239$d722c720$f502a8c0@eden> > I'm trying to install Pythonwin for the first time and have > tried three > different versions. No matter which one I try I basically > get the same > error. "The version is not installed on this computer. You > can find it at > www.python.org ." I'm a bit > confused. Can anyone > assist me? You must install Python itself - www.python.org. You should choose either version 2.2.3 or the beta Python 2.3. Once you have installed that, you go to http://starship.python.net/crew/mhammond/win32 to grab "win32all" - you must make sure you grab the version for your version of Python - the page is pretty clear. Note that you do *not* need to do any of this to run SpamBayes. The only time you need to do this for SpamBayes is if you have a problem that prevents you running one of the binary releases, and you want to run from the source code. Mark. From help at maitlandcp.com Thu Jul 24 20:52:30 2003 From: help at maitlandcp.com (David Jackson) Date: Thu Jul 24 19:53:14 2003 Subject: [Spambayes] SpamBayes causes the same email messages to download repeatedly. Message-ID: <000a01c3523e$a4c9e290$a701a8c0@dj2klap> Someone please tell me why I keep downloading the same email from my POP mailbox when SPAM Bayes Filtering is enabled. The email comes down and is immediately moved to the correct SPAM folder. However, the same email is downloaded every time I "Send/Receive". version of Windows - Windows 2000 Pro, Office's Outlook XP the version of SpamBayes - SpamBayes-Outlook-Setup-005.exe (lastest try), and SpamBayes-Outlook-Setup-003.exe (earlier attempt) log files - log files are attached. Here is an excerpt from a log file that shows what I am talking about, I think. "Message 'WIN A Reading Program - Kids 12 and under' had a Spam classification of 'Yes' Message 'Mailing Online -- Job '857-957'' had a Spam classification of 'No' Message 'TEAC DVD-R/RW Drive, CD-ROM Drive Special!!' had a Spam classification of 'Yes' Message 'WIN A Reading Program - Kids 12 and under' had a Spam classification of 'Yes' Message 'TEAC DVD-R/RW Drive, CD-ROM Drive Special!!' had a Spam classification of 'Yes' Message 'WIN A Reading Program - Kids 12 and under' had a Spam classification of 'Yes' Message 'TEAC DVD-R/RW Drive, CD-ROM Drive Special!!' had a Spam classification of 'Yes' Message 'WIN A Reading Program - Kids 12 and under' had a Spam classification of 'Yes' Message 'TEAC DVD-R/RW Drive, CD-ROM Drive Special!!' had a Spam classification of 'Yes' Message 'WIN A Reading Program - Kids 12 and under' had a Spam classification of 'Yes' Message 'TEAC DVD-R/RW Drive, CD-ROM Drive Special!!' had a Spam classification of 'Yes' SpamBayes - Disconnecting from Outlook Bayes database is not dirty - not writing SpamBayes processed 11 messages, finding 10 spam and 0 unsure Addin terminating: 1 COM client and 2 COM servers exist." Thanks David Jackson, MCSE, Net+, A+ Maitland Computer Pros www.maitlandcp.com ( 407) 628-1919 From T.A.Meyer at massey.ac.nz Fri Jul 25 13:09:19 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Thu Jul 24 20:10:06 2003 Subject: [Spambayes] Install Help Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F13027ABE8C@its-xchg4.massey.ac.nz> > Note that you do *not* need to do any of this to run > SpamBayes. ~~~~~~~~~ Well, you do *not* need to do any of this to run the SpamBayes Outlook plug-in...you *do* need to do the first bit (install Python) to run anything else, at the moment. =Tony Meyer From lhb at elp.rr.com Thu Jul 24 19:12:29 2003 From: lhb at elp.rr.com (Lee Burkholder) Date: Thu Jul 24 21:12:37 2003 Subject: [Spambayes] about Message-ID: <000101c35249$d2002160$6401a8c0@notebook> We seem to have a problem with sorting spam. I have taught the system how to recognize spam emails. however i am still getting spam in the good mail folder. I would appreciate if you could direct me to the correct instruction or provide some kind of assistance Thank you Lee burkholder leehb@sbcglobal.net From tim.one at comcast.net Thu Jul 24 22:44:39 2003 From: tim.one at comcast.net (Tim Peters) Date: Thu Jul 24 21:45:16 2003 Subject: [Spambayes] SpamBayes causes the same email messages to downloadrepeatedly. In-Reply-To: <000a01c3523e$a4c9e290$a701a8c0@dj2klap> Message-ID: [David Jackson] > Someone please tell me why I keep downloading the same email from my > POP mailbox when SPAM Bayes Filtering is enabled. The email comes > down and is immediately moved to the correct SPAM folder. However, > the same email is downloaded every time I "Send/Receive". > > version of Windows - Windows 2000 Pro, Office's Outlook XP > > the version of SpamBayes - SpamBayes-Outlook-Setup-005.exe (lastest > try), and SpamBayes-Outlook-Setup-003.exe (earlier attempt) Heh -- Windows is just chock full o' surprises! As far as I know, nobody has ever reported this problem before. I entered a bug report for you here (you'll probably have to paste the URL together again): http://sf.net/tracker/index.php?func=detail&aid=777314&group_id=61702&atid=4 98103 > log files - log files are attached. No attachments arrived. It may (or may not) help to know if you have any "unusual" options set in your POP provider's Outlook account (for example, perhaps you have the "Leave a copy of messages on the server" box checked). From mhammond at skippinet.com.au Fri Jul 25 12:49:55 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Thu Jul 24 21:50:13 2003 Subject: [Spambayes] about In-Reply-To: <000101c35249$d2002160$6401a8c0@notebook> Message-ID: <001601c3524f$0cdba0c0$f502a8c0@eden> If you are using the Outlook addin, you should see the "troubleshooting guide" - available via the SpamBayes "About" button. This has info for diagnosing these problems. Mark. > -----Original Message----- > From: spambayes-bounces@python.org > [mailto:spambayes-bounces@python.org]On Behalf Of Lee Burkholder > Sent: Freitag, 25. Juli 2003 11:12 > To: spambayes@python.org > Subject: [Spambayes] about > > > We seem to have a problem with sorting spam. I have taught the system > how to recognize spam emails. however i am still getting spam in the > good mail folder. I would appreciate if you could direct me to the > correct instruction or provide some kind of assistance > > Thank you > > Lee burkholder > leehb@sbcglobal.net > _______________________________________________ > Spambayes mailing list > Spambayes@python.org > http://mail.python.org/mailman/listinfo/spambayes From help at maitlandcp.com Thu Jul 24 23:20:44 2003 From: help at maitlandcp.com (David Jackson) Date: Thu Jul 24 22:21:33 2003 Subject: [Spambayes] RE: Spambayes Digest, Vol 59, Issue 56 In-Reply-To: Message-ID: <000001c35253$5ab684a0$a701a8c0@dj2klap> Messages 8 and 11, Sorry I failed to include attahcements for my problem. Here they are. Also I have my setting to NOT LEAVE a copy on the server, I checked that one! Thanks again -----Original Message----- From: spambayes-bounces+davidj411=yahoo.com@python.org [mailto:spambayes-bounces+davidj411=yahoo.com@python.org] On Behalf Of spambayes-request@python.org Sent: Thursday, July 24, 2003 9:51 PM To: spambayes@python.org Subject: Spambayes Digest, Vol 59, Issue 56 Send Spambayes mailing list submissions to spambayes@python.org To subscribe or unsubscribe via the World Wide Web, visit http://mail.python.org/mailman/listinfo/spambayes or, via email, send a message with subject or body 'help' to spambayes-request@python.org You can reach the person managing the list at spambayes-owner@python.org When replying, please edit your Subject line so it is more specific than "Re: Contents of Spambayes digest..." Today's Topics: 1. Install Help (Angela Hadzega) 2. spambayes does not process outlook incoming messages at startup (Peter B. Harrison, MD) 3. error in spambayes ( Hans Werner M?ller ) 4. FW: [Spambayes] Configuration doesn't save (Waite, David) 5. Possible Bug (minor) (Mitch Draper) 6. An Unforgetable Vacation (MingChan@excite.com) 7. RE: Install Help (Mark Hammond) 8. SpamBayes causes the same email messages to download repeatedly. (David Jackson) 9. RE: Install Help (Meyer, Tony) 10. about (Lee Burkholder) 11. RE: SpamBayes causes the same email messages to downloadrepeatedly. (Tim Peters) 12. RE: about (Mark Hammond) ---------------------------------------------------------------------- Message: 1 Date: Thu, 24 Jul 2003 11:56:24 -0400 From: "Angela Hadzega" Subject: [Spambayes] Install Help To: Message-ID: Content-Type: text/plain; charset="us-ascii" I'm trying to install Pythonwin for the first time and have tried three different versions. No matter which one I try I basically get the same error. "The version is not installed on this computer. You can find it at www.python.org ." I'm a bit confused. Can anyone assist me? __________________________________________ Angela Hadzega Business Manager Community Nursing Services of North East www.northeastnurses.com ahadzega@adelphia.net Voice: (814) 725-4300 Fax: (814) 725-4664 Confidentiality Notice: This transmission and the documents accompanying this transmission contain confidential health information that is legally privileged. This information is intended only for use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party unless required to do so by law or regulation and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance on the contents of these documents is strictly prohibited. If you have received this information in error, please notify the sender immediately and arrange for the return or destruction of these documents. ------------------------------ Message: 2 Date: Thu, 24 Jul 2003 09:38:34 -0700 From: "Peter B. Harrison, MD" Subject: [Spambayes] spambayes does not process outlook incoming messages at startup To: "Spambayes" Message-ID: Content-Type: text/plain; charset="iso-8859-1" When I first start up in the morning, now that I have cable modem, mail arrives in the inbox without being assigned a spam score by spambayes (1.004 - Outlook Addin Beta1, binary version 3). This seems to be a timing issue since it only occurs when I first start up Outlook, and perhaps is during initialization of the addin. It seems that only the first 10 or so messages have this problem, presumably depending on size etc. Any clues? For a workaround, I can stop the initial fetch of mail, but this is not optimal. Peter Harrison. ------------------------------ Message: 3 Date: Thu, 24 Jul 2003 20:23:30 +0200 From: HWKMueller@t-online.de ( Hans Werner M?ller ) Subject: [Spambayes] error in spambayes To: Message-ID: Content-Type: text/plain; charset="iso-8859-1" below the log-file; in the training-phase it doesn't write the database: out1.pyz/fcntl:7: DeprecationWarning: the FCNTL module is deprecated; please use fcntl Loaded bayes database from 'C:\Dokumente und Einstellungen\Hans Werner M?ller\Anwendungsdaten\SpamBayes\default_bayes_database.db' Loaded message database from 'C:\Dokumente und Einstellungen\Hans Werner M?ller\Anwendungsdaten\SpamBayes\default_message_database.db' Bayes database initialized with 0 spam and 0 good messages SpamBayes Outlook Addin (beta), version 0.4 (July 2003) starting (with engine SpamBayes Beta2, version 0.2 (July 2003))... On Windows version 5.1.2600 (Service Pack 1) Checked 181 in folder OK - 181 new entries found. Checked 392 in folder Spam - 392 new entries found. Saving bayes database with 392 spam and 181 good messages -> Exception in thread Thread-1: Traceback (most recent call last): File "out1.pyz/threading", line 436, in __bootstrap File "out1.pyz/threading", line 416, in run File "out1.pyz/dialogs.AsyncDialog", line 167, in thread_target File "out1.pyz/dialogs.TrainingDialog", line 132, in _DoProcess File "out1.pyz/train", line 149, in trainer File "out1.pyz/manager", line 637, in Save File "out1.pyz/manager", line 613, in SaveBayes UnicodeEncodeError: 'ascii' codec can't encode character '\ufc' in position 44: ordinal not in range(128) ------------------------------ Message: 4 Date: Thu, 24 Jul 2003 15:23:03 -0400 From: "Waite, David" Subject: FW: [Spambayes] Configuration doesn't save To: "'spambayes@python.org'" Message-ID: <0F8758E7EC761342A0EFB6675FFFCAE704839973@SALESMAIL1> Content-Type: text/plain; charset="ISO-8859-1" Mark - The 005 binary fixed the problem of the configuration not being saved. Thanks. - DW - -----Original Message----- From: Mark Hammond [mailto:mhammond@skippinet.com.au] Sent: Tuesday, July 22, 2003 10:25 AM To: 'Waite, David'; spambayes@python.org Subject: RE: [Spambayes] Configuration doesn't save Try the new 005 binary. Mark. > -----Original Message----- > From: spambayes-bounces@python.org > [mailto:spambayes-bounces@python.org]On Behalf Of Waite, David > Sent: Wednesday, 23 July 2003 12:07 AM > To: 'spambayes@python.org' > Subject: [Spambayes] Configuration doesn't save > > > I've read all the files and guides and I'm still lost. > > I installed the binary version of the Outlook add-in on a Windows 2000 > machine running Outlook 2000. When I shutdown and restart, I have to > reenter the filters every time. Messages in the log file indicate some > problem writing the configuration file, but I don't know what to do > next. > > - DW - > > > <> > ------------------------------ Message: 5 Date: Thu, 24 Jul 2003 16:04:08 -0400 From: Mitch Draper Subject: [Spambayes] Possible Bug (minor) To: "'spambayes@python.org'" Message-ID: <2FD4636CEFD5D411B7AA00508B9AECCA01ACF06E@csccisex00.capitalcityinsuranc e.com> Content-Type: text/plain; charset="iso-8859-1" I recently added SpamBayes into my Outlook 2000. Since that time, whenever I open a new message and then close it, it does not mark a "read" until I do it a second time. This does not happen if I reply or forward the message, or if I leave the message open for a very long period of time, but all other situations keep the message as "unread". It does not matter in which folder I am viewing the message. ------------------------------ Message: 6 Date: Thu, 24 Jul 2003 13:57:21 -0700 From: "" Subject: [Spambayes] An Unforgetable Vacation To: spambayes@python.org Message-ID: <416-22003742420572115@edgar> Content-Type: text/plain; charset=windows-1252 Have you seen the wonders of Orlando, Florida? Imagine spending your next vacation in the most beautiful vacation destination this country has to offer. Spend time with your kids in one or more of the numerous parks such as Disney World's Epcot Center, Universal Studios Florida, Sea World, and many more. You will have the vacation of a lifetime. Plus, we'll even tell you about other options such as Pasco County, FL, known as a part of the "Nature Coast", and Atlanta Georgia, the jewel of the south, with its fabulous shopping and sightseeing. This is something that you shouldn't miss out on. Just fill in the information below, and we will have a representative contact you shortly, with options for you to choose from. If you don't like what you are hearing, then you always have the option to turn it down. But don't deprive yourself of at least hearing about the wonderful opportunities you may have in seeing a world that you just dream about. Must be US resident, and 18-years-old. Please respond back with your name and phone number. Removal Instructions: To be removed from this list, please reply with "remove" in the subject line. ------------------------------ Message: 7 Date: Fri, 25 Jul 2003 09:18:06 +1000 From: "Mark Hammond" Subject: RE: [Spambayes] Install Help To: "'Angela Hadzega'" , Message-ID: <020c01c35239$d722c720$f502a8c0@eden> Content-Type: text/plain; charset="us-ascii" > I'm trying to install Pythonwin for the first time and have > tried three > different versions. No matter which one I try I basically > get the same > error. "The version is not installed on this computer. You > can find it at > www.python.org ." I'm a bit > confused. Can anyone > assist me? You must install Python itself - www.python.org. You should choose either version 2.2.3 or the beta Python 2.3. Once you have installed that, you go to http://starship.python.net/crew/mhammond/win32 to grab "win32all" - you must make sure you grab the version for your version of Python - the page is pretty clear. Note that you do *not* need to do any of this to run SpamBayes. The only time you need to do this for SpamBayes is if you have a problem that prevents you running one of the binary releases, and you want to run from the source code. Mark. ------------------------------ Message: 8 Date: Thu, 24 Jul 2003 19:52:30 -0400 From: "David Jackson" Subject: [Spambayes] SpamBayes causes the same email messages to download repeatedly. To: Message-ID: <000a01c3523e$a4c9e290$a701a8c0@dj2klap> Content-Type: text/plain; charset="us-ascii" Someone please tell me why I keep downloading the same email from my POP mailbox when SPAM Bayes Filtering is enabled. The email comes down and is immediately moved to the correct SPAM folder. However, the same email is downloaded every time I "Send/Receive". version of Windows - Windows 2000 Pro, Office's Outlook XP the version of SpamBayes - SpamBayes-Outlook-Setup-005.exe (lastest try), and SpamBayes-Outlook-Setup-003.exe (earlier attempt) log files - log files are attached. Here is an excerpt from a log file that shows what I am talking about, I think. "Message 'WIN A Reading Program - Kids 12 and under' had a Spam classification of 'Yes' Message 'Mailing Online -- Job '857-957'' had a Spam classification of 'No' Message 'TEAC DVD-R/RW Drive, CD-ROM Drive Special!!' had a Spam classification of 'Yes' Message 'WIN A Reading Program - Kids 12 and under' had a Spam classification of 'Yes' Message 'TEAC DVD-R/RW Drive, CD-ROM Drive Special!!' had a Spam classification of 'Yes' Message 'WIN A Reading Program - Kids 12 and under' had a Spam classification of 'Yes' Message 'TEAC DVD-R/RW Drive, CD-ROM Drive Special!!' had a Spam classification of 'Yes' Message 'WIN A Reading Program - Kids 12 and under' had a Spam classification of 'Yes' Message 'TEAC DVD-R/RW Drive, CD-ROM Drive Special!!' had a Spam classification of 'Yes' Message 'WIN A Reading Program - Kids 12 and under' had a Spam classification of 'Yes' Message 'TEAC DVD-R/RW Drive, CD-ROM Drive Special!!' had a Spam classification of 'Yes' SpamBayes - Disconnecting from Outlook Bayes database is not dirty - not writing SpamBayes processed 11 messages, finding 10 spam and 0 unsure Addin terminating: 1 COM client and 2 COM servers exist." Thanks David Jackson, MCSE, Net+, A+ Maitland Computer Pros www.maitlandcp.com ( 407) 628-1919 ------------------------------ Message: 9 Date: Fri, 25 Jul 2003 12:09:19 +1200 From: "Meyer, Tony" Subject: RE: [Spambayes] Install Help To: "Angela Hadzega" , Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F13027ABE8C@its-xchg4.massey.ac.nz> Content-Type: text/plain; charset="us-ascii" > Note that you do *not* need to do any of this to run > SpamBayes. ~~~~~~~~~ Well, you do *not* need to do any of this to run the SpamBayes Outlook plug-in...you *do* need to do the first bit (install Python) to run anything else, at the moment. =Tony Meyer ------------------------------ Message: 10 Date: Thu, 24 Jul 2003 18:12:29 -0700 From: "Lee Burkholder" Subject: [Spambayes] about To: Message-ID: <000101c35249$d2002160$6401a8c0@notebook> Content-Type: text/plain; charset="us-ascii" We seem to have a problem with sorting spam. I have taught the system how to recognize spam emails. however i am still getting spam in the good mail folder. I would appreciate if you could direct me to the correct instruction or provide some kind of assistance Thank you Lee burkholder leehb@sbcglobal.net ------------------------------ Message: 11 Date: Thu, 24 Jul 2003 21:44:39 -0400 From: "Tim Peters" Subject: RE: [Spambayes] SpamBayes causes the same email messages to downloadrepeatedly. To: "David Jackson" , Message-ID: Content-Type: text/plain; charset="iso-8859-1" [David Jackson] > Someone please tell me why I keep downloading the same email from my > POP mailbox when SPAM Bayes Filtering is enabled. The email comes > down and is immediately moved to the correct SPAM folder. However, > the same email is downloaded every time I "Send/Receive". > > version of Windows - Windows 2000 Pro, Office's Outlook XP > > the version of SpamBayes - SpamBayes-Outlook-Setup-005.exe (lastest > try), and SpamBayes-Outlook-Setup-003.exe (earlier attempt) Heh -- Windows is just chock full o' surprises! As far as I know, nobody has ever reported this problem before. I entered a bug report for you here (you'll probably have to paste the URL together again): http://sf.net/tracker/index.php?func=detail&aid=777314&group_id=61702&at id=4 98103 > log files - log files are attached. No attachments arrived. It may (or may not) help to know if you have any "unusual" options set in your POP provider's Outlook account (for example, perhaps you have the "Leave a copy of messages on the server" box checked). ------------------------------ Message: 12 Date: Fri, 25 Jul 2003 11:49:55 +1000 From: "Mark Hammond" Subject: RE: [Spambayes] about To: "'Lee Burkholder'" , Message-ID: <001601c3524f$0cdba0c0$f502a8c0@eden> Content-Type: text/plain; charset="us-ascii" If you are using the Outlook addin, you should see the "troubleshooting guide" - available via the SpamBayes "About" button. This has info for diagnosing these problems. Mark. > -----Original Message----- > From: spambayes-bounces@python.org > [mailto:spambayes-bounces@python.org]On Behalf Of Lee Burkholder > Sent: Freitag, 25. Juli 2003 11:12 > To: spambayes@python.org > Subject: [Spambayes] about > > > We seem to have a problem with sorting spam. I have taught the system > how to recognize spam emails. however i am still getting spam in the > good mail folder. I would appreciate if you could direct me to the > correct instruction or provide some kind of assistance > > Thank you > > Lee burkholder > leehb@sbcglobal.net > _______________________________________________ > Spambayes mailing list > Spambayes@python.org > http://mail.python.org/mailman/listinfo/spambayes ------------------------------ _______________________________________________ Spambayes mailing list Spambayes@python.org http://mail.python.org/mailman/listinfo/spambayes End of Spambayes Digest, Vol 59, Issue 56 ***************************************** -------------- next part -------------- A non-text attachment was scrubbed... Name: spambayes1.log Type: application/octet-stream Size: 471 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030724/2b95f87a/spambayes1.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: spambayes2.log Type: application/octet-stream Size: 720 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030724/2b95f87a/spambayes2.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: spambayes3.log Type: application/octet-stream Size: 720 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030724/2b95f87a/spambayes3.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: spambayes4.log Type: application/octet-stream Size: 720 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030724/2b95f87a/spambayes4.obj From help at maitlandcp.com Thu Jul 24 23:22:59 2003 From: help at maitlandcp.com (David Jackson) Date: Thu Jul 24 22:23:45 2003 Subject: [Spambayes] SpamBayes causes the same email messages to downloadrepeatedly. In-Reply-To: Message-ID: <000401c35253$aafdaa60$a701a8c0@dj2klap> Sorry here are the logs. Leave a copy of messages on the server" box was Unchecked, thank you -----Original Message----- From: Tim Peters [mailto:tim.one@comcast.net] Sent: Thursday, July 24, 2003 9:45 PM To: David Jackson; spambayes@python.org Subject: RE: [Spambayes] SpamBayes causes the same email messages to downloadrepeatedly. [David Jackson] > Someone please tell me why I keep downloading the same email from my > POP mailbox when SPAM Bayes Filtering is enabled. The email comes down > and is immediately moved to the correct SPAM folder. However, the > same email is downloaded every time I "Send/Receive". > > version of Windows - Windows 2000 Pro, Office's Outlook XP > > the version of SpamBayes - SpamBayes-Outlook-Setup-005.exe (lastest > try), and SpamBayes-Outlook-Setup-003.exe (earlier attempt) Heh -- Windows is just chock full o' surprises! As far as I know, nobody has ever reported this problem before. I entered a bug report for you here (you'll probably have to paste the URL together again): http://sf.net/tracker/index.php?func=detail&aid=777314&group_id=61702&at id=4 98103 > log files - log files are attached. No attachments arrived. It may (or may not) help to know if you have any "unusual" options set in your POP provider's Outlook account (for example, perhaps you have the "Leave a copy of messages on the server" box checked). -------------- next part -------------- A non-text attachment was scrubbed... Name: spambayes1.log Type: application/octet-stream Size: 471 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030724/363c5c28/spambayes1.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: spambayes2.log Type: application/octet-stream Size: 720 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030724/363c5c28/spambayes2.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: spambayes3.log Type: application/octet-stream Size: 720 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030724/363c5c28/spambayes3.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: spambayes4.log Type: application/octet-stream Size: 720 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030724/363c5c28/spambayes4.obj From tim.one at comcast.net Fri Jul 25 00:37:02 2003 From: tim.one at comcast.net (Tim Peters) Date: Thu Jul 24 23:37:41 2003 Subject: [Spambayes] spambayes does not process outlook incoming messages atstartup In-Reply-To: Message-ID: [Peter Harrison] > When I first start up in the morning, now that I have cable modem, > mail arrives in the inbox without being assigned a spam score by > spambayes (1.004 - Outlook Addin Beta1, binary version 3). This > seems to be a timing issue since it only occurs when I first start up > Outlook, and perhaps is during initialization of the addin. It seems > that only the first 10 or so messages have this problem, presumably > depending on size etc. How fast is your machine? On my getting-old-but-still-zippy 866MHz home box, my cable modem never overwhelms my Outlook spambayes setup -- provided I'm not doing anything else when a huge batch of email comes in (and a few hundred msgs usually zoom in when I start Outlook). However, if I'm doing significant computation in some other program(s) at the time, the addin can and does "miss" msgs, and regardless of whether that's when Outlook starts up, or has been running for hours. All evidence in these cases suggests that Outlook never tells the spambayes addin about these messages, as there's not a clue about them in the spambayes log file. There's really nothing we can do about messages we're not told about. Closing Outlook and restarting it should get them scored for you, though (the addin scans your Inbox for previously unseen messages whenever you start Outlook). From bryan.white.spambayes at brycom.co.nz Fri Jul 25 21:18:40 2003 From: bryan.white.spambayes at brycom.co.nz (Bryan White) Date: Fri Jul 25 04:18:52 2003 Subject: [Spambayes] Suggestion for SpamBayes - keywords and X-Rcpt-To that guarantee spam Message-ID: Hello there Is it possible to give some keywords such a high weighting that it guarantees spam early on? I've just installed it, and am delighted at the results. Whilst it's still learning, it's uncertain about spam, but being able to teach it is an improvement on the rigid rule-based system such as Microsoft use for their Junk filter in Outlook (which is virtually useless). Now, having my own domain allows me to many email addresses, some of which have been scraped off web pages or 'leaked' from registration details to spammers. Thus, any email to stef_yfp@brycom.co.nz or imaucesender@brycom.co.nz is GUARANTEED to be spam, yet email to these addresses is still categorised as 'uncertain' until I "delete as spam". Being able to give a few words a super-high rating would be a help. Also using the X-Rcpt-To: field would help Regards Bryan White -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2128 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030725/bc6d1c1a/winmail.bin From anthony at interlink.com.au Fri Jul 25 19:37:18 2003 From: anthony at interlink.com.au (Anthony Baxter) Date: Fri Jul 25 04:37:32 2003 Subject: [Spambayes] Suggestion for SpamBayes - keywords and X-Rcpt-To that guarantee spam In-Reply-To: Message-ID: <200307250837.h6P8bIAr001439@localhost.localdomain> >>> "Bryan White" wrote > Is it possible to give some keywords such a high weighting that it > guarantees spam early on? Not really. What you can do is train multiple times on a message or messages that exhibit the desired trait. -- Anthony Baxter It's never too late to have a happy childhood. From manigeorge at yahoo.com Fri Jul 25 05:12:21 2003 From: manigeorge at yahoo.com (george manikis) Date: Fri Jul 25 07:12:54 2003 Subject: [Spambayes] a question about bayes approach Message-ID: <20030725111221.27954.qmail@web41115.mail.yahoo.com> hello, I am a pre-graduate in technical university of greece and i am looking for a bayessian approach in image fusion. i have found your very interesting web page and i will be very grateful if you can help me (with papers and code in c) to continue my private experiment. my work is not for publication thank you very much --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software From andrew at kantor.com Fri Jul 25 10:22:25 2003 From: andrew at kantor.com (Andrew Kantor) Date: Fri Jul 25 09:22:31 2003 Subject: [Spambayes] Registration error on (re)install Message-ID: <000301c352af$cbc5d400$6013f386@intra.cas.org> Hello, SpamBayes folks -- I've been running the SpamBayes Outlook plugin for a few weeks without a problem. Today I needed to reinstall it (v005). I got an error during the attempt: "Unable to register the DLL/OCX: DllRegisterServer failed; code 0x80040201. I retried, then decided to ignore. Naturally, the plugin didn't work. I tried everything in the Troubleshooting Guide (re-enabling, etc.) to no avail. Any help you can offer would be appreciated! Here's the system: Windows 98 with Outlook XP SpamBayes Outlook plugin 005 Log files 1 and 2 are identical: Traceback (most recent call last): File "", line 10, in ? File "out3.pkg/iu.pyc", line 277, in importHook File "out3.pkg/iu.pyc", line 362, in doimport File "out1.pyz/addin", line 75, in ? File "out1.pyz/win32com.universal", line 21, in RegisterInterfaces pywintypes.com_error: (-2147312566, 'Error loading type library/DLL.', None, None) From mhammond at skippinet.com.au Sat Jul 26 01:48:53 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Fri Jul 25 10:50:13 2003 Subject: [Spambayes] Registration error on (re)install In-Reply-To: <000301c352af$cbc5d400$6013f386@intra.cas.org> Message-ID: <000201c352bc$0915aa90$f502a8c0@eden> > Hello, SpamBayes folks -- > > I've been running the SpamBayes Outlook plugin for a few > weeks without a > problem. Today I needed to reinstall it (v005). I got an > error during the > attempt: "Unable to register the DLL/OCX: DllRegisterServer > failed; code > 0x80040201. I retried, then decided to ignore. This may be your lucky day :) I've been working on this exact bug. We are tracking it in http://sourceforge.net/tracker/index.php?func=detail&aid=764325&group_id=617 02&atid=498103, and I just added the following comment: I've put a new interim version at http://starship.python.net/crew/mhammond/downloads/SpamBayes-Outlook-Setup-B ugCatcher.exe. This version is specifically for testing this "Unable to Register" error, so please try it as soon as you can, and let me know how it goes. Mark. From andrew at kantor.com Fri Jul 25 11:58:28 2003 From: andrew at kantor.com (Andrew Kantor) Date: Fri Jul 25 10:58:33 2003 Subject: [Spambayes] Registration error on (re)install In-Reply-To: <000201c352bc$0915aa90$f502a8c0@eden> Message-ID: <000d01c352bd$363bef60$6013f386@intra.cas.org> Interesting -- I used Outlook's "Detect and Repair" function, then tried reinstalling. And it worked. (I ran a registry cleaner and some other diagnostics as well, but it seemed to be Outlook that fixed the problem itself. Andrew > -----Original Message----- > From: Mark Hammond [mailto:mhammond@skippinet.com.au] > Sent: Friday, July 25, 2003 10:49 AM > To: andrew@kantor.com; spambayes@python.org > Subject: RE: [Spambayes] Registration error on (re)install > > > > Hello, SpamBayes folks -- > > > > I've been running the SpamBayes Outlook plugin for a few > weeks without > > a problem. Today I needed to reinstall it (v005). I got an > > error during the > > attempt: "Unable to register the DLL/OCX: DllRegisterServer > > failed; code > > 0x80040201. I retried, then decided to ignore. > > This may be your lucky day :) I've been working on this > exact bug. We are tracking it in > http://sourceforge.net/tracker/index.php?func=detail&aid=76432 5&group_id=617 02&atid=498103, and I just added the following comment: I've put a new interim version at http://starship.python.net/crew/mhammond/downloads/SpamBayes-Outlook-Setup-B ugCatcher.exe. This version is specifically for testing this "Unable to Register" error, so please try it as soon as you can, and let me know how it goes. Mark. From mhammond at skippinet.com.au Sat Jul 26 02:03:40 2003 From: mhammond at skippinet.com.au (Mark Hammond) Date: Fri Jul 25 11:03:44 2003 Subject: [Spambayes] Registration error on (re)install In-Reply-To: <000d01c352bd$363bef60$6013f386@intra.cas.org> Message-ID: <000801c352bd$ef3c2a20$f502a8c0@eden> > Interesting -- I used Outlook's "Detect and Repair" function, > then tried > reinstalling. And it worked. (I ran a registry cleaner and some other > diagnostics as well, but it seemed to be Outlook that fixed > the problem > itself. The problem is generally that one of Outlook's DLLs has become unregistered. This DLL is shared among many apps - not just Office! That version of the addin should work even with that DLL unregistered - the addin now ships with all the "type info" it needs for these interfaces compiled in. So if anyone else is reading this and still has a registration error, please try that test version. Thanks, Mark. From clyde.parliament at markettouch.com Fri Jul 25 13:13:22 2003 From: clyde.parliament at markettouch.com (Clyde L. Parliament) Date: Fri Jul 25 12:08:40 2003 Subject: [Spambayes] expected behaviour in Outlook2k Message-ID: Tried the .03 version; it works a little better. The problem seems to be tied to my system (go figure); I am running OL2K SP3 connected to Exch2k; my other system running OL2002 SP1 runs fine; others with OL2k run fine. I still have to open a message twice, but don't have the file error problem on the first try any more. Anyway, regardless of the bug, love the plugin. I actually have a reason to want to run OL now (previously avoided like the plague for my own account; had no choice for the office). Word is getting around the office about it, and others want it installed, too. > -----Original Message----- > From: Meyer, Tony [mailto:T.A.Meyer@massey.ac.nz] > Sent: Friday, July 04, 2003 1:23 AM > To: Clyde L. Parliament; spambayes@python.org > Subject: RE: [Spambayes] expected behaviour in Outlook2k > > > > If I open a message from the 'Inbox', I can see the message > > change to 'read', and then back to 'unread' immediately, > > while the message is still open. If I close the message, > > it's status is still 'unread'. If I open it a second time, > > it then marked 'read'. > > This is a known problem, although it's a tricky one to nail down. You > can monitor it here: > [ 716684 ] Filtering marks message as unread > https://sourceforge.net/tracker/index.php?func=detail&aid=7166 84&group_i d=61702&atid=498103 I'm trying to track it down, but although I used to see this all the time, now that I'm trying to reproduce it, I'm having trouble! This may have something to do with the newer code, so downloading the 003 release and seeing if that makes a difference is worth trying (see below). Otherwise, be assured that we are working on it! > If an attachment is included, the first time I open the > message, I cannot open the attachment, or save it. If I > close the message, and reopen it, I can both open and save > the attachment. Hadn't heard that before, though. I'll add that information to the tracker. > The file that I downloaded was > "SpamBayes-Outlook-Setup-002.exe"; this was last Thursday or Friday. Note that there is a newer version out - the 002 release was getting pretty old. The new one has a large number of improvements, so is well worth getting (from the same location as the old one, or http://spambayes.org/download.html). You may also be interested in subscribing to the -announce list, which is a moderated mailing list that only has postings when a new release is announced (i.e. very low traffic). See http://spambayes.org for more information (towards the bottom of the page). =Tony Meyer From lwatterworth at rim.net Fri Jul 25 14:54:50 2003 From: lwatterworth at rim.net (Lee Watterworth) Date: Fri Jul 25 13:54:55 2003 Subject: [Spambayes] Spambayes is great. Message-ID: <4EE870E4D95F904F88C411EEA8DC89C104255F@XCL02YKF.rim.net> Your software works great -- it catches most of the emails that our corporate anti-spam server misses! However, I do receive a number of false-positives ("unsure"), usually from the same email addresses.. IMHO, whitelist functionality for sender addresses would make this solution complete. have a great weekend! -Lee ----------------------------- Lee Watterworth - (lee @ rim.net) Data Network Specialist Research In Motion Desk: +1 519 888 7465 x2610 Mobile: +1 519 722 8689 ----------------------------- One difference between a man and a machine is that a machine is quiet when well oiled. From jstandre at sympatico.ca Fri Jul 25 15:38:04 2003 From: jstandre at sympatico.ca (Jonathan St-Andre) Date: Fri Jul 25 14:40:48 2003 Subject: [Spambayes] Integration on MX server with postfix Message-ID: <20030725183804.GX7154@delinz.ragnarok.qc.ca> Hi, This is just to let you know that it's been successfully integrated in my company's email setup. Using spambayes-1.0a4. It has been installed on one of our MX (running postfix) and is filtering all inbound emails for the whole company (~1000 employees, ~35000 incoming emails daily). The server is a dual PIII 933MHz with 512MB of memory and the load is pretty low (it's almost overkill). According to the feedback I received from our users, it seems that it tags approximately 90% (for some it goes up to 95%) of the spam correctly. The rest of the spam is tagged as unsure. No false positives. The filter hasn't received too much spam training either, yet. Efficiency has been improving slowly, as we keep training it. Here's a quick howto: Create the DB by training with a mailbox of ham and a mailbox of spam. I put the DB in /var/spambayes/hammie.db (as a DBM store). In master.cf, the smtp line has been changed for the following two lines: ---------------------------------------------------------------------- smtp inet n - n - - smtpd -o content_filter=spambayes: ---------------------------------------------------------------------- and the following two lines were added at the end of the file: ---------------------------------------------------------------------- spambayes unix - n n - - pipe user=nobody argv=/usr/local/bin/hammiewrapper.sh $sender $recipient ---------------------------------------------------------------------- Here's what the hammiewrapper.sh file looks like: ---------------------------------------------------------------------- #!/bin/sh /usr/bin/hammiefilter.py -d /var/spambayes/hammie.db -f | /usr/sbin/sendmail -f $* ---------------------------------------------------------------------- Just thought I'd let you know how I installed it server-side and thank you for the good work. -- Jonathan St-Andre jstandre@sympatico.ca From skip at pobox.com Fri Jul 25 14:48:44 2003 From: skip at pobox.com (Skip Montanaro) Date: Fri Jul 25 14:48:59 2003 Subject: [Spambayes] Spambayes is great. In-Reply-To: <4EE870E4D95F904F88C411EEA8DC89C104255F@XCL02YKF.rim.net> References: <4EE870E4D95F904F88C411EEA8DC89C104255F@XCL02YKF.rim.net> Message-ID: <16161.31628.335627.457317@montanaro.dyndns.org> Lee> However, I do receive a number of false-positives ("unsure"), Spambayes scores email messages on a continuum from 0.0 to 1.0. The distinction between ham, unsure and spam is simply where the ham_cutoff and spam_cutoff values are placed. A message being marked "unsure" only means that it scored between the ham and spam cutoffs. That doesn't mean it's a false positive. There are going to be messages which the system can't easily categorize because they either contain too few clues or contain roughly the same number of hammy and spammy clues. You should definitely train on any messages which are scored "unsure" as well as any messages which are incorrectly classified (spam which is scored as ham or vice versa). I also try to train on mail which is correctly classified but close to the cutoff ("low spam" or "high ham"). Lee> IMHO, whitelist functionality for sender addresses would make this Lee> solution complete. Spambayes is building a whitelist for you, you just aren't aware of it. ;-) As it sees more and more mail from your regular correspondents that's trained as ham it will get better and better at classifying such mail. In general, you need to give it a little time and feed it a fair amount of mail. I wouldn't worry about misclassifications until you've trained on at least 100 messages. Skip From T.A.Meyer at massey.ac.nz Sat Jul 26 10:24:14 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Fri Jul 25 17:25:03 2003 Subject: [Spambayes] expected behaviour in Outlook2k Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F130290AA6A@its-xchg4.massey.ac.nz> > Tried the .03 version; it works a little better. The problem > seems to be tied to my system (go figure); I am running OL2K > SP3 connected to Exch2k; my other system running OL2002 SP1 > runs fine; others with OL2k run fine. I still have to open a > message twice, but don't have the file error problem on the > first try any more. Note that Mark is working on a fix to this, and may have done so. If you get the latest (005, which I suspect will be 006 very soon) binary it has an option that you can change that may fix this, which will give us more information. Details are in here: [ 716684 ] Filtering marks message as unread https://sourceforge.net/tracker/index.php?func=detail&aid=716684&group_i d=61702&atid=498103 > Anyway, regardless of the bug, love the plugin. I actually > have a reason to want to run OL now (previously avoided like > the plague for my own account; had no choice for the office). > Word is getting around the office about it, and others want > it installed, too. Great :) =Tony Meyer From T.A.Meyer at massey.ac.nz Sat Jul 26 10:28:27 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Fri Jul 25 17:29:02 2003 Subject: [Spambayes] a question about bayes approach Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F130290AA6B@its-xchg4.massey.ac.nz> > I am a pre-graduate in technical university of greece and i > am looking for a bayessian approach in image fusion. > > i have found your very interesting web page and i will be > very grateful if you can help me (with papers and code in c) > to continue my private experiment. my work is not for publication What sort of help? Since you found the webpage, I presume you read the background information page, and the links to the other papers? You can certainly use the spambayes code for non-spam purposes (see the archives for information about people who have done this). Note that spambayes is not coded in c (I'm fairly sure that this is pointed out on the website somewhere), but in Python. You could certainly translate the Python code to C (or just give up using C and use Python ;), but this is not at all the right place to be asking for help writing C code. Note also that spambayes is not, technically, Bayesian (as I understand it), but similar. Realistically, if you want technical information/papers about Bayesian techniques, you're probably better off with a good textbook or articles (see http://www.researchindex.com, for example). =Tony Meyer From T.A.Meyer at massey.ac.nz Sat Jul 26 11:09:25 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Fri Jul 25 18:10:14 2003 Subject: [Spambayes] Web UI features request: multi-select on the Reviewpage Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F130290AA6C@its-xchg4.massey.ac.nz> > I mean that the Web UI should operate as a valid W3C > compliant HTML form. In what way is the UI not w3c compliant in terms of forms? (There are lots of things that do need to be fixed for it to be generally compliant). > > * You can definitely select more than one item at a time > > (in fact you can't select only one). > Of course you can select only one: I meant "select" as in "have selected at the time the form is submitted", not "select" as in "change with one click". > the form opens with all of the items in > the Review in their relevant pre-assigned categories and asks you to > either accept all of those assignations, or go through and > individually alter each selection [mail item] by altering them [clicking > on them] one at a time. Or to change them all (to defer, for example), and individually alter any that you wish to, one at a time. > There is no mechanism to [on a PC] allow for the use of Ctrl Click or > Shift-Ctrl Click to select sets of user selections from within the > Spambayes assigned sets and then reset all those selected to > a different category e.g. setting several of those currently set as ham > to spam or vice versa as a single operation. The standard operation of [Shift-]Ctrl-Click is to select an individual item for later attention. It would make no sense, as far as I can see, to individually select messages so that you can then click on 'Spam' (for example), when you could just click on the spam button for each one. If you are ctrl-clicking on 10 messages, for example, you then have 11 clicks (one for each message, and one for the classification). With the current method, you have 10 clicks. Standard shift-clicking, of course, is different, since here you click on boundaries, and have the items within the boundaries also selected. So, assuming that the 10 messages were sequential, you could make do with three clicks. This is a big assumption, however, since ham & spam don't arrive (unless by chance or location) in sequential groups. > That is not a valid interpretation of multi-select under the > W3C HTML 4 standards. A multi-select is precisely what it says: a users' > multiple selection from within the existing categories, not an all or nothing > acceptance/rejection/alteration of all of them. What standards are you reading? This, right? There is nothing in there (as far as I can see) about "multi-select", or multiple selection from within existing categories. > In simpler english Spambayes presents messages incoming > cached messages under three possible category headings > [spam, ham, defer]. I'm afraid that your simpler English doesn't make sense. Do you mean "presents cached messages", or "presents incoming and cached messages", perhaps? > > * Plus it defaults to training as whatever it was > > classified as, so you only need to change those that it got wrong, > > or defer/discard those that you don't want to train for some reason. > > Precisely: with several hundred messages, needing to select > several dozens of messages individually from within a few hundred preset > items is a royal pain. 1. If "several dozens" of messages are being incorrectly classified (out of "several hundred"), then spambayes is not working well for you, and you either need to do more training, or fix something that's not correctly set. 2. You have to signify somehow which messages need to have their classification changed. With a control-click, you will have to click each one individually. A shift-click might work, but would require incorrectly classified messages to be sequential (in sequences of four at a minimum, for any effort to be saved). I'm sorry, but I still don't see what the improvement you are asking for is (which obviously means that I can't add it). Can you perhaps point me to an example form somewhere that demonstrates the feature you are asking for? Or a specific part of the w3c recommendation that the form is not complying with? =Tony Meyer From gfoster at mail-filters.com Fri Jul 25 16:07:59 2003 From: gfoster at mail-filters.com (Gregg Foster) Date: Fri Jul 25 18:14:36 2003 Subject: [Spambayes] FW: Mail-Filters' Anti-spam Approach Message-ID: I received a system message from your administrator saying that my first email was too large for your email server. Therefore I am resending with only the one document. I will send the Testing document in a separate email Gregg -----Original Message----- From: Gregg Foster [mailto:gfoster@mail-filters.com] Sent: Friday, July 25, 2003 11:36 AM To: SpamBayes@python.org Subject: Mail-Filters' Anti-spam Approach I am writing to you to propose a new business relationship. We've already closed some OEM deals recently, including two that already offer an anti-spam solution. I expect these to become public knowledge in August. Because we do things differently (i.e. spam signatures), our current partners liked our technology because it added value to what they do and didn't repeat what they were already doing. I know you already have a very good Bayesian filter technology in your scanning engine, but I'm confident our technology would add significant value to what you already provide. We are actively marketing SpamCure to OEM partners because it is one of the best anti-spam servers on the market, catching more than 95% of the spam, but most importantly, achieving an accuracy greater than 1 in 100,000 false positives. Our proprietary database has been 100% created by Mail-Filters - without the use of public RBLs which provide so many false positives. The way we catch spam is different than most competitive filters. We have developed a unique database of spam signatures that we have derived from real spam. As part of developing our own enterprise anti-spam server, our database has emerged as the very best resource for messages to be identified as spam. It is also available as an integrated solution with our partners using our API. Our database of signatures are continually updated in real-time to maintain currency, accuracy and effectiveness. I would appreciate your reply so that I can talk in more detail about our technology and set up an web account so you can validate our statistics for yourselves using our Testing Option #1. I am confident you will see the same satisfaction as others have. From that point we can discuss the best technical and business approach for our mutual success. Best Regards, Gregg G.J. Foster Vice President, Sales Mail-Filters.com, Inc. 205 De Anza Blvd, Suite 200 San Mateo, CA 94402 TEL: 650-655-7788 FAX: 707-220-7058 www.mail-filters.com -------------- next part -------------- A non-text attachment was scrubbed... Name: Judging a Spam Filter.pdf Type: application/pdf Size: 100428 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030725/eedb9a0f/JudgingaSpamFilter-0001.pdf From gfoster at mail-filters.com Fri Jul 25 16:09:18 2003 From: gfoster at mail-filters.com (Gregg Foster) Date: Fri Jul 25 18:14:48 2003 Subject: [Spambayes] FW: Mail-Filters' Anti-spam Approach Message-ID: -----Original Message----- From: Gregg Foster [mailto:gfoster@mail-filters.com] Sent: Friday, July 25, 2003 11:36 AM To: SpamBayes@python.org Subject: Mail-Filters' Anti-spam Approach I am writing to you to propose a new business relationship. We've already closed some OEM deals recently, including two that already offer an anti-spam solution. I expect these to become public knowledge in August. Because we do things differently (i.e. spam signatures), our current partners liked our technology because it added value to what they do and didn't repeat what they were already doing. I know you already have a very good Bayesian filter technology in your scanning engine, but I'm confident our technology would add significant value to what you already provide. We are actively marketing SpamCure to OEM partners because it is one of the best anti-spam servers on the market, catching more than 95% of the spam, but most importantly, achieving an accuracy greater than 1 in 100,000 false positives. Our proprietary database has been 100% created by Mail-Filters - without the use of public RBLs which provide so many false positives. The way we catch spam is different than most competitive filters. We have developed a unique database of spam signatures that we have derived from real spam. As part of developing our own enterprise anti-spam server, our database has emerged as the very best resource for messages to be identified as spam. It is also available as an integrated solution with our partners using our API. Our database of signatures are continually updated in real-time to maintain currency, accuracy and effectiveness. I would appreciate your reply so that I can talk in more detail about our technology and set up an web account so you can validate our statistics for yourselves using our Testing Option #1. I am confident you will see the same satisfaction as others have. From that point we can discuss the best technical and business approach for our mutual success. Best Regards, Gregg G.J. Foster Vice President, Sales Mail-Filters.com, Inc. 205 De Anza Blvd, Suite 200 San Mateo, CA 94402 TEL: 650-655-7788 FAX: 707-220-7058 www.mail-filters.com -------------- next part -------------- A non-text attachment was scrubbed... Name: Mail-Filters Testing Options.pdf Type: application/pdf Size: 69179 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030725/606b42ee/Mail-FiltersTestingOptions-0001.pdf From klong at firstbankslo.com Fri Jul 25 16:39:19 2003 From: klong at firstbankslo.com (Ken Long) Date: Fri Jul 25 18:39:50 2003 Subject: [Spambayes] RE: Spambayes Digest, Vol 59, Issue 60 In-Reply-To: Message-ID: <01fb01c352fd$963512d0$3b1526a6@NOVELL.FIRSTBANKSLO.COM> This sure makes one wonder if the mailing list is using Spambayes! Evidently not! -----Original Message----- From: spambayes-bounces@python.org [mailto:spambayes-bounces@python.org] On Behalf Of spambayes-request@python.org Sent: Friday, July 25, 2003 3:16 PM To: spambayes@python.org Subject: Spambayes Digest, Vol 59, Issue 60 Send Spambayes mailing list submissions to spambayes@python.org To subscribe or unsubscribe via the World Wide Web, visit http://mail.python.org/mailman/listinfo/spambayes or, via email, send a message with subject or body 'help' to spambayes-request@python.org You can reach the person managing the list at spambayes-owner@python.org When replying, please edit your Subject line so it is more specific than "Re: Contents of Spambayes digest..." Today's Topics: 1. FW: Mail-Filters' Anti-spam Approach (Gregg Foster) ---------------------------------------------------------------------- Message: 1 Date: Fri, 25 Jul 2003 15:09:18 -0700 From: "Gregg Foster" Subject: [Spambayes] FW: Mail-Filters' Anti-spam Approach To: Message-ID: Content-Type: text/plain; charset="iso-8859-1" -----Original Message----- From: Gregg Foster [mailto:gfoster@mail-filters.com] Sent: Friday, July 25, 2003 11:36 AM To: SpamBayes@python.org Subject: Mail-Filters' Anti-spam Approach I am writing to you to propose a new business relationship. We've already closed some OEM deals recently, including two that already offer an anti-spam solution. I expect these to become public knowledge in August. Because we do things differently (i.e. spam signatures), our current partners liked our technology because it added value to what they do and didn't repeat what they were already doing. I know you already have a very good Bayesian filter technology in your scanning engine, but I'm confident our technology would add significant value to what you already provide. We are actively marketing SpamCure to OEM partners because it is one of the best anti-spam servers on the market, catching more than 95% of the spam, but most importantly, achieving an accuracy greater than 1 in 100,000 false positives. Our proprietary database has been 100% created by Mail-Filters - without the use of public RBLs which provide so many false positives. The way we catch spam is different than most competitive filters. We have developed a unique database of spam signatures that we have derived from real spam. As part of developing our own enterprise anti-spam server, our database has emerged as the very best resource for messages to be identified as spam. It is also available as an integrated solution with our partners using our API. Our database of signatures are continually updated in real-time to maintain currency, accuracy and effectiveness. I would appreciate your reply so that I can talk in more detail about our technology and set up an web account so you can validate our statistics for yourselves using our Testing Option #1. I am confident you will see the same satisfaction as others have. From that point we can discuss the best technical and business approach for our mutual success. Best Regards, Gregg G.J. Foster Vice President, Sales Mail-Filters.com, Inc. 205 De Anza Blvd, Suite 200 San Mateo, CA 94402 TEL: 650-655-7788 FAX: 707-220-7058 www.mail-filters.com -------------- next part -------------- A non-text attachment was scrubbed... Name: Mail-Filters Testing Options.pdf Type: application/pdf Size: 69179 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030725/606b42ee /Mail-FiltersTestingOptions.pdf ------------------------------ _______________________________________________ Spambayes mailing list Spambayes@python.org http://mail.python.org/mailman/listinfo/spambayes End of Spambayes Digest, Vol 59, Issue 60 ***************************************** From patrick at keogh.net.au Sat Jul 26 11:20:24 2003 From: patrick at keogh.net.au (Patrick Keogh) Date: Fri Jul 25 20:20:21 2003 Subject: [Spambayes] Re: Mail-Filters' Anti-spam Approach (Gregg Foster) In-Reply-To: Message-ID: <003601c3530b$b6318470$0a7114cb@keogh.net.au> Dear Gregg, What a great idea, and so easy to get up and running! All you have to do is to make SpamCure open source and then we will be able to work together. It sounds like there is room for improvement if you're getting 5% false negatives. I think you'll find that most users of SpamBayes (including myself) routinely get less that 1% false negatives. I wish you luck in selling your product, but right now it sounds like SpamBayes has a technical edge, and is quite a bit cheaper :-) Patrick -----Original Message----- From: spambayes-bounces@python.org [mailto:spambayes-bounces@python.org]On Behalf Of spambayes-request@python.org Sent: Saturday, 26 July 2003 8:16 AM To: spambayes@python.org Subject: Spambayes Digest, Vol 59, Issue 60 Send Spambayes mailing list submissions to spambayes@python.org To subscribe or unsubscribe via the World Wide Web, visit http://mail.python.org/mailman/listinfo/spambayes or, via email, send a message with subject or body 'help' to spambayes-request@python.org You can reach the person managing the list at spambayes-owner@python.org When replying, please edit your Subject line so it is more specific than "Re: Contents of Spambayes digest..." Today's Topics: 1. FW: Mail-Filters' Anti-spam Approach (Gregg Foster) ---------------------------------------------------------------------- Message: 1 Date: Fri, 25 Jul 2003 15:09:18 -0700 From: "Gregg Foster" Subject: [Spambayes] FW: Mail-Filters' Anti-spam Approach To: Message-ID: Content-Type: text/plain; charset="iso-8859-1" -----Original Message----- From: Gregg Foster [mailto:gfoster@mail-filters.com] Sent: Friday, July 25, 2003 11:36 AM To: SpamBayes@python.org Subject: Mail-Filters' Anti-spam Approach I am writing to you to propose a new business relationship. We've already closed some OEM deals recently, including two that already offer an anti-spam solution. I expect these to become public knowledge in August. Because we do things differently (i.e. spam signatures), our current partners liked our technology because it added value to what they do and didn't repeat what they were already doing. I know you already have a very good Bayesian filter technology in your scanning engine, but I'm confident our technology would add significant value to what you already provide. We are actively marketing SpamCure to OEM partners because it is one of the best anti-spam servers on the market, catching more than 95% of the spam, but most importantly, achieving an accuracy greater than 1 in 100,000 false positives. Our proprietary database has been 100% created by Mail-Filters - without the use of public RBLs which provide so many false positives. The way we catch spam is different than most competitive filters. We have developed a unique database of spam signatures that we have derived from real spam. As part of developing our own enterprise anti-spam server, our database has emerged as the very best resource for messages to be identified as spam. It is also available as an integrated solution with our partners using our API. Our database of signatures are continually updated in real-time to maintain currency, accuracy and effectiveness. I would appreciate your reply so that I can talk in more detail about our technology and set up an web account so you can validate our statistics for yourselves using our Testing Option #1. I am confident you will see the same satisfaction as others have. From that point we can discuss the best technical and business approach for our mutual success. Best Regards, Gregg G.J. Foster Vice President, Sales Mail-Filters.com, Inc. 205 De Anza Blvd, Suite 200 San Mateo, CA 94402 TEL: 650-655-7788 FAX: 707-220-7058 www.mail-filters.com -------------- next part -------------- A non-text attachment was scrubbed... Name: Mail-Filters Testing Options.pdf Type: application/pdf Size: 69179 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030725/606b42ee/Mai l-FiltersTestingOptions.pdf ------------------------------ _______________________________________________ Spambayes mailing list Spambayes@python.org http://mail.python.org/mailman/listinfo/spambayes End of Spambayes Digest, Vol 59, Issue 60 ***************************************** From dreed at srdcorp.com Fri Jul 25 21:59:44 2003 From: dreed at srdcorp.com (Reed, David) Date: Fri Jul 25 21:01:31 2003 Subject: [Spambayes] Re: Mail-Filters' Anti-spam Approach (Gregg Foster) Message-ID: <4C542552EF434E43B2F2572854A73CBD348261@corp-mail1.srdcorp.com> I don't know who runs this, as I'm new today, but I've been USING SpamBayes for months now, in both a POP3 and a Corporate or Workgroup mode, and it's been FABULOUS!!! Nothing else even THINKS of coming close!!! It's one of those RARE, RARE products that is MORE than it "advertises" itself to be, and that I actually WANT to throw money at! If I had but ONE wish, my only wish would be to see this supported at the Exchange Server (2000 with AD) level. But a large number of my users use it, and in only a month or so for them, it's become INDESPENSIBLE!!! Soooo...to whoever writes this, THE BIGGEST OF ALL-EVER KUDOS to you!!! David Reed IT Manager/Network Administrator -----Original Message----- From: Patrick Keogh [mailto:patrick@keogh.net.au] Sent: Fri 7/25/2003 8:20 PM To: spambayes@python.org Cc: Subject: [Spambayes] Re: Mail-Filters' Anti-spam Approach (Gregg Foster) Dear Gregg, What a great idea, and so easy to get up and running! All you have to do is to make SpamCure open source and then we will be able to work together. It sounds like there is room for improvement if you're getting 5% false negatives. I think you'll find that most users of SpamBayes (including myself) routinely get less that 1% false negatives. I wish you luck in selling your product, but right now it sounds like SpamBayes has a technical edge, and is quite a bit cheaper :-) Patrick -----Original Message----- From: spambayes-bounces@python.org [mailto:spambayes-bounces@python.org]On Behalf Of spambayes-request@python.org Sent: Saturday, 26 July 2003 8:16 AM To: spambayes@python.org Subject: Spambayes Digest, Vol 59, Issue 60 Send Spambayes mailing list submissions to spambayes@python.org To subscribe or unsubscribe via the World Wide Web, visit http://mail.python.org/mailman/listinfo/spambayes or, via email, send a message with subject or body 'help' to spambayes-request@python.org You can reach the person managing the list at spambayes-owner@python.org When replying, please edit your Subject line so it is more specific than "Re: Contents of Spambayes digest..." Today's Topics: 1. FW: Mail-Filters' Anti-spam Approach (Gregg Foster) ---------------------------------------------------------------------- Message: 1 Date: Fri, 25 Jul 2003 15:09:18 -0700 From: "Gregg Foster" Subject: [Spambayes] FW: Mail-Filters' Anti-spam Approach To: Message-ID: Content-Type: text/plain; charset="iso-8859-1" -----Original Message----- From: Gregg Foster [mailto:gfoster@mail-filters.com] Sent: Friday, July 25, 2003 11:36 AM To: SpamBayes@python.org Subject: Mail-Filters' Anti-spam Approach I am writing to you to propose a new business relationship. We've already closed some OEM deals recently, including two that already offer an anti-spam solution. I expect these to become public knowledge in August. Because we do things differently (i.e. spam signatures), our current partners liked our technology because it added value to what they do and didn't repeat what they were already doing. I know you already have a very good Bayesian filter technology in your scanning engine, but I'm confident our technology would add significant value to what you already provide. We are actively marketing SpamCure to OEM partners because it is one of the best anti-spam servers on the market, catching more than 95% of the spam, but most importantly, achieving an accuracy greater than 1 in 100,000 false positives. Our proprietary database has been 100% created by Mail-Filters - without the use of public RBLs which provide so many false positives. The way we catch spam is different than most competitive filters. We have developed a unique database of spam signatures that we have derived from real spam. As part of developing our own enterprise anti-spam server, our database has emerged as the very best resource for messages to be identified as spam. It is also available as an integrated solution with our partners using our API. Our database of signatures are continually updated in real-time to maintain currency, accuracy and effectiveness. I would appreciate your reply so that I can talk in more detail about our technology and set up an web account so you can validate our statistics for yourselves using our Testing Option #1. I am confident you will see the same satisfaction as others have. From that point we can discuss the best technical and business approach for our mutual success. Best Regards, Gregg G.J. Foster Vice President, Sales Mail-Filters.com, Inc. 205 De Anza Blvd, Suite 200 San Mateo, CA 94402 TEL: 650-655-7788 FAX: 707-220-7058 www.mail-filters.com -------------- next part -------------- A non-text attachment was scrubbed... Name: Mail-Filters Testing Options.pdf Type: application/pdf Size: 69179 bytes Desc: not available Url : http://mail.python.org/pipermail/spambayes/attachments/20030725/606b42ee/Mai l-FiltersTestingOptions.pdf ------------------------------ _______________________________________________ Spambayes mailing list Spambayes@python.org http://mail.python.org/mailman/listinfo/spambayes End of Spambayes Digest, Vol 59, Issue 60 ***************************************** _______________________________________________ Spambayes mailing list Spambayes@python.org http://mail.python.org/mailman/listinfo/spambayes From tmj at juntunen.us Fri Jul 25 21:50:43 2003 From: tmj at juntunen.us (Thomas Juntunen) Date: Fri Jul 25 21:50:26 2003 Subject: [Spambayes] Re: Mail-Filters' Anti-spam Approach In-Reply-To: Message-ID: On 7/25/03, Gregg Foster [mailto:gfoster@mail-filters.com] imposed order on a stream of electrons to say: >We are actively marketing SpamCure to OEM partners because it is one of the >best anti-spam servers on the market, catching more than 95% of the spam, >but most importantly, achieving an accuracy greater than 1 in 100,000 false >positives. Our proprietary database has been 100% created by Mail-Filters - >without the use of public RBLs which provide so many false positives. The >way we catch spam is different than most competitive filters. We have >developed a unique database of spam signatures that we have derived from >real spam. As part of developing our own enterprise anti-spam server, our >database has emerged as the very best resource for messages to be identified >as spam. It is also available as an integrated solution with our partners >using our API. Our database of signatures are continually updated in >real-time to maintain currency, accuracy and effectiveness. > I use SpamBayes precisely because *I* get to decide what is spam and what is not for myself. How do I know if what's in your "proprietary database" is accurate or useful, much less anything I would consider spam? A statistical approach works well for me, because my email is fairly predictable. Consequently, I'm getting much better than your 95% rate, with no false positives across more than 20,000 messages. You may maintain your database in real-time, but I suspect it isn't too hard to change an email message enough to require a new signature. Mail-Filters.com might be running mighty hard just to keep up. Regards, Thomas Juntunen From anthony at interlink.com.au Sat Jul 26 16:32:30 2003 From: anthony at interlink.com.au (Anthony Baxter) Date: Sat Jul 26 01:32:44 2003 Subject: [Spambayes] RE: Spambayes Digest, Vol 59, Issue 60 In-Reply-To: <01fb01c352fd$963512d0$3b1526a6@NOVELL.FIRSTBANKSLO.COM> Message-ID: <200307260532.h6Q5WUFx017817@localhost.localdomain> >>> "Ken Long" wrote > This sure makes one wonder if the mailing list is using Spambayes! > Evidently not! Nope. We turned off spam filtering early on because it kept interfering with our discussions - for instance, it's not an uncommon thing to forward a spam to this list (discussing some particular feature of the spam). But your spambayes installation should have caught the message, right? ;) -- Anthony Baxter It's never too late to have a happy childhood. From richie at entrian.com Sat Jul 26 08:45:05 2003 From: richie at entrian.com (Richie Hindle) Date: Sat Jul 26 02:45:20 2003 Subject: [Spambayes] a question about bayes approach In-Reply-To: <1ED4ECF91CDED24C8D012BCF2B034F130290AA6B@its-xchg4.massey.ac.nz> References: <1ED4ECF91CDED24C8D012BCF2B034F130290AA6B@its-xchg4.massey.ac.nz> Message-ID: [Tony] > Note also that spambayes is not, technically, Bayesian (as I understand > it), but similar. I don't know squat about the maths, but I believe it *is* Bayesian, with pieces added on top. When an early draft of my Linux Journal article questioned whether Spambayes was Bayesian, Gary Robinson replied: "it might be best to take out the thing about "whether it's even correct to refer to it as Bayesian" because f(w) is definitely Bayesian." -- Richie Hindle richie@entrian.com From robert at imagine.co.uk Sat Jul 26 10:09:49 2003 From: robert at imagine.co.uk (Robert Neuschul) Date: Sat Jul 26 04:09:35 2003 Subject: [Spambayes] Web UI features request: multi-select on the Reviewpage In-Reply-To: <1ED4ECF91CDED24C8D012BCF2B034F130290AA6C@its-xchg4.massey.ac.nz> References: <1ED4ECF91CDED24C8D012BCF2B034F130290AA6C@its-xchg4.massey.ac.nz> Message-ID: Tony > In what way is the UI not w3c compliant in terms of forms? (There are > lots of things that do need to be fixed for it to be generally > compliant). I've already explained it, but I'll try again: multi-select is an attribute of a selection. It is used where one or more items are to have certain operations carried out upon them. In terms of the Spambayes UI that would mean being able to place one's mouse on a listed item of mail, hold down the Ctrl Key and click on another - and another - and repeat until all required items had been selected, and then click in one of the ham/spam/defer checkboxes to automatically change *all* the selected [highlighted] items. Similar operations should be possible using Shift-click. > Or to change them all (to defer, for example), and individually alter > any that you wish to, one at a time. Try doing that when there's 500 items to alter from a list of 1000, and you have to make 500 individual mouse clicks. You'll have tendonitis by the end of the process. It's a poor workaround that doesn't actually address the issue. > The standard operation of [Shift-]Ctrl-Click is to select an individual > item for later attention. It would make no sense, as far as I can see, > to individually select messages so that you can then click on 'Spam' > (for example), when you could just click on the spam button for each > one. If you are ctrl-clicking on 10 messages, for example, you then > have 11 clicks (one for each message, and one for the classification). > With the current method, you have 10 clicks. In general I agree: ctrl-click isn't always good. But shift-click *is* good, and shift-click plus ctrl-click are powerful tools: in any event, not supporting these two sets of keystrokes renders the form non-compliant both with regard to W3C and to Windows programming guidelines, and also means that Spambayes will not be amenable to use by browser support applications designed to assist disabled/handicapped people, since it breaks the coding guidelines. > What standards are you reading? This, right? I need to dig out the ref: last time I looked at it was more than 12 months ago, but that doesn't sound like the correct one. > I'm afraid that your simpler English doesn't make sense. Do you mean > "presents cached messages", or "presents incoming and cached messages", > perhaps? Yup > 1. If "several dozens" of messages are being incorrectly classified > (out of "several hundred"), then spambayes is not working well for you, > and you either need to do more training, or fix something that's not > correctly set. Spambayes is working *very* well in the most part: the accuracy is well above 90% in most cases. However our definition of what constitutes legitimate mail is abnormal as a result of the kind of work we do and the types of mail we legitimately receive often gets classified as spam. As a result many items need to be reclassified in order to train Spambayes to our requirements. On average that's currently around 20-25 items per day in a mailbag that easily exceeds 500 items per day. As we've proceeded to train it, that failure rate is dropping. > 2. You have to signify somehow which messages need to have their > classification changed. With a control-click, you will have to click > each one individually. A shift-click might work, but would require > incorrectly classified messages to be sequential (in sequences of four > at a minimum, for any effort to be saved). Ironically, this often seems to be the case: items are frequently sequential. > I'm sorry, but I still don't see what the improvement you are asking for > is (which obviously means that I can't add it). Can you perhaps point > me to an example form somewhere that demonstrates the feature you are > asking for? Or a specific part of the w3c recommendation that the form > is not complying with? Will revert shortly. Robert. From david at handysoftware.com Sat Jul 26 11:47:43 2003 From: david at handysoftware.com (David Handy) Date: Sat Jul 26 10:45:33 2003 Subject: [Spambayes] Pop3proxy training suddenly quit working Message-ID: I was minding my own business happily using spambayes 1.0a2 pop3proxy and having good results with it, when one day (July 18) message caching and training quit working. Fortunately it still classifies messages as ham/spam/unsure, but I can't train through the pop3proxy web UI. I upgraded to 1.0a4 - same result. I made sure that the spambayes message ID is added to the headers - I can't find a message by that ID, nor does anything show up in the *cache folders. My bayescustomize.ini still says cache_messages=True . I would have filed a bug on sourceforge but I have no stack trace nor other evidence to produce, just my word that it suddenly quit working. Any ideas or suggestions? Thanks! From richie at entrian.com Sat Jul 26 17:23:43 2003 From: richie at entrian.com (Richie Hindle) Date: Sat Jul 26 11:24:17 2003 Subject: [Spambayes] Pop3proxy training suddenly quit working In-Reply-To: References: Message-ID: [David] > I was minding my own business happily using spambayes 1.0a2 pop3proxy and > having good results with it, when one day (July 18) message caching and > training quit working. > > Any ideas or suggestions? Bizarre. Try moving aside your .ini file and restarting - do the default settings work? -- Richie Hindle richie@entrian.com From rehabdoll at home.se Sat Jul 26 18:41:00 2003 From: rehabdoll at home.se (Fredrik) Date: Sat Jul 26 11:41:04 2003 Subject: [Spambayes] bug Message-ID: <5.2.1.1.2.20030726173901.00b0d6f0@10.0.0.1> I get these wierdo-spams every once in a while and Spambayes pop3-proxy cant handle it. Full mail with headers: --------------------------------------------------- X-Auth-No: Return-Path: Received: from msr84.hinet.net not authenticated [168.95.4.184] by smtp1.home.se with NetMail SMTP Agent $Revision: 3.22.1.3 $ on Novell NetWare; Sat, 26 Jul 2003 17:33:18 +0200 Received: from gj8jjyfu6kmxkge (218-163-101-67.HINET-IP.hinet.net [218.163.101.67]) by msr84.hinet.net (8.9.3/8.9.3) with SMTP id XAA00851; Sat, 26 Jul 2003 23:33:51 +0800 (CST) Date: Sat, 26 Jul 2003 23:33:51 +0800 (CST) From: dvpiinkpt@ms12.hinet.net Message-Id: <200307261533.XAA00851@msr84.hinet.net> To: chimcomplex@home.ro Subject: ?????|?W???F MIME-Version: 1.0 X-MSMail-Priority: Normal X-Mailer: lyybseardsoxiiybyddafegic Content-Type: text/html; charset="big5" Status: X-Spambayes-Exception: exceptions.UnicodeError(ASCII decoding error: ordinal not in range(128)) in append() at /usr/local/lib/python2.2/email/Header.py line 272: ustr = unicode(s, incodec, errors) klcjyjzfxuzzlkjnoxrcbd ?`?N?z?x?D?????g?P?N?z?????????j???X?@???? ulpdvpnjuqotkvjdwvgdjn From skip at pobox.com Sat Jul 26 11:54:47 2003 From: skip at pobox.com (Skip Montanaro) Date: Sat Jul 26 11:55:14 2003 Subject: [Spambayes] bug In-Reply-To: <5.2.1.1.2.20030726173901.00b0d6f0@10.0.0.1> References: <5.2.1.1.2.20030726173901.00b0d6f0@10.0.0.1> Message-ID: <16162.42055.579213.239500@montanaro.dyndns.org> Fredrik> I get these wierdo-spams every once in a while and Spambayes Fredrik> pop3-proxy cant handle it. Full mail with headers: ... It's a known problem which has been fixed in CVS. Please try that. Skip From shalehperry at comcast.net Sat Jul 26 10:00:04 2003 From: shalehperry at comcast.net (Sean 'Shaleh' Perry) Date: Sat Jul 26 12:01:18 2003 Subject: [Spambayes] bug In-Reply-To: <5.2.1.1.2.20030726173901.00b0d6f0@10.0.0.1> References: <5.2.1.1.2.20030726173901.00b0d6f0@10.0.0.1> Message-ID: <200307260900.04235.shalehperry@comcast.net> On Saturday 26 July 2003 08:41, Fredrik wrote: > I get these wierdo-spams every once in a while and Spambayes pop3-proxy > cant handle it. Full mail with headers: Yeah, it has been submitted (see the sourceforge bug list). This is the ONLY spam I get now, and I get a fair amount (5+ a day) of it. > X-Spambayes-Exception: exceptions.UnicodeError(ASCII decoding error: > ordinal not in range(128)) in append() at > /usr/local/lib/python2.2/email/Header.py line 272: ustr = > unicode(s, incodec, errors) > basically it tries to read the header as standard ASCII instead of 8bit. Which is the right thing to do, until it isn't (-: From david at handysoftware.com Sat Jul 26 15:13:00 2003 From: david at handysoftware.com (David Handy) Date: Sat Jul 26 14:10:45 2003 Subject: [Spambayes] Pop3proxy training suddenly quit working In-Reply-To: Message-ID: I tried that just now. I still do not see cached messages nor can I train. At this point I am reduced to trying to reverse-engineer the code, put in debugging print statements, etc. I was hoping first to eliminate any other probable causes. On Sat, 26 Jul 2003, Richie Hindle wrote: > > [David] > > I was minding my own business happily using spambayes 1.0a2 pop3proxy and > > having good results with it, when one day (July 18) message caching and > > training quit working. > > > > Any ideas or suggestions? > > Bizarre. Try moving aside your .ini file and restarting - do the default > settings work? > > From tim.one at comcast.net Sat Jul 26 19:39:08 2003 From: tim.one at comcast.net (Tim Peters) Date: Sat Jul 26 18:39:47 2003 Subject: [Spambayes] a question about bayes approach In-Reply-To: Message-ID: [Tony] > Note also that spambayes is not, technically, Bayesian (as I > understand it), but similar. [Richie] > I don't know squat about the maths, but I believe it *is* Bayesian, > with pieces added on top. When an early draft of my Linux Journal > article questioned whether Spambayes was Bayesian, Gary Robinson > replied: "it might be best to take out the thing about "whether it's > even correct to refer to it as Bayesian" because f(w) is definitely > Bayesian." It's an irony only the math-heads can appreciate : the Bayesian part is the two lines of code in Classifier.probability() following the "Now do Robinson's Bayesian adjustment." comment block: n = hamcount * spam2ham + spamcount * ham2spam prob = (StimesX + n * prob) / (S + n) That's solidly Bayesian. Nothing else in our code is even remotely Bayesian. The irony is that Paul Graham's article on Bayesian classifiers didn't have anything Bayesian in *this* part of his scheme. Calling spambayes Bayesian is technically accurate because of this part. It's also highly misleading, because nobody familiar with other Bayesian classifiers could guess that's what we mean -- they expect (and reasonably so) something Bayesian in the way we combine probabilities. But the spambayes chi2_spamprob() isn't Bayesian at all. Heh! For that matter, despite its name, it doesn't compute "a probability", either. All in all, since "Bayesian" has become something of a recognized buzzword among the spam-hating public, it's probably good that we've got "bayes" in the name of our mostly non-Bayesian classifier . From tim.one at comcast.net Sat Jul 26 19:42:53 2003 From: tim.one at comcast.net (Tim Peters) Date: Sat Jul 26 18:43:28 2003 Subject: [Spambayes] RE: Spambayes Digest, Vol 59, Issue 60 In-Reply-To: <200307260532.h6Q5WUFx017817@localhost.localdomain> Message-ID: [Ken Long] >> This sure makes one wonder if the mailing list is using Spambayes! >> Evidently not! [Anthony Baxter] > Nope. We turned off spam filtering early on because it kept > interfering with our discussions - for instance, it's not an uncommon > thing to forward a spam to this list (discussing some particular > feature of the spam). I think the current truth is that mail to this list does get scored by a spambayes installation on python.org, but I've deliberately not told Mailman to look at the spambayes header line it injects. > But your spambayes installation should have caught the message, > right? ;) These msgs actually got held for moderator approval, because of the sheer size of the PDF attachments. I was in a perverse mood at the time , and explicitly approved them. From T.A.Meyer at massey.ac.nz Sun Jul 27 14:41:48 2003 From: T.A.Meyer at massey.ac.nz (Meyer, Tony) Date: Sat Jul 26 21:42:45 2003 Subject: [Spambayes] Web UI features request: multi-select on theReviewpage Message-ID: <1ED4ECF91CDED24C8D012BCF2B034F130290AA7F@its-xchg4.massey.ac.nz> > In terms of the Spambayes UI that would mean being able to > place one's mouse on a listed item of mail, hold down the Ctrl Key > and click on another - and another - and repeat until all required > items had been selected, and then click in one of the ham/spam/defer > checkboxes to automatically change *all* the selected [highlighted] items. As I pointed out in the previous email, this is *less* efficient. If you are control-clicking on, say, 100 items, you could do the above, clicking on each item of mail and then click the classification radio button, and this takes 101 clicks. Or you could click on the classification radio button for each item of mail and this would take 100 clicks. > Try doing that when there's 500 items to alter from a list of > 1000, and you have to make 500 individual mouse clicks. This means that spambayes is classifying at a 50% success rate, which means it is broken - you might as well flip a coin to determine the classification. Sure, when you start using it, it doesn't have much to go by, but as soon as you train it on one ham and one spam you should get better results than this. If you get a lot of mail in a short time, then it is even more important to pre-train by giving spambayes existing collections of ham and spam so that when you start using the web ui review page the classification rate is much more accurate. > In general I agree: ctrl-click isn't always good. So, to get this straight, you're not really after control-click, are you? You're only interested in shift-click. (Which is not how the original mail read). > But shift-click *is* good The question is whether it is useful in this context, and I don't see that it is. Unless you can show me something I've missed in the html spec, the only way to do this would be using something like javascript, or changing the form to present all the mail in a listbox, which does provide this sort of facility, instead of as individual inputs. This would be a massive change, and I can't see that it would add much. (Of course, given that spambayes is open source, nothing is stopping you doing this yourself, and even submitting the code as a patch. You might also be able to convince Richie or Tim S or someone that this is a good idea). > means that Spambayes will not be > amenable to use by browser support applications designed > to assist disabled/handicapped people, since it breaks > the coding guidelines. If you could give me a specific example of the current form being difficult to use for a disabled person, then I would be much more likely to consider changing the code/html. I don't see how this is the case, however. > I need to dig out the ref: last time I looked at it was more than 12 > months ago, but that doesn't sound like the correct one. Well, that's the w3c official recommendation. If it doesn't conform to w3c standards, what standards do you mean if not that one? xhtml 1.0 doesn't have any differences in this regard; I don't know about more recent versions, but the ui states that it is html 4.0 transitional, anyway, so that's what it should comply to (note that as I said previously, it doesn't, but for other reasons). It's also the recommendation that is relevant here - Windows programming guidelines do not apply to html pages; if the interface was a Windows application, then they would - for a start, the interface is used on non Windows machines, which have no reason to comply with Windows programming guidelines. > Spambayes is working *very* well in the most part: the > accuracy is well above 90% in most cases. I wouldn't call above 90% all that well, but as long as you're happy with it... > However our definition of what constitutes > legitimate mail is abnormal as a result of the kind of work > we do and the types of mail we legitimately receive often gets classified > as spam. As a result many items need to be reclassified in order to train > Spambayes to our requirements. On average that's currently around 20-25 > items per day in a mailbag that easily exceeds 500 items per day. As we've > proceeded to train it, that failure rate is dropping. So once a day you have to make 20-25 clicks to train spambayes, and this rate is *dropping*, and that's too many? Even if these were *all* sequential, then you would save 17-22 clicks per day (and dropping), which hardly seems all that much. >> Can you perhaps point me to an example form somewhere that >> demonstrates the feature you are asking for? Or a specific >> part of the w3c recommendation that the form is not complying >> with? > Will revert shortly. Revert? I presume you mean provide? This would be very useful, as I still don't believe that this is part of the html specification (and googling for it seems to only provide javascripts to provide this feature, which indicates that it is not, or why would they be necessary?). Note also that there are methods of training spambayes other than the web ui, including ones that could be a 'one'-step operation (command line training) with the right setup. smtpproxy could also be updated to accept multiple emails forwarded at once (I'd consider doing that if a feature request was opened, although I'm not sure when I'd get time). The 'overkill' app (discussed on spambayes-dev) that will be checked in shortly allows drag'n'drop training in various MUAs, which would also provide this sort of 'one'-step training. =Tony Meyer From david at handysoftware.com Sun Jul 27 00:20:11 2003 From: david at handysoftware.com (David Handy) Date: Sat Jul 26 23:17:49 2003 Subject: [Spambayes] Pop3proxy training suddenly quit working - pop3proxy is incompatible with fetchmail! In-Reply-To: Message-ID: I found the cause of the problem - pop3proxy is incompatible with fetchmail! The reason that pop3proxy message caching and training quit working for me on July 18 is because that is the day I quit retrieving my mail via POP directly from a MUA (Evolution in my case) and switched to having fetchmail do the POP retrieval. By turning on the [globals] verbose flag I was able to find out that fetchmail does a "TOP 1 99999999" POP command instead of a "RETR" command to bring down a message. Furthermore, in pop3proxy.py, class BayesProxy, method onRetr(), line 439 in the 1.0a4 version, the code that actually moves the message into the cache is gated by the following statement: if command == 'RETR': I verified that in the case of fetchmail bringing down the mail, onRetr() is called with command == 'TOP'. So that "if" statement effectively prevents caching and training of messages for everyone using fetchmail. I'm surprised this one wasn't caught earlier. I can hack around this for my own use by perhaps changing the "if" statement to look like: if command == 'RETR' or command == 'TOP': but I wouldn't advise this for general use until I understood why that "if" statement was there in the first place. Perhaps it was felt that MUA's would do a TOP command that wouldn't bring down enough lines to classify the message well enough. In that case we could check the parameters of the TOP command to see if it is being used to effectively bring down the whole message, like fetchmail does. On Sat, 26 Jul 2003, Richie Hindle wrote: > > [David] > > I was minding my own business happily using spambayes 1.0a2 pop3proxy and > > having good results with it, when one day (July 18) message caching and > > training quit working. > > > > Any ideas or suggestions? > > Bizarre. Try moving aside your .ini file and restarting - do the default > settings work? > > From richie at entrian.com Sun Jul 27 10:35:14 2003 From: richie at entrian.com (Richie Hindle) Date: Sun Jul 27 04:35:29 2003 Subject: [Spambayes] Web UI features request: multi-select on theReviewpage In-Reply-To: <1ED4ECF91CDED24C8D012BCF2B034F130290AA7F@its-xchg4.massey.ac.nz> References: <1ED4ECF91CDED24C8D012BCF2B034F130290AA7F@its-xchg4.massey.ac.nz> Message-ID: > shift-click. If shift-click would be useful to you, then Spambayes is the wrong spam filter for you. It means that a huge proportion of messages are being wrongly classified - the chances of several consecutive messages being wrongly classified once your system is even slightly trained (say, on a hundred messages) should be vanishingly small. If your situation (you said "our definition of what constitutes legitimate mail is abnormal") means that's not true for you, I'm afraid we need to admit defeat - no matter we do to the user interface, Spambayes is never going to work well for you. That said, I'd still appreciate a pointer to the web standards you're talking about, and ideally an example page to look at. Multiselection in anything other than a