An error occurred while trying to send an email


(Mohamed Bahaa) #1

please help me with this error:

The Graylog server encountered an error while trying to send an email. This is the detailed error message: org.apache.commons.mail.EmailException: Sending the email to the following server failed : 10.39.3.175:25 (javax.mail.MessagingException: Could not connect to SMTP host: 10.39.3.175, port: 25; nested exception is: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?)

[root@Syslog_Trial ~]# telnet 10.39.3.175 25
Trying 10.39.3.175…
Connected to 10.39.3.175.
Escape character is ‘^]’.
220 smtp.etisalatdata.net ESMTP smtpd
quit
221 2.0.0 Bye
Connection closed by foreign host.
[root@Syslog_Trial ~]#


(Andrea) #2

Hi,
it seems your mail server do not use SSL/TLS.
If so, try to set:

transport_email_use_tls = false
transport_email_use_ssl = false

But if you have starttls on port 25 then

transport_email_use_tls = true
transport_email_use_ssl = false

Hope this helps :thinking:


(system) #3

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.