diff options
Diffstat (limited to 'binm1+df.sh')
| -rw-r--r-- | binm1+df.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/binm1+df.sh b/binm1+df.sh new file mode 100644 index 0000000..0ff1a68 --- /dev/null +++ b/binm1+df.sh | |||
| @@ -0,0 +1,11 @@ | |||
| 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 binmail to deliver messages to /var/spool/mail/$USER by default. | ||
| 6 | # Using BSD 4.4 binmail interface: /usr/libexec/mail.local -r | ||
| 7 | |||
| 8 | exec env - PATH="QMAIL/bin:$PATH" \ | ||
| 9 | qmail-start '|dot-forward .forward | ||
| 10 | |preline -f /usr/libexec/mail.local -r "${SENDER:-MAILER-DAEMON}" -d "$USER"' \ | ||
| 11 | splogger qmail | ||
