Hi, is there a tool to analyse the kumomta's log?

i want to filter out blocked ip/bounce mails etc on a daily bases, and just wonder if there is a tool can do the job?

If not where I can what string i should fitler out for

  1. blocked ip/domain
  2. Bounced mail

Thanks in advance

If you want to get a nicely formatted view of all the logs, then Postmastery has a very nice and affordable ui that consumes our webhook.

Postmastery - KumoMTA Docs Postmastery - KumoMTA Docs

Professional email analytics delivered by Postmastery Console Postmastery - Email Delivery Monitoring

If you want to create a script that automatically updates your backend data from our webhook feed, that is doable, but hard to document because everyone does it differently.

  • setup a webhook
  • consume it somewhere
  • filter for type = Bounce/Transientfailure/OOB/Feedback or whatever you want to alter.
  • filter those for recipient
  • update your database

^^ so much of that varies between users , it is impossible to write a single implementation

Hi, thanks very much for detailed info, filter for type = Bounce/Transientfailure/OOB/Feedback or whatever you want to alter. ----could y please share more info about this, maybe there is a link to expalin the kumo log format and all types? right now I want to focus on outbound messages, and just need to create a simple script for this, thanks again

planning to build one sometime this year

I was able to filter the logs before pushing them to a webhook by creating a custom log_hooks:new in init.lua

That works too. There are at least 4 ways to do that, which makes it difficult to document a “standard”