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
if (isin("X-SpamCmd","Not Spam")) then
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-GBUdb-Analysis: 0, 220.127.116.11, Ugly c=0.25607 p=-0.166667 Source Normal
Also, added by SurgeMail, will be:
X-SpamCmd: r=0, Not Spam
Please email firstname.lastname@example.org with any questions.