Can not activation mail to smtp.yandex.ru mail server

You can try connecting from inside the container. It’s possible that you have some docker networking issue.