I have a chatmail relay (https://deltachat.kz ). I want to know how many users are registered on my chatmail relay. Following ChatGPT instructions, I tried sudo journalctl -u dovecot --no-pager -n 50, but it shows only last actions on the relay. Is there a way to know an exact amount of registered users?
WofWca
December 13, 2025, 8:35am
2
https://deltachat.kz/metrics
But apparently this is going to get removed soon, and the new way is http://{{mtail_address}}:3903/metrics with mtail_address = 127.0.0.1 in chatmail.ini:
# Address on which `mtail` listens,
# e.g. 127.0.0.1 or some private network
# address like 192.168.10.1.
# You can point Prometheus
# or some other OpenMetrics-compatible
# collector to
# http://{{mtail_address}}:3903/metrics
# and display collected metrics with Grafana.
#
# WARNING: do not expose this service
# to the public IP address.
#
# `mtail is not running if the setting is not set.
# mtail_address = 127.0.0.1
main ← link2xt/remove-metrics
opened 12:14PM - 29 Oct 25 UTC
Similar data is already generated by fsreport
available for the relay operator
…
and metrics for prometheus are generated by mtail.
Closes <https://github.com/chatmail/relay/issues/431>
Related topics:
Hi,
I just played around a little with a chatmail server and got it running.
Now I wonder how I can monitor the usage. Of course nothing invasive, just the number of accounts and the numbers of in- and outgoing messages.
I already tried the solutions I found on the internet but could not find any logs or receive other information about the status.
I installed the chatmail server on a Debian 12 VPS.
Dex
Hey
I’m currently playing around with the metrics and creating a dashboard for Grafana. Nothing fancy, just a quick start so far.
Then I came across this Monitor Chatmail usage and
Remove `/metrics` · Issue #431 · chatmail/relay · GitHub
Now I’m curious, are there any changes coming soonish?
Comparing mtail and chatmail-metrics, 1 account has been created according to mtail and 40 according to chatmail-metrics.
I had a quick look under /usr/local/lib/chatmaild/venv/bin/chatmail-metrics, /h…