-
Patch request
-
Resolution: Fixed
-
Critical
-
3.0.4
-
Sprint 15, Sprint 16
-
0.5
send_email_curl() prepends smtps:// for SSL/TLS email alerts.
This however does't work for sending through O365 or even Gmail:
e.g. curl with ssl to smtp://smtp.office365.com:587
# curl smtp://smtp.office365.com:587 -v --ssl * Rebuilt URL to: smtp://smtp.office365.com:587/ * Hostname was NOT found in DNS cache * Trying 2a01:111:f400:1429::2... * Connected to smtp.office365.com (2a01:111:f400:1429::2) port 587 (#0) < 220 CO2PR05CA020.outlook.office365.com Microsoft ESMTP MAIL Service ready at Thu, 28 Jul 2016 09:50:32 +0000
e.g. curl with ssl to smtps://smtp.office365.com:587 (what zabbix does if SSL/TLS is chosen
# curl smtps://smtp.office365.com:587 -v --ssl * Rebuilt URL to: smtps://smtp.office365.com:587/ * Hostname was NOT found in DNS cache * Trying 2a01:111:f400:243c::2... * Connected to smtp.office365.com (2a01:111:f400:243c::2) port 587 (#0) * successfully set certificate verify locations: * CAfile: none CApath: /etc/ssl/certs * SSLv3, TLS handshake, Client hello (1): * error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol * Closing connection 0 curl: (35) error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
I think it would be best to leave the protocol used to the user.
- is duplicated by
-
ZBX-12132 Zabbix and Office365
- Closed
-
ZBX-11380 not working send email autentication office 365 tls
- Closed
- part of
-
ZBXNEXT-3367 SMTP AUTH LOGIN support
- Open