Home > Microsoft Exchange Tips > Exchange Security Tips > SpamBayes: Open-source antispam tool for Microsoft Outlook
Exchange Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

EXCHANGE SECURITY TIPS

SpamBayes: Open-source antispam tool for Microsoft Outlook


Serdar Yegulalp
02.07.2007
Rating: --- (out of 5)


Exchange Server tips, tutorials and expert advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


For organizations that don't have an Exchange server, only individual Microsoft Outlook desktop installations, SpamBayes is a handy way to manage spam without dropping a lot of money.

SpamBayes is an open-source antispam product written in Python. It can run cross-platform, but its Windows implementation and Microsoft Outlook plug-in version have been very successful. The product integrates with Microsoft Outlook, and can either replace Microsoft Outlook's native spam filtering or work in conjunction with it.

The SpamBayes team recently released a public alpha 3 release of version 1.1, which is stable enough to be used on a desktop, since most of the changes are "under the hood" (in the classification system). The updates make this latest version of SpamBayes even more accurate and discriminating.

If you upgrade from an older release of SpamBayes, it's probably a good idea to rebuild the spam database by retraining the system using recent good and bad email.

Some of the new features in SpamBayes 1.1 include:

  • More sophisticated trapping of "word salad" spam -- i.e., email containing nonsense phrases or gibberish -- to disguise an image attachment that contains the actual spam. This has become a fairly major variety of spam, and not easy to filter.

  • Looking for the presence of Habeas headers to determine if email is valid.

  • Experimental support for image extraction and optical character recognition (OCR) to determine if images contain textual spam (also known as the "crack-images" option). This option relies on the ocrad and Python Imaging libraries and is only being minimally supported at this time; there's controversy about whether this is a valid way to handle the problem.

  • Many small fixes to the Microsoft Outlook plug-in.

To integrate SpamBayes with Microsoft Outlook, I've found that it's best to make the following changes:

  1. Keep a fair amount of spam in the Junk E-mail folder to train SpamBayes with when you first install it. Retrain SpamBayes from scratch (this process is largely hands-off) about once every three or four months.

  2. Set SpamBayes to move email that is certain to be spam to the Junk E-mail folder and mark it as read.

  3. Edit the Junk E-mail folder's properties. Under General, set "Show number of unread items" instead of "Show total number of items," so Junk E-mail doesn't show as bold in the folder tree view. Under AutoArchive, set the folder to permanently delete items older than three months (so that you have a future repository of spam to train from as needed).

  4. For fast hotkey access to the Spam/Not Spam function, go to the Inbox and then right-click on the Spam button in the SpamBayes toolbar, and select Customize -> Toolbars. Right-click on the button again and set the name to "S&pam" (to allow Alt-P to mark mail as spam). Close the Customize window, then open the Junk E-mail folder and repeat the same process with the "Not Spam" button -- set it to "Not S&pam" to again allow Alt-P to be used in that folder to unmark email as spam.

About the author: Serdar Yegulalp is editor of Windows Insight, a newsletter devoted to hints, tips, tricks, news and goodies for all flavors of Windows users.

Related information from SearchExchange.com:

  • Tip: Third-party products help filter spam at Microsoft Outlook's door
  • Learning Guide: How to fight spam on Exchange Server
  • Learning Center: The spamfighter's toolbox
  • Crash Course: Exchange Intelligent Message Filter
  • Learning Center: The Microsoft Outlook Toolbox
  • Reference Center: Exchange Server security tips and resources

    Rate this Tip
    To rate tips, you must be a member of SearchExchange.com.
    Register now to start rating these tips. Log in if you are already a member.




    Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



    RELATED CONTENT
    Spam and virus protection
    Controlling spam in Exchange 2007 at the edge transport server level
    How file-level antivirus software can harm your Exchange Server
    Problems with email spoofing on SBS 2003
    Exchange Insider e-zine
    Securing your Exchange Server 2007 journaling archives
    Troubleshooting Outlook Web Access issues on a 64-bit system
    Microsoft Exchange Server security dos and don'ts
    Troubleshooting Microsoft Exchange Server Event ID error 6009
    How effective is tracking the IP address of an email hacker?
    How can I configure Exchange IMF to allow an IP address or DNS?
    Spam and virus protection Research

    Microsoft Exchange Server Administration Tools
    An introduction to the Exchange Remote Connectivity Analyzer tool
    Prevent Microsoft Outlook 2007 from hanging when forwarding email
    Testing Unified Messaging connectivity in Exchange 2007
    Microsoft Exchange Server 2007 performance tutorial
    How to custom-configure a Microsoft Outlook 2007 install using OCT
    Top Exchange Server performance monitoring and troubleshooting tools
    Search and index Microsoft Outlook 2007 public folders
    Executing an .MSP customization file in Microsoft Outlook 2007
    Using the NTBackup tool for Exchange Server backup and recovery
    Tools to bulk modify Active Directory users in Exchange Server 2003
    Microsoft Exchange Server Administration Tools Research

    Microsoft Outlook
    Outlook 2007 shut-down problems and fixes
    Microsoft Outlook and SharePoint calendar dos and don'ts
    Free tools facilitate large-scale Outlook and SharePoint integrations
    Exchange Mailbag: POP3 settings and Outlook issues
    Pros and cons of Outlook 2007's storage engine redesign
    Fix Outlook 2007 and SharePoint synchronization breaks
    Email issues after configuring hosted Exchange server on laptop
    Avoid Outlook 2007 performance issues during repairs
    A behind-the-scenes look at Outlook 2007 and SharePoint integration
    When to use a self-signed certificate with Exchange Server 2007
    Microsoft Outlook Research

    RELATED GLOSSARY TERMS
    Terms from Whatis.com − the technology online dictionary
    greylist  (SearchExchange.com)
    hash buster  (SearchExchange.com)
    image spam  (SearchExchange.com)
    KnujOn  (SearchExchange.com)
    Sender ID  (SearchExchange.com)
    spam confidence level  (SearchExchange.com)
    spamblock  (SearchExchange.com)
    spim  (SearchExchange.com)
    tarpitting  (SearchExchange.com)
    teergrube  (SearchExchange.com)

    RELATED RESOURCES
    2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
    Search Bitpipe.com for the latest white papers and business webcasts
    Whatis.com, the online computer dictionary

    DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



  • Email Server Solutions: Exchange 2007, Exchange 2003, Exchange 2000, SharePoint
    HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Site Map




    All Rights Reserved, Copyright 2004 - 2009, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts