Unable to send eMail through an Open SMTP server

When I try and send an eMail I get the following 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 : smtp.dbwsys.mb.ca:25 (com.sun.mail.util.MailConnectException: Couldn’t connect to host, port: smtp.dbwsys.mb.ca, 25; timeout 60000; nested exception is: java.net.UnknownHostException: smtp.dbwsys.mb.ca)

I know the host exists, and it is able to accept on port 25 from inside our network (outside goes to a different server) My server.conf is as follows:

# Email transport
transport_email_enabled = true
transport_email_hostname = smtp.dbwsys.mb.ca
transport_email_port = 25
transport_email_use_auth = false
transport_email_use_tls = false
transport_email_use_ssl = false
#transport_email_auth_username = you@example.com
#transport_email_auth_password = secret
#transport_email_subject_prefix = [graylog]
transport_email_from_email = graylog@dbwsys.mb.ca

# Specify and uncomment this if you want to include links to the stream in your stream alert mails.
# This should define the fully qualified base url to your web interface exactly the same way as it is accessed by your users.
transport_email_web_interface_url = http://10.10.10.2:9000

# The default connect timeout for outgoing HTTP connections.
# Values must be a positive duration (and between 1 and 2147483647 when converted to milliseconds).
# Default: 5s
#http_connect_timeout = 5s

# The default read timeout for outgoing HTTP connections.
# Values must be a positive duration (and between 1 and 2147483647 when converted to milliseconds).
# Default: 10s
#http_read_timeout = 10s

Can the host name of your SMTP server smtp.dbwsys.mb.ca be resolved from the machine running Graylog? It doesn’t look like it can.

Thank you… You were 100% correct, that is what I thought it was before. Fixed the issue, even updates software over the internat. Rebooted, and something set my DNS back to nothing. Very odd…

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