Chapter 15 Unified Threat Management for FortiOS 5.0 : Email filter : Configure local email filters : How content is evaluated : Adding words to a banned word list
  
Adding words to a banned word list
Each banned word list contains a number of words, each having a score, and specifying where the FortiGate unit will search for the word (in the message subject, message body, or all which means both)
When the FortiGate unit accepts an email message containing one or more words in the banned word list specified in the active email filter profile, it totals the scores of the banned words in the email message. If the total is higher than the threshold set in the email filter profile, the email message will be detected as spam. If the total score is lower than the threshold, the message will be allowed to pass as normal.
The score of a banned word present in the message will be counted toward the score total only once, regardless of how many times the word appears in the message.
When you enter a word, set the Pattern-type to wildcards or regular expressions.
Wildcard uses an asterisk (β€œ*”) to match any number of any character. For example, re* will match all words starting with β€œre”.
Regular expression uses Perl regular expression syntax. See http://perldoc.perl.org/perlretut.html for detailed information about using Perl regular expressions.