91
Configuring email filtering
Creating virus, spam, and compliance filter policies
Using Perl-compatible regular expressions in conditions
To use Perl-compatible regular expressions, click “matches regular expression”
or “does not match regular expression” for any of the conditions that offer you
that choice (the conditions in the first row of
Table 4-8
, plus the Message header
condition).
You can refine your search as described in
Table 4-10
. To match certain special
characters, you must escape each with \ as shown in the table. For more
information about Perl-compatible regular expressions, see:
http://www.perl.com/doc/manual/html/pod/perlre.html
Ends with/does not
end with
Equivalent to .*text$ wildcard test using matches exactly.
Matches exactly/
does not match
exactly
Exact match for the supplied text (not available for the message
body).
Notes:
All text tests are case-insensitive.
Some tests are not available for some components.
Table 4-10
Sample Perl-compatible regular expressions
Character Description
Example
Sample matches
.
Match any one character
j.n
jen, jon, j2n, j$n
jo..
john, josh, jo4#
.*
Match zero or more
characters
sara.*
sara, sarah,
sarahjane,
saraabc%123
s.*m.*
sm, sam, simone,
s321m$xyz
.+
Match one or more
characters
sara.+
sarah, sarahjane,
saraabc%123
s.+m.+
simone, s321m$xyz
\.
Match a period
stop\.
stop.
\*
Match an asterisk
b\*\*
b**
\+
Match a plus character
18\+
18+
Table 4-9
Filter tests (Continued)
Test type
Description
Summary of Contents for Mail Security
Page 1: ...Symantec Mail Security for SMTP Administration Guide ...
Page 16: ...16 About Symantec Mail Security for SMTP Where to get more information ...
Page 60: ...60 Configuring email settings Configuring scanning settings ...
Page 116: ...116 Configuring email filtering Managing policy resources ...
Page 142: ...142 Working with Spam Quarantine Configuring Spam Quarantine ...
Page 150: ...150 Working with Suspect Virus Quarantine Configuring Suspect Virus Quarantine ...
Page 162: ...162 Configuring alerts and logs Configuring logs ...
Page 208: ...208 Feature Cross Reference About email filtering and message handling options ...