summaryrefslogtreecommitdiff
path: root/binm2.sh
blob: 7905308193b41a79a274f09c4089224e10a6f200 (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 SVR4 binmail interface: /bin/mail -r

exec env - PATH="QMAIL/bin:$PATH" \
qmail-start \
'|preline -f /bin/mail -r "${SENDER:-MAILER-DAEMON}" -d "$USER"' \
splogger qmail