How to filter out generator.kumomta.internal?

I’m implementing a webhook to process logs from KumoMTA. However, there’s an extra log from generator.kumomta.internal. Is there a way to filter these out, or do I need to handle this on the webhook’s end?

hmmm… looks like I can use Lua for this

not sure if I’m in the right direction

function connection:send(message)

Yes, in this case you could just add a quick bit of filtering before doing the send.

oki got it