The Chatmail notification proxy is deployed as a central service on https://notifications.delta.chat
The notification proxy is a small Rust program that forwards "device tokens" to Apple and Google "Push Services" that in turn wake up the clients using Chatmail core on user's devices.
The certificate file provided must be a .p12 file. Instructions for how to create can be found here.
$ cargo build --release
$ ./target/release/notifiers --certificate-file <file.p12> --password <password>$ curl -X POST -d '{ "token": "<device token>" }' http://localhost:9000/registerTo enable OpenMetrics (Prometheus) metrics endpoint,
run with --metrics argument,
e.g. --metrics 127.0.0.1:9001.
Metrics can then be retrieved with
curl http://127.0.0.1:9001/metrics.