summaryrefslogtreecommitdiff
path: root/binm3.sh
blob: eb139e6b7f974e1b150e4683ccf16df3e340d16e (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 V7 binmail interface: /bin/mail -f

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