diff options
Diffstat (limited to 'proc+df.sh')
| -rw-r--r-- | proc+df.sh | 9 |
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 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | # Using splogger to send the log through syslog. | ||
| 4 | # Using dot-forward to support sendmail-style ~/.forward files. | ||
| 5 | # Using procmail to deliver messages to /var/spool/mail/$USER by default. | ||
| 6 | |||
| 7 | exec env - PATH="QMAIL/bin:$PATH" \ | ||
| 8 | qmail-start '|dot-forward .forward | ||
| 9 | |preline procmail' splogger qmail | ||
