summaryrefslogtreecommitdiff
path: root/binm1.sh
blob: db79cbd5fe6ad9c4a42803d10dd4148ac49c3cde (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

# Using splogger to send the log through syslog.
# 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 \
'|preline -f /usr/libexec/mail.local -r "${SENDER:-MAILER-DAEMON}" -d "$USER"' \
splogger qmail