Ad Widget

Collapse

Email media type does not works : SSL connect error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • llinty
    Junior Member
    • Jan 2024
    • 14

    #1

    Email media type does not works : SSL connect error

    Hello,

    I have configured my media type emai las following. Copy/paste credentials are ok. I have this mesage when I click on "Test"

    SSL connect error: OpenSSL/3.0.11: error:0A00010B:SSL routines::wrong version numberhello,

    Please advise.
    Attached Files
  • tim.mooney
    Senior Member
    • Dec 2012
    • 1427

    #2
    You've selected explicit SSL/TLS on port 587, rather than STARTTLS on port 587. That's possible, but it's what I would call a non-standard configuration. The error you're getting is similar to what I would expect if port 587 is plaintext (with possible support for STARTTLS) rather than SSL/TLS. You probably want to try switching the Zabbix config to STARTTLS and see if that works.

    You can verify what the remote port needs using either telnet or openssl (the s_client subcommand).

    You may want to read up on STARTTLS vs. SSL/TLS, perhaps something like https://mailtrap.io/blog/starttls-ssl-tls/

    Also, if you're going to require encryption, why not also check "verify host"? Are you using self-signed certs on the remote mail server?​

    Comment


    • llinty
      llinty commented
      Editing a comment
      Hi Tim,

      thank you for your message. I agree that it should be SSL/TLS. When I choose this option and perform a email test it says : An authentication function returned an error

      I'm sure that credential are correct because I'm using a password manager software. It wokrs with these credentials on Outlook - Web Access. I also have tick on Verify Host option.

      I can connect to SMTP 587 using openssl.

      openssl s_client -starttls smtp -connect my.stmp.server:587
      CONNECTED(00000003)
      ...
Working...