SMTP Issues Using Graylog

I have been reading through the Forum and documentation but am still having issues getting Graylog to send emails for alerts.

This is the 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.137.88.31:25 (javax.mail.SendFailedException: Invalid Addresses; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to relay )

From Graylog I am able to TELNET into my SMTP server on port 25 and send a test email this way using the sending email and receiving email.

Config

# Email transport
transport_email_enabled = true
transport_email_hostname = 10.137.88.31
transport_email_port = 25
transport_email_use_auth = false
transport_email_protocol = smtp
transport_email_subject_prefix = [graylog]
transport_email_from_email = graylogevent@mycompany.example

# Encryption settings
#
# ATTENTION:
#    Using SMTP with STARTTLS *and* SMTPS at the same time is *not* possible.

# Use SMTP with STARTTLS, see https://en.wikipedia.org/wiki/Opportunistic_TLS
transport_email_use_tls = false

# Use SMTP over SSL (SMTPS), see https://en.wikipedia.org/wiki/SMTPS
# This is deprecated on most SMTP services!
#transport_email_use_ssl = false

I have tried toggling SSL and TLS in every form. Authentication should not be needed. I have other programs sending emails with very similar settings. Any help would be greatly appreciated.

Below is from another program that is working
How to deliver mail
From name
XXXX
From email address
GrayLogEvent@mycompany.example
Use HTML emails
SMTP Host
10.137.88.31
SMTP Port
25
SMTP Timeout
10

SMTP Auto TLS Support = True

what kind of email did you configure in the alert that you triggered? I guess it is graylog@example.com that your email server simple not allow?

Apologies, I have it working now. Thank you for the reply

maybe you can give others the option to learn? What was your problem?

I had a typo in the notification section I missed. The email address had an added letter. Oversight on my part.

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