Q & A Home
Customizing SNF
Errors
False Positives
Functionality
Integration
Log Files
Resellers
Result Codes
Rulebase Updates
Software
Spam
Subscriptions
Trials
Version 3 Architecture
Documentation Home
Integration
Does Sniffer work directly with SmarterMail... i.e. without Declude?
You can have SmarterMail call SNFClient with the message file for each new message.
Install Message Sniffer using the "Other" option. This will give you a generic SNFServer installation.
Then setup SmarterMail to call SNFClient for each message that goes through the system...
The actual incantation in "Command-Line File" is: c:\Program Files\SNF\SNFClient.exe %filepath .Be sure that you also check Enabled.
(You may need to restart Smarter Mail.)
Then have SNFServer configured to inject X- headers (this is the default). Then you can add a few custom pattern rules to the built-in SpamAssassin implementation to recognize the headers and add appropriate weights.
The injected headers (by default) look like this:
X-MessageSniffer-Identifier: c:\SmarterMail\Spool\SubSpool1\2048824000.eml
X-GBUdb-Analysis: Unknown
X-MessageSniffer-Scan-Result: 0
X-MessageSniffer-Rules: 0-0-0-380-c
So, you could create some SA pattern rules to match non-zero result codes and add the weights you want. For example, the scan result X- header for a Snake-Oil spam would look like this:
X-MessageSniffer-Scan-Result: 52
