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

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?

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

Feel free to create a feature request at Issues · Graylog2/graylog2-server · GitHub.

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