I can’t seem to get my email alerts working. I downloaded and imported an OVA template to vmware. When I click test alert it says: Sending test alert notification failed with message: Sending the email to the following server failed : 10.1.1.80:25
Here are my settings
transport_email_enabled = true
transport_email_hostname = ipaddress
transport_email_port = 25
transport_email_use_auth = true
transport_email_use_tls = true
transport_email_use_ssl = true
transport_email_auth_username = noreply@dot com
transport_email_auth_password = xxxxx
transport_email_subject_prefix = [graylog]
transport_email_from_email = graylog@example dot com
If I tcpdump you can see the connection is being made when I hit test.
If I telnet to the exchange server from the command line it works just fine and I do get the email to my inbox
ubuntu@graylog:/opt/graylog/conf$ telnet 10.1.1.80 25
Connected to 10.1.1.80.
Escape character is ‘^]’.
220 EXCHANGESERVER.local Microsoft ESMTP MAIL Service ready at Tue, 10 Apr 2018 08:09:45 -0500
250 EXCHANGESERVER.local Hello [10.2.2.53]
MAIL FROM: graylog@dot com
250 2.1.0 Sender OK
RCPT TO:myemailaddress@dot com
250 2.1.5 Recipient OK
354 Start mail input; end with .
SUBJECT: sending a test email
Hello from this graylog test setup
250 2.6.0 <ace82be2-774f-4682-b17f-26d7272c1c24@EXCHANGESERVER local> [InternalId=5108656] Queued mail for delivery
221 2.0.0 Service closing transmission channel
Connection closed by foreign host.
Is there any other logs on the system I can look at to see why it is failing? If I had to guess the exchange server is rejecting the test email alert.