summaryrefslogtreecommitdiff
path: root/hosts/denpa/scripts/mail-stats
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/denpa/scripts/mail-stats')
-rwxr-xr-xhosts/denpa/scripts/mail-stats2
1 files changed, 2 insertions, 0 deletions
diff --git a/hosts/denpa/scripts/mail-stats b/hosts/denpa/scripts/mail-stats
new file mode 100755
index 0000000..4f703a1
--- /dev/null
+++ b/hosts/denpa/scripts/mail-stats
@@ -0,0 +1,2 @@
+#! /usr/bin/env sh
+sudo journalctl --no-tail _SYSTEMD_UNIT=postfix@-.service | sudo pflogsumm