T
T
tartarelin2015-12-02 12:26:14
Exim
tartarelin, 2015-12-02 12:26:14

Why can't Zabbix send email notifications?

I just can’t figure it out, I set up notifications by mail, in the image and likeness, as on another server, it works on another, but not on this one, in the log
/var/log/zabbix/zabbix_server.log
1527:20151202:114811.622 cannot connect to SMTP server "localhost": cannot connect to [[localhost]:25]: [111] Connection refused
but telnet quietly connects
telnet localhost 25
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 ftp.keramatika.ru ESMTP Exim 4.82 Ubuntu Wed, 02 Dec 2015 12:03:09 +0300
HELO 127.0.0.1 250 server.domain.ru
Hello 127.0.0.1 [127.0.0.1]
echo body | mail -r [email protected] -s subject [email protected]
then it comes

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
M
Mystray, 2015-12-02
@tartarelin

Zabbix seems to be trying to connect over IPv6, while the MTA only listens on IPv4

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question