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