binm2.sh (311B)
1 #!/bin/sh 2 3 # Using splogger to send the log through syslog. 4 # Using binmail to deliver messages to /var/spool/mail/$USER by default. 5 # Using SVR4 binmail interface: /bin/mail -r 6 7 exec env - PATH="QMAIL/bin:$PATH" \ 8 qmail-start \ 9 '|preline -f /bin/mail -r "${SENDER:-MAILER-DAEMON}" -d "$USER"' \ 10 splogger qmail