When you are editing an event in Expert mode,
you setup checking conditions that must be complied
with by a message. By another words, you can setup
checking for two or more fields at the same time.
Remember that an event fires when a message complies
with ALL selected conditions.
When you are editing condition strings in Expert
mode, you setup something like a template. You
are able to use two special characters (wildcards)
for defining a template string: ‘*’
and ‘?’. The * means "match any
number of characters in this spot", and the
? wildcard means "match any character in
this spot." In substance, when you select
‘Contains’ in Beginner Mode you add
* to the begin and to the end of a substring.
When you select ‘Is at the begin’
you add * to the end of a substring, and when
you select ‘Is at the end’ you add
* to the begin of a substring. Example: You need
to create an event that will fire for messages
with a subject that begins with FIRST, contains
a word SECOND and ends with a word THIRD. The
event rule string for this purpose will look as
the following:
FIRST*SECOND*THIRD
You can also use another special character: ‘|’
(Vertical Bar or Pipe). It means OR and is very
useful when you wish to create, say a group of
your friends addresses or a group of email addreesses
you don’t wish to receive messages from.
This character is a delimeter between templates.
Example: You need to create an event that will
fire for messages that sent by support@anti-spam-tools.com,
author@anti-spam-tools.com, Alex Kaul, Mail Box
Dispatcher Author. The event rule string for this
purpose will look as the following:
*@anti-spam-tools.com*|*Alex Kaul*|*Mail Box Dispatcher*
Comments for this template: | character separates
the template into three parts. Event fires for
all messages that comply with any of these parts.
First part fires for messages that contain ‘@anti-spam-tools.com’,
second for messages that contain ‘Alex Kaul’
and third for messages that contain ‘Mail
Box Dispatcher’.