ThunderBayes 1.0.1

This is a bugfix release. I apologize to anyone who was confused because version 1.0 did not save the ThunderBayes settings. One never can do too much testing when developing software. Download ThunderBayes 1.0.1

63 Responses to “ThunderBayes 1.0.1”

- Mark GQ
I have just down loaded and installed Thunderbayes. I have restarted my computer, but when I click on Thunderbird NOTHING happens, nothing loads Thunderbird does not open or run. I have uninstalled and re-installed Thunderbird but to no avail. WHERE IS MY THUNDERBIRD? I am running VISTA Home Premium. Whay has this happened after installing Thunderbayes? What can I do to get my Thunderbird back?
- daniel
Mark, I’m sorry to hear you’re having this problem. Probably the easiest thing to do would be to delete the ThunderBayes extension manually. It’s located in the ‘extensions’ directory of your Thunderbird profile. Find a directory named {83d1f945-8280-11db-96a7-00e08161165f} and delete it. Let me know if that doesn’t work.
- Mark GQ
Daniel - Thanks there had been some copies made of other folders in the directory but all is back up and running now - I was going to look at Thuderbayes as I seem to have lost my buttons to mark emails as spam or not spam. The spam filter marks them up but I do not have the buttons now to un mark those that I want to keep. Thanks for your speedy response it is now 01:25 this side of the Atlantic so time for bed.
- Boris
Daniel, sounds and looks like a great tool. However, can’t get it to work. After installation there is neither button nor drop-down menu. Configuration is, Windows XP, Thunderbird 2.0.0.6. Any help is greatly appreciated. Regards Boris
- daniel
Boris - Have you followed the “Recommended configuration” instructions? See this page if not: http://pieces.openpolitics.com/thunderbayes/
- Boris
Ah, ok. All is clear. Thanks Dani.
- Michael Logies
Daniel, perhaps you can write some words of how to use Thunderbayes without it making any attempt to change my existing Spambayes-configuration (Spambayes is used by other email clients besides Thunderbird). I only recognized that something has changed after my last update of Thunderbayes because of the latest Microsoft security updates. I got messages of blocked outgoing connections by the Microsoft firewall. These disappeard after disabling the internal proxy of Thunderbayes. I want to use Thunderbays only as an addition of my existing Spambayes, not as a replacment, thanks. Michael
- daniel
Michael - go to Tools->Add-ons->ThunderBayes->Preferences and un-check the “Use internal SpamBayes proxy”. Then set the hostname and port. That should do it.
- Scotty Anderson
Hi, I keep getting a message “Couldnot connect to server localhost; the connection was refused”. What have I done wrong?
- daniel
Scotty - it sounds like the internal SpamBayes server is not responding. Check the ThunderBayes options (Tools->Add-ons->ThunderBayes->Preferences) and verify that the “Use internal SpamBayes proxy” option is enabled.
- Tony
Top job, It took me a while to decide to make the leap from Outlook to Thunderbird, the so, so built in spam filtration or the need to fiddle with an external proxy to enable SpamBayes being one of the main reasons for hesitation. Although I had some initial trouble because I did not read the instructions, which resulted in me running the SpamBayes proxy both externally and internally (doh), after realising my blunder the ThunderBayes add-in is working perfectly. Without the facility to mark mail that it offers, I am not sure I would be quite so happy with sticking with Thunderbird . What a tool! Thank you.
- Russell in Canada
Spam vs. Ham: Ummm, I’m digging around, trying to discover what ‘Ham’ means. I’m fairly sure I get Spam - that’s the load of unsolicited e-mail I loathe. But Ham? Does it refer to the quality of someone’s message, as in “by god that guy really hams it up, doesn’t he?” Do I use the ‘Ham’ tag to denote a ‘hammy’ presentation? I’m obviously missing something basic here, something I just don’t ‘get’. Why would I want to label something ‘Ham’, especially if I’ve just received a particularly well-written message? Thanks!
- daniel
Russel - the short answer: spam = bad, ham = good. Use the “Ham” button when ThunderBayes marks a message that you want to receive as “unsure” or “spam”. It will become better at filtering out the span when you train on misclassified emails. About the “Ham” label. I understand what your saying, although you’re picking on a particularly hard part of the user-interface for ThunderBayes. Spam is pretty easy to understand (as you pointed out), but what should the other button (what’s now called Ham) be called? I’m open to suggestions. You also might enjoy Alex Walkers article entitled Are your icons working for you? It addresses this very issue, and there’s even a comment about ThunderBayes in the comments section.
- Fred Frazelle
Just downloaded and installed program. Am now trying to get it configured. Thought you’d like to know i’m running PCLinuxOS and Thunderbird 2.0.0.6 The first thing that happened is that i tried to configure it for each account. Fortunately i only did it for a couple of them but when i restarted TB it couldn’t connect to their servers. When i examined Accounts, View Settings for that account, i found that it? had replaced the server info with the word, localhost. ??? i replaced each instance with the correct mail.xxxxx.org and was able to connect again, although i had to reenter the password and save it. Have a great afternoon! :)
- wolfgrrl
ValueError: too many file descriptors in select() I am getting this error in the .exe log file - TBayes won’t connect to localhost. Please advise how to remedy. Running Win Vista Ultimate Thanks
- daniel
Fred said: “When i examined Accounts, View Settings for that account, i found that it? had replaced the server info with the word, localhost.” That’s the correct behavior–ThunderBayes does that automatically. You shouldn’t change those back. There may be some other problem if you’re not receiving messages. The first thing to verify is if SpamBayes is running or not. To do this go to Tools->Add-ons->ThunderBayes->Options. Click on the “SpamBayes Config…” button. It should bring up a web page in your browser, if not you’ve got a problem. It sounds like you’re running Linux. In that same options dialog you’ll see a place where you can set the Python executable. This could be the problem. You might need to set this manually on your system, but I’m not sure what to tell you to set it to since I’m not familiar with PCLinuxOS. Hope that helps.
- daniel
wolfgrrl - other users have also reported problems with ThunderBayes on Vista. I’m not sure what the cause of the problem is, and I don’t have a system to test it on, so I can’t really figure out how to fix it. Sorry. You might check the SpamBayes mailing list: http://news.gmane.org/gmane.mail.spam.spambayes.general/cutoff=21203
- tygirwulf
Thanks for this extension. I’ve had it only a day and it’s already working much better than Thunderbird’s internal spam filter.
- jr
Hi Daniel I recently found ThunderBayes and I’m outright delighted to have SpamBayes in Thunderbird. What I would love to see, though, is support for IMAP. Wouldn’t it be possible to use the Spambayes API to not only submit a Mail “As Spam” or “As Ham” but only to “Classify Message” and to implement some kind of filter that runs this action on every new message (As done by the Junk Filter)? Basically, if I correctly understand the POP-Proxy, you do something similar aleready? Best regards jr
- Ivan
Tengo una cuenta de Yahoo, y cada vez que le pido que me descargue los correos me dice: undefined is a unsupported domain
- Tim Schutte
Hi Daniel, I am using ThunderBayes 1.0.1 with TBird 2.0.0.9 on Linux behind a DSL modem/router. Something is blocked, cuz Tbird times out when I attempt to download mail. I suspect the router’s firewall. I poked a hole at port 53100, but no joy. Any suggestions? Thanks, Tim
- daniel

