Documentation Home · White Papers · Installation Guide: Surgemail
Installation Guide: Surgemail

1. Install Message Sniffer, for Windows, choosing "Other" for the mail server type.

2. Add a line to the surgemail.ini setting. Add an entry to the surgemail.ini file, which is in the root of SurgeMail's installation folder, using any text editor. (Make sure to use the correct path to the binary.) Example Entry:

G_SPAM_CMD "c:\snf-installation-directory\SNFClient.exe $FILE$"

3. Create a text file named sf_mfilter_local.txt, place it in the same folder root as surgemail.ini. Inside the file, place this code:

if (isin("X-SpamCmd","Is Spam")) then
   call feature_manual(0.99,"ArmResearchSpam")
end if
if (isin("X-SpamCmd","Not Spam")) then
   call feature_manual(0.01,"ArmResearchOK")
end if

4. Stop and restart SurgeMail. You're done.

In the headers of your system's mail, you'll now see X-entries such as below, injected by Sniffer:

X-MessageSniffer-Identifier: c:\surgemail\work\42\q3842.itm
X-GBUdb-Analysis: 0,, Ugly c=0.25607 p=-0.166667 Source Normal
X-MessageSniffer-Scan-Result: 0

Also, added by SurgeMail, will be:

X-SpamCmd: r=0, Not Spam

Please email with any questions.