chatmail
chatmail copied to clipboard
Setup monitoring
postqueue -j
prints postfix queue in JSON, can be redirected into wc -l
to count the number of messages and counted with RRDtool or some monitoring system based on it, but we can also use https://oss.oetiker.ch/rrdtool/prog/rrdpython.en.html directly.