1
0
Fork 0
qmail/binm2+df.sh
D. J. Bernstein d15ee51c9d qmail 1.02
2016-01-17 17:37:05 +01:00

11 lines
395 B
Bash

#!/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 SVR4 binmail interface: /bin/mail -r
exec env - PATH="QMAIL/bin:$PATH" \
qmail-start '|dot-forward .forward
|preline -f /bin/mail -r "${SENDER:-MAILER-DAEMON}" -d "$USER"' \
splogger qmail