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.
# 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 = firstname.lastname@example.org # 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 email address
Use HTML emails
SMTP Auto TLS Support = True