I am trying to setup our Graylog server to sent notification without any authentication as we can spare an O365 License. We have a relay server and I would like to make use of that. but I can’t get it work without credentials. Can someone please guide me on the setup.
Its working with credentials(I do not wish to allocate a user license for this), I need to get alert from it using the internal relay server without authentication.
I don’t use authentication to smtp relay and works fine in graylog 3.1.3. I use postfix with STARTTLS support as smtp relay and it works fine. I have setup these parameters:
Check if you find line: 250-STARTTLS. If yes, you can enable: transport_email_use_tls = true
Another check would be to connect using startls using openssl if you connect correctly:
If no, your smtp relay probably supports only SMTPS, try use transport_email_use_ssl = true.
Check if you setup correct parameter transport_email_from_email, if your smtp relay allow this email address as a sender (i see you use .com in this parameter and .net on another, is it correct?)
Check if you smtp relay doesn’t require full hostname as HELO parameter, because graylog use only graylog as helo.
Finally I was able to find the cause and fix it, this was a firewall rule Issue from our side.
Without you help I would have not have fixed it.
Thanks a lot shoothub!
The guide you provided about a relay this also help me out in configuring the TLS settings on relay.