put the mail server on a separate drop on the digital ocean and connected the domain accordingly. Also on Yandex made mail domain. I started to install and configure my mail server (but when I check it, I enter the echo "hello body!" | Mail -s "Hello subject!" Command yaroslav*******@mail.ru

Nothing comes to the mail, and the following are in the logs (the status is not sending to the opposite value, and in realy there is no mx mail entry to send), in which I made a mistake (if there is little information, write something else you need to write, thanks for the help ! Record in logs

root@mail-*****bary:~# tail -f /var/log/mail.log Apr 11 15:06:49 mail-*****tbary postfix/smtp[2962]: connect to gmail-smtp-in.l.google.com[2607:f8b0:400e:c09::1a]:25: Network is unreachable Apr 11 15:07:06 mail-*****bary postfix/smtp[2926]: 3562B81CCA: to=<yaroslav*****@mail.ru>, relay=none, delay=60, delays=0.02/0.02/60/0, dsn=4.4.1, status =deferred (connect to mxs.mail.ru[94.100.180.104]:25: Connection timed out) 
  • Judging by the logs, the smtp-client cannot establish a connection with hosts from the Internet. See network settings / network packet filtering rules. Try to enter the console and type telnet mxs.mail.ru 25 - Jigius
  • entering this command, everything stops at this "root @ mail - ***** bary: ~ # telnet mxs.mail.ru 25 Trying 94.100.180.104 ... - Prakcto leb
  • Sometimes a second ip appears, there is nothing in the logs - Prakcto leb
  • exit telnet - press Ctrl + ] and набрать quit . You currently have a problem with your host's network connections outside, not with posttfix. Need to deal with this - Jigius pm
  • I apologize, maybe I don’t understand something, but the command was not found ( - Prakcto leb

0