summaryrefslogtreecommitdiff
path: root/proc+df.sh
diff options
context:
space:
mode:
Diffstat (limited to 'proc+df.sh')
-rw-r--r--proc+df.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/proc+df.sh b/proc+df.sh
new file mode 100644
index 0000000..eb9e92c
--- /dev/null
+++ b/proc+df.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# Using splogger to send the log through syslog.
+# Using dot-forward to support sendmail-style ~/.forward files.
+# Using procmail to deliver messages to /var/spool/mail/$USER by default.
+
+exec env - PATH="QMAIL/bin:$PATH" \
+qmail-start '|dot-forward .forward
+|preline procmail' splogger qmail