summaryrefslogtreecommitdiff
path: root/binm1+df.sh
blob: 0ff1a6803c50831676a590ccd1695bedec47ee43 (plain)
1
2
3
4
5
6
7
8
9
10
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