I build and configure the Graylog server on Ubuntu 16.04 platform. Unfortunately, I do have a problem with configuring alert via e-mail. When I am doing test I do get an 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.office365.com:587 (javax.mail.MessagingException: Could not connect to SMTP host: smtp.office365.com, port: 587; nested exception is: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?)
Please, can you tell me how I can use Office 365 e-mail for alerting. I did use my organisation e-mail address: graylog@********.co.uk
Thank you for your reply. As a fact I did look through documentation and I did configure server.conf with office 365 smtp settings and my alert@*****.co.uk email. I can confirm that I can access from my server office 365 smtp service:
your graylog server.log might reveal the issue. But the configuration that is needed is written down in the linked posting in this community. Including the pitfalls.