summaryrefslogtreecommitdiffstats
path: root/binm1.sh
diff options
context:
space:
mode:
Diffstat (limited to 'binm1.sh')
-rw-r--r--binm1.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/binm1.sh b/binm1.sh
new file mode 100644
index 0000000..db79cbd
--- /dev/null
+++ b/binm1.sh
@@ -0,0 +1,10 @@
1#!/bin/sh
2
3# Using splogger to send the log through syslog.
4# Using binmail to deliver messages to /var/spool/mail/$USER by default.
5# Using BSD 4.4 binmail interface: /usr/libexec/mail.local -r
6
7exec env - PATH="QMAIL/bin:$PATH" \
8qmail-start \
9'|preline -f /usr/libexec/mail.local -r "${SENDER:-MAILER-DAEMON}" -d "$USER"' \
10splogger qmail