How do folks monitor email delivery with yunohost ? With so many rejected emails, especially on home/small server that might be untrusted, an important aspect.
On my side, i just run grep "dsn=5" /var/log/mail.log and check the diagnosis alert about too much mail in the queue.
I discuss yesterday about omailgw allowing to follow with gui this kind of things, but it’s to create mail gateway not sure we could adapt this into yunohost.
I hope this answer was helpful. Please keep in mind that most of YunoHost’s development is done by volunteers, including this answer. Some of them earn less than the minimum wage in their country. If you can afford it, please consider donating to the 2026 fundraising campaign to help us keep this project going without putting anyone at risk.
For me stats are interesting, but you really need an alert if emails arn’t being delivered (rejected, queued etc) … maybe something for diagnostics ? Even looking for long mailq is pretty useful (or simple grep’s as you say).
postfix_exporter is a good fit if you already run Prometheus/Alertmanager; the useful part is alerting on queue size growth and deferred/bounced counts rather than dashboards. Set a threshold for messages stuck in the active/deferred queue and a separate alert for a sustained rise in bounces, otherwise you only notice when a user complains. It won’t explain why an individual message was rejected, so keep ljf’s grep dsn=5 for the details.
Actually I’m using home assistant to monitor a few /metrics endpoints. I just want an alert (signal message in my case) when something needs looking at.