MBF Knowledge Base

How to integrate Message Sniffer directly into MailEnable 9 Standard using SpamAssassin In a Box

[ ] Install SpamAssassin In A Box for Windows
[ ] Click next-next-finish installation

[ ] Install the SNFServer from https://www.armresearch.com/Downloads/index.jsp
[ ] Select other/custom platform install when asked during installation.
[ ] After installation, confirm SNFService is Running.

[ ] Download the SNF4SA plugin from https://www.armresearch.com/message-sniffer/download/SNF4SA.zip
[ ] Move the snf4sa.cf and snf4sa.pm files to C:\ProgramData\JAM Software\spamdService\sa-config

[ ] For SpamAssassin to correctly load the SNF4SA plugin, you must restart the SpamAssassin Daemon Control service.
[ ] Open Windows Services
[ ] Windows+R keys to open the Run dialog, type services.msc, press Enter
[ ] Find and select the SpamAssassin Daemon Control service in the right panel
[ ] Click the Restart the service button in the left panel.

[ ] Setup Pickup Event in MailEnable
[ ] Move the SAScript.vbs file to the bin directory in Mail Enable
[ ] Script should be located at C:\Program Files (x86)\Mail Enable\Bin\SAScript.vbs
[ ] Open the MailEnableAdmin program, from the drop down menus on the left, expand Servers->localhost->Services and Connectors.
[ ] Right click on MTA and select Properties.
[ ] Click the "Enable the pickup event" checkbox the program to execute on mail file input box should be as follows:
   
cscript //T:20 "C:\Program Files (x86)\Mail Enable\Bin\SAScript.vbs"
cscript allows you to run the VBS script
    
[ ] //T:20 stops the script if it runs longer than 20 seconds
[ ] "C:\Program Files (x86)\Mail Enable\Bin\SAScript.vbs" is the filepath to the script.

[ ] At the top of the same properties window, ensure that maximum threads is set to one.
[ ] Apply the settings and press Okay to exit the properties for MTA.
[ ] The MTA service must be restarted for SpamAssassin to work.
[ ] Left click the MTA service and select the Stop action, wait for the MTA service to stop, and the select the Start action.

***Note: If you are running a 32 bit window server, in the SAScript.vbs line 21 should be commented out with a single quote, and line 24 should be uncommented by deleted the single quote