Skip to content

shubell/SpamassassinAgent

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spamassassin Agent for Microsoft Exchange Server

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

Features

  1. Configurable Max Message size. This avoids memory issues when scanning very large messages
  2. Configurable Discard threshold (10+)
  3. Bayesian learning support
  4. Full logging library

Install Instructions:

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

The Original authors Contact

About

Spamassassin Transport Agent for Microsoft Exchange Server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C# 83.6%
  • PowerShell 16.3%
  • Batchfile 0.1%