Capture unique agument

How to capture unique argument in logs?

Hey there @youthful-zorse, thanks for posting. To ensure the fastest resolution to your issue, please review the following and follow all the steps:

below is my telnet response I want to caputre unique argumnet

X-API-Header:sample
Subject:test email

this is an test email.

.

as per the example above we can see X-API-Header is pass I want to capture that in the logs how can I achieve

When you say “capture” do you mean log? If so take a look at this doc: https://docs.kumomta.com/userguide/configuration/logging/#logging-message-headers

kumo.configure_local_logs {
  -- ..
  headers = { 'Subject', 'X-Client-ID' },
}

yes I mean log

I want to capture that

I have got that

thank you