How to pass an X-Header to Graylogs SMTP configuration?


(Andy) #1

I have Graylog running in Docker. I know there are several GRAYLOG_TRANSPORT_EMAIL_ environment variables.

What I’m looking for is a way to add a custom SMTP header.

I’m using sendgrid.com to send my emails, and they allow adding categories to the emails by adding a custom header called “X-SMTPAPI” (contains a JSON string like this: {“category”: “Example Category”}). See https://sendgrid.com/docs/API_Reference/SMTP_API/categories.html

How would I do this in Graylog?


(Jochen) #2

That’s not supported by the Email Alarm Callback shipped by Graylog.

Feel free to create a feature request at https://github.com/Graylog2/graylog2-server/issues.


(system) #3

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