Would it be possible to somehow fetch all emails processed by KumoMTA (preferably with some filtering), including their status of delivery? My use case is that I would like to show them in a web ui.
Hey there @astounding-quail, thanks for posting. To ensure the fastest resolution to your issue, please review the following and follow all the steps:
There is no API for that, you’ll need to capture log data, store it, and query it from there. We have the metrics API, but that is for live data: https://docs.kumomta.com/reference/http/metrics/
FWIW, we use a “disposable email system” for that sort of thing when needed, search github for inbucket
I think this is more like showing stats for users, but Inbucket does look handy.
Hmm, sounds pretty complicated.
Yeah, web UI was later in the roadmap because most of our target users are replacing an existing MTA, which means they already have a web UI for their users powered by their database, and just need to change MTA and map the data.
Aah, yeah, I’m currently using Postal (https://github.com/postalserver/postal), but would love to build my own UI (and having more control over the MTA)
Yeah, our other @distinctive-cougar is with Postmastery, and they do provide a deliverability dashboard that I believe may be of interest: Professional email analytics delivered by Postmastery Console
Just to be clear, are you looking to all of the actual messages or the disposition of the messages? Are you trying to run a report to see how many of “Campaign A” were delivered and bounced and are still delayed?
Or are you looking for an archive solution ?
My use case is that our customers would be able to send transactional emails through us/KumoMTA, and I would like to show all processed emails through a web ui. So a customer can see whether or not the mail has been sent out, or bounced, for example. If that makes sense.
interesting they chose “Postal” given that there’s already another mail tool called “postal” (and a counterpart called “rabid”) written by Russell Coker to stress test mail systems.
Yeah, then I second @yearning-hyena ‘s mention of the Postmastery analytics UI. If you are planning to build your own, I suggest leveraging the Prometheus integration or pushing webhooks to an elk stack
Meant to share this the other day.