This transport Agent Interfaces Microsoft Exchange directly to SpamAssassin.
Spamassassin runs in two parts, the daemon (spamd) and the client (spamc). This plugin will take a message, feed it to the Spamassassin client. The spamassassin client will then connect to the Spamassassin Server and run the spamassassin scoring software on the message. Once the message is returned, the agent will then attempt to find the score if the score is above the discard threshold the agent will tag the message with X-Spam-Discard: YES. Then the Exchange Server can take action based on this header.
Forked to use basic MS-DLLs not to have a new compiled version for any upcoming SU / SR, usage of x64-version of Spamassassin for Windows by Jam Software. Should work with all 15.*-Versions.
Note: Project is in progress. Till now install script is:
- downloading needed files
- creating service spamd
- creating update task
- Configurable Max Message size. This avoids memory issues when scanning very large messages
- Configurable Discard threshold (10+)
- Bayesian learning support
- Full logging library
Install script is not moidifed yet. Please install manually by using the binaries in the src-folder.
Add a mail flow rule in your exchange server that if a 'X-Spam-Discard' header includes 'YES' set the SCL level to in my case 6. This rule will mark emails that were detected by spamassasin as spam so that they are going into the spam folder.
The Spamassassin agent config is located here C:\CustomAgents\SpamAssassinAgentData\SpamassasingConfig.xml
The Spamassassin daemon config is located here C:\Program Files\SpamAssassin\etc\spamassassin\local.cf
- James DeVincentis
- james@hexhost.net