Ivan - sorry I don’t speak Spanish. However, I was able to translate your post. Do you have POP3 access to your Yahoo account? I think you normally need to pay for that. If you don’t have POP access then ThunderBayes will not work.

Tim - You shouldn’t need to poke a hole in the firewall. ThunderBayes uses a local SpamBayes proxy under the hood. The first thing I would verify is that the SpamBayes proxy is actually running. To do this start Thunderbird, then go to Tools->Add-Ons->ThunderBayes->Preferences and click the “SpamBayes config…”. That should open the SpamBayes config in your web browser. If it does not, then SpamBayes is probably not starting. Check your python executable in this case. Hope that helps.

- Tim Schutte
Hi Daniel, It seems to be working, the web interface is working and reports that ThunderBayes is running, but when I attempt to get mail, nothing happens. I have a paid account with Yahoo at pop.att.yahoo.com that works without the proxy. Anything else I can check? Thanks, Tim
- Tim Schutte
Hi Daniel, Update–I backed up my TB profile and started a fresh one, then installed ThunderBayes on the fresh account. The transaction still times out. Yahoo uses SSL that requires a password. That might be an issue. Thanks for your trouble, Tim
- daniel
Tim - Ahh, SSL is the problem. You’ll need to use something like stunnel to proxy the SSL after SpamBayes. It should go something like this: Thunderbird -> ThunderBayes (SpamBayes) -> stunnel -> Yahoo. Be sure to select the “Never use secure authentication” option in Thunderbird’s server settings.
- Tim Schutte
Hi Daniel, Thanks for the help! Later– Tim
- Lionel Chin
Hi Daniel, I tried reading and following the recommended configuration page when I could not get mine to work, but it still seems the same. Whenever I first start Thunderbird(TB) and it retrieves new spam, I select one and click “spam”. It gets sent off to the trash as configured, but my inbox always gets compacted immediately after. Once compacting is done, all my inbox listing goes blank and I have to select another folder then inbox again to “reset” the view. When I do that, the bar below reads something like “building summary file for inbox” before it all appears again. But this is just when I first start TB. After that, clicking “spam” just sends the mail off to trash, but the spam status columns don’t seem to show anything apart from “unknown” gray question marks. I’ve tried installing/uninstalling Thunderbayes a few times and following the steps you suggested in the address given previously, but I still don’t see my copy of it doing anything effective (ie its not set up properly?)
- daniel
Lionel - I’m sorry it’s not working for you. It sounds like ThunderBayes is not filtering your email at all, which means one of two things: either SpamBayes (the underlying spam filtering engine) is not running, or you have not configured your accounts correctly. First check if SpamBayes is running and configured by opening Tools->Add-ons->ThunderBayes->Options->SpamBayes Config… It should open a browser with the SpamBayes configuration console. Check in there to see if your accounts are configured properly. As for the compacting/blank inbox, I’m not sure why that would happen. Try doing a manual compact on all folders (I think there’s an option in the file menu for that). Hope that helps.
- Phil
Hi Daniel! I’ve looked through the other comments on here in the hope of finding an answer without having to ask, but unfortunately the nearest I can find is “it’s being a bit crap with Vista”! I’ve chosen Thunderbayes because the standard filter just doesn’t shift enough spam into my junk folder, and I have prior experience with Bayesian filtering so I’m happy with the learning process. Basically, my problem is that Thunderbayes is set up with my account and downloads everything and marks the spam probability fairly accurately and realises pretty much what is junk and what isn’t. However, it *isn’t* moving the spam into my junk folder - even though I’ve asked it very nicely! It moves when I manually mark them as spam or ham, but not when the messages are initially downloaded. Why is this? What settings do I need to enable this? I’m not sure if the filter option to ‘move messages with the subject “spam”‘ is right…? I tried to add a new filter where it would move messages with the status set to spam into my junk folder, but that also doesn’t seem to work. It’s all very odd. Am I missing the obvious? Thanks in advance for your help :) Phil
- Phil
Oh hang on… I’ve just gone further into the SpamBayes configuration and it seems I can add the word ‘Spam’ to the subject line and filter on that, but is there a way it should have been able to do it anyway without messing around with that? I’m assuming it will work as I’ve not yet had a spam mail to check it on!! :/ Phil
- Malcolm
@Daniel - Thank-you very much for the extension. I migrated from Outlook to ThunderBird and missed my SpamBayes. Now I have it back. I think I have found a bug: I am trying to enable ThunderBayes on two separate accounts, both have server 127.0.0.1, but different ports. When I enable ThunderBayes on the first account all works well. When I also try to enable ThunderBayes on the second account all is working on the second account, but stops working on the first account. It seems that when ThunderBayes sets up the second account in SpamBayes it clears the information about the first server so SpamBayes stops listening on the port corresponding to the first server. I got past this by manually entering the required info into the SpamBayes configuration, but it took a while to track down. Windows XP Tablet Edition, Thunderbird 2.0.0.9, ThunderBayes 1.0.1. @Phil - If you go into Tools/Message Filters … in TBird and pretend to add a new filter - Click the left most drop down list - and select Customize, you will get an option to Customize Headers. Add a new header with the name X-Spambayes-Classification. After you add this header you will be able to filter on it instead of filtering on the Subject line. Spambayes sets it to ham, unsure, or spam. I think you could also add X-Spambayes-Spam-Probability and filter on that, but I haven’t tried it. Malcolm
- DanJaq
I’ve just installed thunderbayes and it identifies spam right well. But how do i work the filters so that it will automatically move spam into my junk folder? also, is there a way to also make it flag it as junk so thunderbird keeps on learning? Thanks Dan
- Toni
Hi Daniel, I’ve tried to download the ThunderBayes 1.0.1. An alert window pops up: “ThunderBayes 1.0.1 could not be installed, because it is not compatable with Firefox”…. Huh? What’s goin’ on here? Not compatable with Firefox? Perhaps my fault? best regards, toni
- daniel

