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 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

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

(system) closed #3

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