Finally I made it work, the problem with Yandex was DISCOURSE_NOTIFICATION_EMAIL should be same as DISCOURSE_SMTP_USER_NAME
Finally I made it work, the problem with Yandex was DISCOURSE_NOTIFICATION_EMAIL should be same as DISCOURSE_SMTP_USER_NAME