Creating and configuring filters

Create a filter

Attention. The specified filters will only be applied to new emails. Emails that are already in your mailbox are not processed automatically. If you want to apply a rule to existing emails, click Apply to existing emails.
  1. In the upper-right corner, click  → All settings.
  2. Select Message filters.
  3. Click Create filter.
  4. Under Apply, choose the type of message to apply the filter to:

  5. Under If, set the filter conditions:

    To learn more about creating filters, see this dedicated article.

  6. You can specify several conditions for one filter. These conditions can be met simultaneously or separately:
    1. In the If block click Add condition.
    2. Specify if these conditions must be met simultaneously:

  7. Under Take the following action, choose what you want to do with the message: delete, mark as read, put in a folder, set a label, forward or send a notification to an address, or respond with a text.
  8. If necessary, select the Ignore other filters option (see Filter priority).
  9. Click set name if you would like to name a rule.

  10. To save the filter, click Create filter.

Test the filter

You can find out which existing email messages match the filter. To do this, open the filter and click the Check filter button.

Change filter

If you want to edit, disable, or delete a filter, go to Rules for processing emails and use the links to the right of the necessary filter.

Filter priority

Filters are applied in the order they are listed on the Rules for processing emails page: the higher the filter is in the list, the higher its priority. If you would like to raise the priority of the rule, drag it up one position. If actions that cannot be completed simultaneously have been set for several filters with the same conditions, only one of these filters will be applied (the one located higher in the list).


Sometimes Alice buys tea on She receives messages about special offers and her purchase history. Alice wants to opt out of receiving offers while still receiving emails with her purchase history. To do this, she enables two filters:

  • Move all messages from to “Trash”.
  • Move all messages from containing the word “Order” in the subject to “Orders”.

If the first filter is placed above the second one, it will take higher priority, deleting all emails in the process. To keep the emails she needs, Alice places the second filter above the first. As a new email comes to Inbox, Yandex Mail checks if its subject contains the word Order. If it does, it's moved to the Orders folder; if not, it's deleted.

If several filters are applied to one email and you only want one of them to be applied, turn on Don't apply other filters. All filters placed below the filter with the setting will not be executed, but the filters above will.


Alice and the Cheshire Cat are collaborating on a project. Alice's mailbox receives emails from clients, business proposals that must be shared with the Cheshire Cat, and personal messages from the White Rabbit. All business correspondence should be forwarded to the Cheshire Cat, while emails from the White Rabbit should stay in her inbox and get labeled as important. So Alice sets up the filters in this order:

  • Label messages from as important, with Do not apply other rules turned on.
  • forward all emails to

If Alice doesn't turn on the Do not apply other filters option for the first filter, then the Cheshire Cat's inbox will start receiving all emails indiscriminately, including those from the Rabbit. Enabling this option lets messages from the White Rabbit stay in the inbox and get properly labeled, while all other messages are forwarded to the Cheshire Cat. As a new email comes to “Inbox”, Yandex Mail checks if the From field matches the email address If there is a match, the email is labeled important, otherwise it's sent to

A filter doesn't work

There are a few reasons why this might occur:

Yandex ID doesn't have all your information Enter your valid personal details in Yandex ID and link your phone number to your account. It may be that our security system considers your account suspicious and blocked the mailbox. This usually happens if you don't link a phone number to your mailbox or enter a fake name in Yandex ID. It usually takes a couple of hours to have your account unblocked.Enter your valid personal details in Yandex ID and link your phone number to your account.

Not enough time has passed since configuring the filter

Wait a few minutes after setting up a message filter, because it might not begin working immediately.

The filtering conditions are specified incorrectly

Check the properties and parameters.

There are filters with higher priority in the list of filters

If the list contains filters with the same conditions but a higher priority, or one of the filters with a higher priority has the Ignore other filters option selected, this may affect how the filter is implemented. For more details, please see Rule priority.

Email imported by the mail importer is not in my Inbox

If you receive an email from another account of yours (meaning you have email importing enabled, and the email isn't in your Inbox), the filters don't apply.

If the filter hasn't started working after a few minutes and changing the settings doesn't help, contact Yandex Mail support using the feedback form at the bottom of the page.

Email messages are deleted or sorted into folders automatically

Make sure there are no mail filters that delete incoming messages or move them to other folders. If this is the case, try to disable them temporarily and see if the emails arrive to the Inbox folder.

If there is a filter that you didn't create, it was probably created automatically. This can happen if you move an email to another folder and click “Yes” on a pop-up that says “Move emails like this?”