We previously looked at basic SpamAssassin configuration in this previous article. We are now going to be looking into further advanced testing and configuration of SpamAssassin.

Testing SpamAssassin with GTUBE

Aside from adding keywords used to mark an email as spam which you can find out how to do here, you can also use a string called GTUBE (Generic Test for Unsolicited Bulk Email). If working correctly, SpamAssassin automatically gives it an antispam score of 1000.

Add the following string to the body of the email without line breaks or spaces: