SpamAssassin is an open-source mail filter project designed to identify spam. It uses a diverse range of tests and has been shown to be very effective in separating spam from non-spam mail.
Because SpamAssassin integrates multiple techniques and is being continuously updated and extended it has an advantage over other anti-spam systems.
Although SpamAssassin also uses Bayesian statistical techniques to analyse mail, it also tests for many features that are very hard for spam senders to avoid. The spammer's objective is to spread advertising (or some message) as widely as possible, with as little cost to themselves as possible. In order to accomplish this the spammer must employ many methods that are not typical of regularly sent mail. For example, spammers may attempt to obscure the actual message using images or unnecessary HTML markup and SpamAssassin will factor this in when assessing a message.
See the SpamAssassin-tab for information on configuring the SpamAssassin integration.
You can reach this tab from Options | Anti-spam ...
What is SpamAssassin? Read morew ...
What does SpamAssassin test for? AnswerS ...
Working with SpamAssassin for Win32
Download the SpamAssassin files to get started.
SpamAssassin 3.2
Download SpamAssassin for Win32 here
New User
If you are a new user all you need do is:
"Unpack" SpamAssassin somewhere
(whether unzipping or doing an actual install)
and then enter the full path to spamd (e.g. "c:\program files\sa\spamd.exe") into the "Server address or path to spamd.exe" edit box.
Once that is done Mailtraq will automatically
start and manage the spamd.exe process.
And set the configuration as illustrated right.
Shutdown and then restart Mailtraq.
(Note that the dialog box illustrated was updated in build 2.14.1.2434 - see below for previous dialog)
Modes of Operation
There are three modes of operation for SpamAssassin.
1. None (disabled)
2. Assisted (Scan all messages ...) - All incoming mail is checked in "Receipt" mode as an additional stage in the SMTP or POP3 sequence
3. Integrated (Replace Bayesian ...) - The Bayesian Analyser is disabled and replaced with the SA test which produces a score that is used in exactly the same way that the Bayes score was used.
Background
The reason for 3 is that it allows the existing scoring and training infrastructure (for example, in WebMail) to be re-used. The Bayesian Trainer is also replaced with the "tell" spamd command.
The reason 2 mentions "local recipients" is that in that model outgoing mail (mail for non-local domains) is not checked. This is partly because every time you test a message with SA it self-teaches and you don't want to skew it with mail that is presumed non-spam.
Existing Users
Users who previously installed this download: SpamAssassinForMailtraq.msi
should uninstall that package and follow the instructions above for New Users as the official SpamAssassin download is now compatible with Mailtraq.
Installation instructions Updated 09/03/2008
Configuration
We suggest you create a User in Mailtraq called spam and provide webmail access to that mailbox, and then configure the Anti-spam as illustrated above. It is then a simple matter for any user with webmail access to the spam mailbox to check for false-positives. You should set the Archive properties of the spam mailbox to delete messages after a period of time.
SpamAssassin can be run in conjunction with Mailtraq's Bayesian analyzer (as illustrated) or can be used to replace Mailtraq's analyzer by selecting the bottom radio-button in the dialog.
You will get the best results if you run SpamAssassin in conjunction (Assisted mode) with Mailtraq's Bayesian analyzer.
Read how to configure Mailtraq's Bayesian anti-spam system here ...
Mailtraq supports the latest version of SpamAssassin and now that it is being regularly produced as a Win32 binary there is no longer any need for us to provide our own custom build. You simply install it and tell Mailtraq the path to the spamd.exe file, and it does the rest. The advantage is that administrators can update as often as they wish and have complete control over customization.
Mailtraq News October 2007
Mailtraq introduced support for SpamAssassin for Win32 in 2.11.0.2234
Configuration Tips
1.) The SpamAssassin engine takes several minutes to start after restarting Mailtraq. You may see Mailtraq Event Log entries similar to the following:
[Time] SpamAssassin: "" from (error=Windows socket error: No connection could be made because the target machine actively refused it (10061), on API 'connect')
This simply means that the SA engine was not yet ready to accept connection. No action is required.
2.) SpamAssassin will require at least 1GB of RAM to operate smoothly.
Adjusting how SpamAssassin works in your environment.
It is possible to tweak how SA works for you - customizing tests, setting trust relations etc.
There is an easy to follow guide to custom configuration included with your SA installation. If you installed SA in the location described above - look in C:\Program Files\SA\doc\Mail_SpamAssassin_Conf.html
Tweaks are applied to the 'cf' files in this location: C:\Program Files\SA\etc\spamassassin
For example - changing the trusted network is applied to 'local.cf' in that folder.
Note that where Mailtraq enters an IP range as 192.168.*.* in SA the same range is entered as 192.168/16
It is recommended that you only make one change at a time, and it may be necessary to restart both Mailtraq and the SpamD service, or reboot, to apply the changes.
There is Forum discussion of advanced SpamAssassin configuration here ...
SpamAssassin dialog
Configuration options prior to 2.14.1.2434