J
J
jidckii2016-07-04 12:12:23
Email
jidckii, 2016-07-04 12:12:23

How to set up sending email from zabbix to exchange?

Hello.
I can’t set up sending email from zabbix to a local exchange mailer in any way.
this is what it swears at when the trigger fires,
Login denied: SSL certificate pr
while configured on the same ssmtp server

[email protected]:/etc/ssmtp$ cat ssmtp.conf 
#
# Config file for sSMTP sendmail
#
# The person who gets all mail for userids < 1000
# Make this empty to disable rewriting.
[email protected]*****.ru

# The place where the mail goes. The actual machine name is required no 
# MX records are consulted. Commonly mailhosts are named mail.domain.com
#mailhub=mail

# Where will the mail seem to come from?
#rewriteDomain=

# The full hostname
hostname=zabbix.***.loc

# Are users allowed to set their own From: address?
# YES - Allow the user to specify their own From: address
# NO - Use the system generated From: address
FromLineOverride=YES

root=zabbix.*****.ru #почтовый ящик zabbixa
mailhub=exchange.***.loc:465
#rewriteDomain=*****.ru
AuthUser=zabbix #
AuthPass=*****
FromLineOverride=YES
UseSTARTTLS=YES
UseTLS=YES

messages are sent successfully.
here everything seems to be set up the same way, but they don’t leave in any way ...
1467354548144.png
swears at
Login denied: SSL certificate pr
From the exchange side, I also can’t find where to see what happens during the connection, what swears at?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anatoly, 2016-07-05
Ivashina @tiv

From the server where Zabbix is ​​installed, try using telnet to send an email via Exchange teaseo.org.ua/smtp-telnet-kak-otpravit-pismo-s-pom...
If the recipient is in the same domain that serves Exchange, then in Exchange itself, no additional settings are required if the recipient is in an external domain - relay must be allowed on Exchange winitpro.ru/index.php/2011/11/16/nastrojka-relay-k... - you did not specify the Exchange version
Settings Zabbix:
SMTP server: exchangeserver.fqdn
Port: 25
SMTP helo: zabbixserver.fqdn
SMTP mail: [email protected]
Security: no
Authentication: no

E
Evgeny Serdyukov, 2017-06-19
@djonik1562

I also had a problem setting alerts. Somewhere I read that it is necessary to enter the password from the account every time you save the Email profile. If you do not enter it will be Login Denied. The standard notification through the mail.ru server works for me.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question