350
01-28006-0100-20041105
Fortinet Inc.
Using Perl regular expressions
Spam filter
Configuring the banned word list
To add or edit a banned word
1
Go to
Spam Filter > Banned Word
.
2
Select Create New to add a banned word or select Edit for the banned word you want
to modify.
3
Enter the word or phrase.
4
Select the language (character set).
5
Select the location.
6
Select the action to take on email containing the banned word.
7
Select Enable.
8
Select OK.
Using Perl regular expressions
Email address list, MIME headers list, and banned word list entries can include
wildcards or Perl regular expressions.
See http://www.perldoc.com/perl5.8.0/pod/perlre.html for detailed information about
using Perl regular expressions.
Regular expression vs. wildcard match pattern
In Perl regular expressions, ‘.’ character refers to any single character. It is similar to
the ‘?’ character in wildcard match pattern. As a result:
• fortinet.com not only matches fortinet.com but also matches fortinetacom,
fortinetbcom, fortinetccom and so on.
To match a special character such as '.' and ‘*’ use the escape character ‘\’. For
example:
• To mach fortinet.com, the regular expression should be: fortinet\.com
In Perl regular expressions, ‘*’ means match 0 or more times of the character before it,
not 0 or more times of any character. For example:
• forti*\.com matches fortiiii.com but does not match fortinet.com
To match any character 0 or more times, use ‘.*’ where ‘.’ means any character and
the ‘*’ means 0 or more times. For example, the wildcard match pattern forti*.com
should therefore be fort.*\.com.
Action
Select the action to perform on email containing the banned word. Choose
from: Mark as Spam to apply the spam action configured in the protection
profile, or Mark as Clear to allow the email (since Banned Word is the last
filter).
Enable
Select to enable scanning for the banned word.
Summary of Contents for FortiGate FortiGate-500A
Page 24: ...24 01 28006 0100 20041105 Fortinet Inc Customer service and technical support Introduction...
Page 46: ...46 01 28006 0100 20041105 Fortinet Inc Changing the FortiGate firmware System status...
Page 72: ...72 01 28006 0100 20041105 Fortinet Inc FortiGate IPv6 support System network...
Page 80: ...80 01 28006 0100 20041105 Fortinet Inc Dynamic IP System DHCP...
Page 110: ...110 01 28006 0100 20041105 Fortinet Inc FortiManager System config...
Page 116: ...116 01 28006 0100 20041105 Fortinet Inc Access profiles System administration...
Page 134: ...134 01 28006 0100 20041105 Fortinet Inc Shutdown System maintenance...
Page 248: ...248 01 28006 0100 20041105 Fortinet Inc CLI configuration Users and authentication...
Page 324: ...324 01 28006 0100 20041105 Fortinet Inc CLI configuration Antivirus...
Page 386: ...386 01 28006 0100 20041105 Fortinet Inc Glossary...
Page 394: ...394 01 28006 0100 20041105 Fortinet Inc Index...