> то самое установить, получить, успокоиться:
> https://www.zabbix.com/documentation/3.0/manual/appendix/ite... smtp
Creates a TCP connection and expects the first 3 characters of the response to be “220”, followed by a space, the line ending or a dash. The lines containing a dash belong to a multi-line response and the response will be re-read until a line without the dash is received. Then sends “QUIT\r\n”. Default port 25 is used if not specified.
это проверка из разряда "на отъе...ь" :D
То, что smtp сервер отправил нам smtp банер ничего не говорит о его работоспособности, от слова совсем.
$ telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mail.example.com ESMTP Postfix (Ubuntu)
helo localhost
250 mail.example.com
mail from:<>
250 2.1.0 Ok
rcpt to:root
451 4.3.5 Server configuration error$ telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mail.example.com ESMTP Postfix (Ubuntu)
helo localhost
250 mail.example.com
mail from:<>
250 2.1.0 Ok
rcpt to:root
554 5.7.1 <root>: Recipient address rejected: Access denied
Так что в идеале конечно, надо отправлять письма - на сторонний сервис (gmail/yandex/etc) и на домен, который данный postfix обслуживает, а затем проверять пришли ли письма.