A spam filter detects unwanted and unsolicited email and also prevents the spam messages that enters the user’s inbox. Like other types of filtering programs, a spam filter looks for certain criteria on which it bases judgments. For example, the simplest and earliest versions such as Microsoft’s Hotmail can be set to watch particular words in the subject line of messages and also to exclude these from the user’s inbox. This method is not especially effective and more sophisticated programs attempts to identify spam through word frequency or suspicious word patterns.

To retrieve spam filter settings for Test@example.com, use the following code

spamassassin.exe -info Test@example.com

or

spamassassin.exe -i Test@example.com