Phil - Look at Malcolm’s response above, he has the right idea (it’s sort of buried in there).

Malcolm - I think this is a bug. I plan to look into it when I get some more time and inspiration, but that doesn’t look like anytime soon. You might be able to work around the bug by manually configuring SpamBayes (SpamBayes Config… in the ThunderBayes options).

DanJaq - Have you configured the filters in the Account Settings? If that doesn’t work do what Malcolm said to Phil at the end of his post above.

Toni - Follow the instructions for downloading and installing a Thunderbird extension–they’re right on the download page for ThunderBayes on Mozill Add-ons. Look at the section labeled “How to Install in Thunderbird”.

- Ken Seehart
Critical Bug! When I click on Ham for a message, the message disappears! This also happens when I click on Spam, which I don’t mind, but I really don’t want my Ham deleted. Also, I often get new messages in my unsure box with a spam probability of 100%. Why? Most of my incoming spam is correctly put in my spam bucket.
- Malcolm
@Ken Check in ThunderBird Tools menu -> Add-Ons. Highlight ThunderBayes and click Options. Under the Training there is a section to set up the handling when you click Spam and one for defining the handling when you click Ham. Sorry, I have no ideas for the other.
- Lana
I have an error message: Thunderbayes 1.0.1 is not compatible with Firefox — which is 2.0.0.11, in French version, for information. Thanks for help. Lana
- Dan Sumption
I’ve been using SpamBayes on Outlook for several years now - recently made the leap to Thunderbird, so I thought I’d check out ThunderBayes. It was a little complicated to set up, but I soon got it installed and running on all 5 of my mail accounts, and after minimal training it was already doing a great job of separating ham from spam. However, I left it running overnight, and came back in the morning to an error message and no new mail in the inbox. I’ve fixed it (several times) by disabling then re-enabling the plugin, or by uninstalling then re-installing it, but it keeps going wrong again (and seems to be getting harder and harder to fix). Whenever it crashes I get a message like the following one in sbpython.exe.log: Traceback (most recent call last): File “sbpython.py”, line 13, in File “C:\Users\Dan Sumption\AppData\Roaming\Thunderbird\Profilesygae5ej.default\extensions\{83d1f945-8280-11db-96a7-00e08161165f}\spambayes\sb_launch.py”, line 33, in main import sb_server File “C:\Users\Dan Sumption\AppData\Roaming\Thunderbird\Profilesygae5ej.default\extensions\{83d1f945-8280-11db-96a7-00e08161165f}\spambayes\sb_server.py”, line 104, in import spambayes.message File “C:\Users\Dan Sumption\AppData\Roaming\Thunderbird\Profilesygae5ej.default\extensions\{83d1f945-8280-11db-96a7-00e08161165f}\spambayes\spambayes\message.py”, line 214, in msginfoDB = MessageInfoPickle(message_info_db_name) File “C:\Users\Dan Sumption\AppData\Roaming\Thunderbird\Profilesygae5ej.default\extensions\{83d1f945-8280-11db-96a7-00e08161165f}\spambayes\spambayes\message.py”, line 148, in __init__ self.load() File “C:\Users\Dan Sumption\AppData\Roaming\Thunderbird\Profilesygae5ej.default\extensions\{83d1f945-8280-11db-96a7-00e08161165f}\spambayes\spambayes\message.py”, line 160, in load self.db = pickle.load(fp) File “pickle.pyc”, line 1370, in load File “pickle.pyc”, line 858, in load File “pickle.pyc”, line 880, in load_eof EOFError Any thoughts?
- miked
having trouble with thunderbayes 1.0.1 staying locked up in a continual processing mode, when I click the “Get All New Messages” button I get a dialog box that pops up that says” This folder is being processed. Please wait until processing is complete to get messages”. In order to tempor. fix the problem I end up shutting down TB and then I must manually kill sbpython.exe via the task list since it doesn’t die when TB is shutdown. then I restart TB and all is well for a few hours till it locks up again.
- miked
does anybody check in here? is there a better place to look for support? I’ve had to uninstall this add-on
- Gary Driskill
I just installed the latest ThunderBayes. This was a clean install with no previous version. The install seemed to go fine & and I followed the setup instructions on http://pieces.openpolitics.com/thunderbayes/. When I then checked for new mail, I was prompted for the “localhost” password, which would be expected because of the proxy setup. I entered my current Email account password, but it tried to connect and download and then failed with a timeout. I thought maybe I typed an incorrect password, so I played with the system so it would prompt me again for the password. I was very careful typing the password, but still got the timeout. I know the Email account is working because I have more than one system and it is fine on the other systems. I suspect I am just missing something. Does anyone have any ideas. Thanks, Gary
- Steph
This looks like a great extension, but it seems to keep disabling it’s self, and forgetting any settings. Every time I reboot I have to set it up again for each account, and sometimes from one check to the next it switches it’s self of, which really makes it useless for me. I look forward to the next version that hopefully fixes this bug.
- Neverboy
Hi Daniel! I just installed ThuderBayes as an attempt to find a better antispam solution for Thunderbird. As I try to restart Thunderbird, it does not appear again. I mean, I can see thunderbird.exe in the Task Manager, but no windows appears. I couldn’t make it work, so I had to uninstall ThunderBayes. My configuration is Windows XP Pro SP2, Thunderbird 2.0.0.9 What can be the problem? Thanks.
- ykarp
How can I uninstall Thunderbayes? I have the same problem as Neverboy - Thunderbird doesn’t open. If Thunderbird doesn’t open, how can I get rid of the extension (using XP Home edition). Thanks.
- ykarp
No matter. I figured out where my profile was and deleted the extension. Thanks, anyway.
- Neverboy
@ykarp : You can always start Thunderbird/Firefox in Safe Mode, if you suspect failure after add-on installation. Look at relevant Program Group under start menu.
- Johannes
I have the same problem as Neverboy and ykarp. Any suggenstions to make it run?
- Johannes
PS: my configuration: Windows XP SP2, Thunderbird 2.0.0.9
- cephraim
Hi, after I install, the “Enable ThunderBayes proxy for this account” checkbox is grayed out and unselectable. Note, I previously had ThunderBayes installed and, before finding this page, decided to uinstall it. Not sure if that is the cause of this problem. Thanks!
- Rachel
Every time I mark messages as spam, I get a big error window that says “SpamBayes training completed with errors”, then “Displaying last 5 of [XYZ] errors”, then a list of errors. Every error reads “Error sending data to SpamBayes: [Exception… component returned failure code: 0×804b0013″ and then a bunch more information that I don’t have time to type out by hand. Please help me figure out what’s not working! Thanks!
- Ralph Hayes
When I try to download http://pieces.openpolitics.com/files/thunderbayes-1.0.1.xpi, it tries to load onto Firefox ans says it is not compatible.
- Ray Gilsoul
Well, I downloaded it by right clicking on the link and then hitting save url as . . . I saved it to the desktop and was then able to download it properly.
- Ray Gilsoul
As to my own problem, for some reason I’m not getting anything in the Spam Probability column. I’ve had a variety of the problems listed above but have just reinstalled and seemed to have solved my problems when I very carefully go through all the instructions. I am on Windows XP sp2 and thunderbird 2.0.0.9. I do hope that the publisher starts helping folks again because it appears he worked a lot to support people in the beginning, but I guess it might not be all that rewarding for him. Even if you don’t come back, thanks for all your efforts!
- Fred
Having the same localhost and keyerror problem as Dan. It just randomly stopped working yesterday. I have no idea what changed or how to fix it.
- Jon Wolfe
I’ve just installed thunderbayes and it identifies spam right well. But how do i work the filters so that it will automatically move spam into my junk folder? also, is there a way to also make it flag it as junk so thunderbird keeps on learning? I have the same question but could not find any answer in your website. Thanks, Jon
- Frank
Can’t configure multiple servers for multiple accounts. Changing one changes the other. Running thunderbird on vista. Any ideas?
- Kat
Frank, Go to the SpamBayes web page for your internal process, and go to the configure page. There, if you read the help text, you’ll see that you can comma delimit multiple pop servers and proxy port#’s. I believe you’d need to match your thunderbird account setting to match these proxy ports.
- spammy
Having the same sbpython.exe.log errors as Dan (January 14th). Sporadicly crashing, forgetting it’s settings, disabling itself. Works great when it works but these errors are a PITA. Would’ve been nice if there’d been better support. As it is though it looks like an “Uninstall” job may be in my near future.
- Fr33d0m
Is there no way to unmark messages it wrongly marked?
- Fr33d0m
I didn’t catch the answer above that, somewhat ham-handedly, notes that “Ham = good.” Do I really need to point out how counter-intuitive such button labeling is? Also on my “not liked” list is the way the button defaults to ham when you click on an “unsure” email. I am sure as the trained count rises, I’ll like this default better, but for now it isn’t what I’d prefer. Still, thanks for the great work on this fine application.
- Fr33d0m
It looks like this particular comment section has become ignored. In case I am wrong, please consider renaming the Ham button to Not Spam.
- dave
hi, i’m having the same exact problem as Dan, Fred, and Spammy above. sometimes rebooting will fix the error, but not any longer. It’s on a WinXP machine, latest updates, and latest Thunderbird 2…. it was working really well before this.
- Fred Frazelle
Well, installed Tbayes again and checked the SpamBayes page and got this as a reply… 500 Server error Traceback (most recent call last): File “/home/frazelle09/Documents/Thunderbird/dj6v9tra.default/extensions/{83d1f945-8280-11db-96a7-00e08161165f}/spambayes/spambayes/Dibbler.py”, line 470, in found_terminator getattr(plugin, name)(**params) File “/home/frazelle09/Documents/Thunderbird/dj6v9tra.default/extensions/{83d1f945-8280-11db-96a7-00e08161165f}/spambayes/spambayes/ProxyUI.py”, line 164, in onHome state.buildStatusStrings() File “/home/frazelle09/Documents/Thunderbird/dj6v9tra.default/extensions/{83d1f945-8280-11db-96a7-00e08161165f}/spambayes/sb_server.py”, line 751, in buildStatusStrings nspam = self.bayes.nspam AttributeError: ‘NoneType’ object has no attribute ‘nspam’ Am now unable to access my paid Yahoo account. Am still running PCLinuxOS and was hoping this update would have fixed the previous problems, but… Have a great evening! :)

Leave a Reply