Knowledgebase

status_loader

Test SpamAssassin Function

Question / Problem

How can I check if "SpamAssassin in a Box" is working?

Answer / Solution

"SpamAssassin in a Box" uses its own log in the Windows Event Viewer ("Application and Service Logs"->"SpamAssassin in a Box" or "SA in a Box").

In case of an error, the error message is also logged there.

When it is started "SpamAssassin in a Box" creates an instance of the SpamAssassin daemon 'SpamD'. To check if SpamD is accessible please proceed as follows:
- Open task manager and make sure there is a process called 'spamd.exe'. You may need to click 'Show processes from all users' to achieve this.
- Open a dos prompt (run -> cmd.exe) and locate your "SpamAssassin in a Box"  installation directory (e.g. 'C:\Program Files (x86)\JAM Software\SpamAssassin in a Box').
- Connect to the SpamAssassin daemon via the client program ('spamc.exe') via the following command:
 spamc.exe < sample-spam.txt
- If the test was successful you should see the so called 'X-Spam-Headers' at the top of the console output. They contain information about the likeliness of the scanned mail being spam. Since the 'sample-spam.txt' is a spam test mail, SpamAssassin should have clearly identified it as a spam mail, see the 'X-Spam-Status' information: X-Spam-Status: Yes, hits=1000.0, required=5.0

Need further help getting started?

You did not find what you were looking for? Please contact us so we can provide an answer to your question.

Contact Form