

Replace with your email address on the machine running SpamAssassin. This command assumes that the sample-spam.txt file containing the test SpamAssassin message is in the current directory. The test is run by emailing yourself the sample spam message like this:

You should send this test mail from an account outside of your network.

XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X You can send yourself a test mail containing the following string of characters (in upper case and with no white spaces and line breaks): If your spam filter supports it, the GTUBE provides a test by which you can verify that the filter is installed correctly and is detecting incoming spam. SpamAssassin test spam message.Ĭontent-Type: text/plain charset=us-ascii The message SpamAssassin ships with is shown in Figure 3.6. Testing a Spam Messageįortunately, SpamAssassin ships with a message that you can use to easily verify that the filters identify a spam message correctly. The first test is to see if a spam message is identified by the filters correctly, and the second test determines whether a non-spam message is allowed through the program. These tests will determine if the SpamAssassin engine is able to identify spam messages with the default installation. In order to be sure that your SpamAssassin installation is working, there are a couple of tests that can be performed. Learn More Buy Verifying SpamAssassin Operation Slamming Spam: A Guide for System Administrators
