A
A
Aricus2021-12-23 13:11:51
Email
Aricus, 2021-12-23 13:11:51

BitrixVM: why is smtp.yandex.ru not found when sending mail?

There is a site on 1s-bitrix. Now it is under development, and it is running on BitrixVM (windows 7). I'm trying to get my mail forwarding. Set up according to instructions . /etc/msmtprc (something for***):

# smtp account configuration for default
account default
logfile /home/bitrix/msmtp_default.log
host smtp.yandex.ru
port 465
from [email protected]***.ru
aliases /etc/aliases
keepbcc off
auth on
user [email protected]*** .ru
password 4***

tls on
tls_certcheck off

When testing the system, mail is not sent. Here is what was found in the logs:
Dec 19 00:26:17 host=smtp.yandex.ru tls=on auth=on [email protected]***.ru [email protected]***.ru [email protected],[email protected] bitrixsoft.com errormsg='cannot locate host smtp.yandex.ru: Name or service not known' exitcode=EX_NOHOST

How to fix it?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question