summaryrefslogtreecommitdiff
path: root/binm1+df.sh
diff options
context:
space:
mode:
Diffstat (limited to 'binm1+df.sh')
-rw-r--r--binm1+df.sh11
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 @@
+#!/bin/sh
+
+# Using splogger to send the log through syslog.
+# Using dot-forward to support sendmail-style ~/.forward files.
+# Using binmail to deliver messages to /var/spool/mail/$USER by default.
+# Using BSD 4.4 binmail interface: /usr/libexec/mail.local -r
+
+exec env - PATH="QMAIL/bin:$PATH" \
+qmail-start '|dot-forward .forward
+|preline -f /usr/libexec/mail.local -r "${SENDER:-MAILER-DAEMON}" -d "$USER"' \
+splogger qmail