errormsg='network read error: Connection reset by peer'The solution was as follows, in /home/bitrix/.msmtprc settings
# smtp account configuration for defaultparameter tls_starttls we change from on to off, i.e. you should get it. tls_starttls off
account default
logfile /home/bitrix/msmtp_default.log
host smtp.yandex.ru
port 465
from **********
aliases /etc/aliases
keepbcc off
auth on
user ***********
password ************
tls on
tls_certcheck off
tls_starttls on
after that, we return to the System Check and successfully pass the test.