![]() You also need to train the filter - create the following file to call the sa-learn binary - note you must change to the sa-learn.exe directory to ensure correct paths are used to find the config files:Ĭd "E:\Program Files\JAM Software\SpamAssassin for Windows" "E:\Program Files\JAM Software\SpamAssassin for Windows\spamc.exe" %*Īt this point the filter should be active - send yourself a test message using an external source and look at the email headers to see the SpamAssassin headers. Run the Install_ESA_Sink.bat file at the end of installation to install the Exchange sink hook.SpamAssassin_Batch_File=C:\ESA\spamcheck.bat.Install Exchange SpamAssassin Sink - it *MUST* be iinstalled to C:\ESA.Use NSSM to create the SpamAssassin service: nssm install SpamAssassin.Extract NSSM to an appropriate location such as C:\Program Files\NSSM.Note: you can also use srvany, provided in the Windows 2003 Resource Kit Tools, but NSSM is a little clearer and easier. Download Exchange SpamAssassin Sink - the original site no longer works but you should be able to find a copy somewhere for download.Note: some sites link to SAwin32 for the binaries, however these are an old version (3.2.5) and have a bug relating to "The date is grossly in the future". JAM also provide a variety of useful tools for managing SpamAssassin for little cost. Download SpamAssassin for Windows from JAM Software.Perl is not required - a Perl DLL file is provided with the other binaries. Exchange SpamAssassin Sink, written by Chris Lewis.SpamAssassin for Windows binaries provided by JAM Software.Since spam typically operates by sending an identical message to hundreds of people, Razor short-circuits this by allowing the first person to receive a spam to add it to the database - at which point everyone else will automatically block it.SpamAssassin for Exchange 2003 can be implemented using the following components: Razor: Vipul's Razor is a collaborative spam-tracking database, which works by taking a signature of spam messages. Text Analysis: Spam messages often have a characteristic style (to put it politely), and some characteristic disclaimers and CYA text. Header Analysis: spammers use a number of tricks to mask their identities, fool you into thinking they've sent a valid message, or fool you into thinking you must have subscribed at some stage. Spam-identification tactics used by SpamAssassin Or any other folder you want to filter the spam to.Ĭlose box, and say yes when asked to save filters. Set first action to Transfer To then Trash. On the right, check Incoming and change HEADER to say įind the pulldown menu that says contains, and change it to matches regexp (case insensitive)Įnter X-Spam-Flag: YES on the line next to it. Highlight the 'untitled' rule you've just created DO NOT CLICK NEXT.Įxample: X-Spam-Flag: YES Would filter any message that was tagged by our system as "Spam" Name it "junk".Ĭhoose "Check Messages When they Arrive" and click next.Ĭheck the box for "With in the Message header".Ĭlick the "specific words" link and enter the following as its shown: X-Spam-Flag: YESĬhoose the "junk" folder you created in the first step and click OK.Ĭlick "Finish" then OK. Right-click on your "Inbox" and choose "New Folder". Note: Outlook XP requires you first create a "Blank Rule" and then all of the following apply.Choose "Login to ONID", and click on "Manage Mail" after you have authenticated. If you would like to catch messages with a score of 3 or more instead, you can create a rule that looks for this header: The X-Spam-Flag header will be set to YES whenever the message has a SpamAssassin score of 5 or higher. When creating a rule in your e-mail program to filter mail based on SpamAssassin tags, you have the choice of either using the "X-Spam-Flag" header, or the "X-Spam-Level" header. X-Spam-Level: ******** (a # of stars indicating the likeliness that this is spam) You can use these SpamAssassin tags to filter junk mail out of your mailbox. Oregon State University uses SpamAssassin to tag inbound email that appears to be spam.
0 Comments
Leave a Reply. |