Skip to content

Spamassassin Transport Agent for Microsoft Exchange Server

License

Notifications You must be signed in to change notification settings

shubell/SpamassassinAgent

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spamassassin Agent for Microsoft Exchange Server

To work correctly you must build the solution with references to the correct Microsoft Exchange DLLs. There are some precompiled version that must match yours

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.

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:

dead link https://kill-9.me/557/exchange-spamassassin-transport-agent

Use the install script, if it fails do it manually what it does in the script ;)

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 Spamassasing agent config is located here C:\CustomAgents\SpamAssassinAgentData\SpamassasingConfig.xml

The Spamassaing daemon config is located here C:\Program Files (x86)\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

 
 
 

Languages

  • C# 84.9%
  • PowerShell 15.1%