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
    Antispam Software and Spam Filtering
    How can I configure Exchange IMF to allow an IP address or DNS?
    Tool helps identify inbound Exchange Server email flow issues
    Configure SMTP relay restrictions in Exchange Server 2003 to stop spam
    Exchange email sent to a domain using SPF authentication is returned
    Secure Edge Transport servers using the Security Configuration Wizard
    Create a global Safe Senders List in Exchange 2007 to filter spam
    Migrating antispam settings from Exchange 2003 to Exchange 2007
    The six-layered secret of effective Exchange Server email filtering
    Top 10 Exchange, Microsoft Outlook and OWA email security tips of 2007
    Troubleshoot Microsoft Outlook email delivery problems
    Antispam Software and Spam Filtering Research

    Microsoft Exchange Server Administration Tools
    Using the NTBackup tool for Exchange Server backup and recovery
    Tools to bulk modify Active Directory users in Exchange Server 2003
    Free tools keep Microsoft Outlook visible in Windows Vista
    Setting up email disclaimers and signatures in Exchange Server
    Tool deploys customized Microsoft Outlook 2007 configurations
    Third-party Exchange Server 2007 backup and restore tools
    Customizing an Outlook Web Access 2003 email signature
    Tool exports messages from Microsoft Outlook to Unix .EML file format
    Monitor mail flow with the Exchange Server 2007 Queue Viewer tool
    Use Performance Monitor to detect Exchange 2003 message queue problems
    Microsoft Exchange Server Administration Tools Research

    Microsoft Outlook
    How effective is tracking the IP address of an email hacker?
    Lock down Microsoft Outlook 2007 to prevent .PST file access
    Third-party tool moves Outlook attachments to Microsoft SharePoint
    Free tools keep Microsoft Outlook visible in Windows Vista
    Migrating .PST files to an Exchange Server information store
    Troubleshoot Outlook 2007 error 0X8004010F on Exchange Server 2007
    How to export Global Address List data to Microsoft Office Access
    Revised Outlook out-of-office (OOF) messages don't update in OWA
    Create a group policy to prevent .PST file storage in Exchange 2007
    Microsoft Exchange Server and Outlook email archiving FAQs
    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.

  • HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




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