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 : (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.


# Email transport
transport_email_enabled = true
transport_email_hostname =
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
#    Using SMTP with STARTTLS *and* SMTPS at the same time is *not* possible.

# Use SMTP with STARTTLS, see
transport_email_use_tls = false

# Use SMTP over SSL (SMTPS), see
# 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
From email address
Use HTML emails
SMTP Timeout

SMTP Auto TLS Support = True

what kind of email did you configure in the alert that you triggered? I guess it is 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.