Yandex.Mail can automatically handle incoming emails using filters you set up:
Attention. The filters you enter will only work for new emails. Emails that are already in your mailbox won't be filtered automatically. If you want to apply a filter to existing emails, click Apply filter to existing messages on the page where you create and edit filters.
If you encounter any problems, see the following Help sections: