SpamBayes integration for Thunderbird
Download the extension from the Extension Mirror.
This extension was born from my frustration with Thunderbird’s built-in spam filtering features. While I enjoyed the ability to classify email as spam/ham within Thunderbird, the built-in spam filter was not effective enough to make it usable on a long-term basis. Having past experience with SpamBayes, I immediately looked for the best way to integrate the two. Unfortunately, aside from an old rumor I found nothing. So I settled for the pop3 proxy distributed with SpamBayes. While this provided good spam classification results, it left room for improvement on the training procedure. The browser-based training mechanism, while effective, was not convenient and essentially required me to classify most spam that made it to my inbox twice: once to move it to the Junk folder within Thunderbird and once to classify it as spam in the SpamBayes web-interface. Hopefully this will put an end to the frustration.
What does it do?
It provides a toolbar button similar to Thunderbird’s Junk button to classify email as Spam or Ham. Clicking the button causes two things to happen: (1) it sends the source of the selected messages to SpamBayes to be classified and (2) it optionally moves the messages to a folder of your choice (this can be configured in the extension options–it defaults to Junk on Local Folders). It actually does one more minor thing; it flips the junk status of the email. This last thing allows a single button to classify spam and ham. Give it a try, you’ll see how it works.
What it does not do:
- It does not install SpamBayes (at this point the SpamBayes proxy must be installed and configured externally from Thunderbird). A future version of ThunderBayes may install SpamBayes automatically.
- It does not filter mail classified by SpamBayes (Thunderbird’s powerful built-in filters can be configured to move spam classified by SpamBayes to whatever folder you choose and/or change the junk status of incoming email). Automatic filtering is planned for a future release.
- Install and configure the SpamBayes proxy. Windows users can go to the Windows page and look at the section entitled Non Outlook Solutions.
- Configure your email account(s) in Thunderbird to use the proxy.
Thunderbird configuration recommendations (do this for each account that uses the proxy):
- Disable the built-in junk mail controls (uncheck “Enable adaptive junk mail detection” on Adaptive Filter tab of Junk Mail Controls dialog).
- Create a new message filter named “ThunderBayes-spam”
Match any of the following
“X-SpamBayes-Classification” is “spam” (use “Customize…” to add the new header)
Set Junk Status to Junk
Move Message to Junk on Local Folders
Mark As Read (if you’re feeling confident)
- Create a new folder named “Unsure” (this is for messages classified by SpamBayes as “unsure”)
- Create a new message filter named “ThunderBayes-unsure”
Match any of the following
“X-SpamBayes-Classification” is “unsure”
Move Message to Unsure (the new folder)
Install ThunderBayes and add the “Spam” button to the toolbar. To add the button to the toolbar, right-click the toolbar and selecting “CustomizeÃ–” Then drag the “Spam” icon into your toolbar and click “OK” on the “Customize Toolbar” dialog.
Send bug reports and feature requests to . Include the word “ThunderBayes” in the subject line. I will respond to messages as I deem appropriate and as time permits. Impolite or inappropriate feedback will be ignored. I reserve the right to define impolite and inappropriate in this context.
THIS SOFTWARE HAS NOT BEEN TESTED THOROUGHLY AND MAY CAUSE ANY OR ALL OF YOUR EMAIL TO DISAPPEAR WITHOUT WARNING OR GOOD REASON. ALWAYS MAKE REGULAR BACKUPS OF IMPORTANT INFORMATION. NO GUARANTEES OR WARRANTIES WHATSOEVER ARE PROVIDED WITH THIS PRODUCT. USE AT YOUR OWN RISK!