How to set up a condition

In order for a filter to work properly, you need to define the condition correctly. The condition specifies the parameter, its value, and how strict the condition is.

  1. Parameters and values
  2. The strictness of the conditions

Parameters and values

Parameter What to specify in a parameter's value Example of parameter value
From Sender address alice.the.girl@yandex.com
To or Сс Recipient address or Cc recipient address cheshire.katze@yandex.com
To Recipient address cheshire.katze@yandex.com
Сс Cc recipient address just.mad.hatter@yandex.com
Subject Email subject Madness
Email body Email text We're all mad here. I'm mad. You're mad.
Attachment name Name of attached file document.pdf
Header Information from message headers To: cheshire.katze@yandex.com

The strictness of the conditions

There are four strictness levels:

matches
Email to filter Applicable for parameters Example of filtering
Emails with parameters strictly matching the specified value (username or address).

To

From

Сс

To or Сс

For example, when filtering the Sender parameter, you can either specify the address just.mad.hatter@yandex.com or the name “Mad Hatter”. In both cases, an email sent by “Mad Hatter” from the address just.mad.hatter@yandex.com will be filtered.
Emails with parameters containing the specified value and its word forms (standalone or as part of a phrase).

Subject

Email body

Attachment name

Header

If the Subject parameter has the value “we are madmen”, all email with subjects like “We are madmen”, “We are different kinds of madmen”, and “Let's talk about that madman” will be filtered.
Emails with bodies matching the specified value (standalone or in a phrase, the initial word and its word forms).

Email body

If the Email body parameter has the value “we are madmen”, all email with the text “We are madmen” and “We are madmen will be filtered.
doesn't match
Email to filter Applicable for parameters Example of filtering
Email with parameters that strictly exclude the specified value (username or address).

To

From

Сс

To or Сс

For example, with the Sender parameter, you can either specify the address value just.mad.hatter@yandex.com or the name value “Mad Hatter”. In both cases, an email sent by “Mad Hatter” from the address just.mad.hatter@yandex.com will be excluded from the filter.
Emails with parameters that don't contain the specified value or its word forms (neither standalone nor as part of a phrase).

Subject

Email body

Attachment name

Header

If the Subject parameter has the value “madmen”, all email with subjects like “We are madmen”, “We are different kinds of madmen”, and “Let's talk about that madman” will be excluded from the filter.
Email with texts that don't match the specified value (whether standalone or in a phrase, the initial word and its word forms). Email body If the parameter Email body has the value “we are madmen”, all email with subjects like “We are madmen” and “We are madmen will be excluded from the filter.
contains
Email to filter Applicable for parameters Example of filtering
Email with parameters that include the specified value or a phrase with that value in their username or address.

To

From

Сс

To or Сс

When filtering the Sender parameter, you can either specify the address just.mad.hatter or the name “Mad Hatter”. In both cases, an email sent by “ Mad Hatter” from the address just.mad.hatter@yandex.com will be in the the filter.
Emails with parameters that strictly match the specified value (address or word form).

Subject

Email body

Attachment name

Header

If the Subject parameter has the value “Green tea”, then an email with the subject “Green tea” will get into the filter. Email with subjects “Tea from the Mad Hatter” and “Let's have some tea” will be excluded from the filter.
Email with texts matching the specified value (the initial word and its word forms). Email body If the Email body parameter has the value “We are all mad here”, only email with the text “We are all mad here” will be included in the filter. Email with the text “We are all here will be excluded from the filter.

If Email body has the value “We are all <i>mad here</i>”, only email with the text “We are all mad here will be included in the filter. Email with the text “We are all mad here” will be excluded from the filter.

doesn't contain
Email to filter Applicable for parameters Example of filtering
Email with parameters that don't include the specified value or a phrase with the value in username or address.

To

From

Сс

To or Сс

When filtering the Sender parameter, you can either specify the address just.mad.hatter or the name “Mad Hatter”. In both cases, an email sent by “Mad Hatter” from the address just.mad.hatter@yandex.com will be in the filter.
Email with parameters that strictly exclude the specified value (address or word form).

Subject

Email body

Attachment name

Header

If the Subject parameter has the value “Tea”, all email with the subjects “Green tea” and “Let's drink some tea” will be included in the filter. Email with the subject “Tea” will be excluded from the filter.
Email with bodies that strictly exclude the specified value (the initial word and its word forms). Email body If the Email body parameter has the value “We are all mad here”, only email with the text “We are all mad here will be included in the filter. Email with the text“We're all mad here” will be excluded from the filter.