#!/bin/sh

# Using splogger to send the log through syslog.
# Using procmail to deliver messages to /var/spool/mail/$USER by default.

exec env - PATH="QMAIL/bin:$PATH" \
qmail-start '|preline procmail' splogger qmail


syntax highlighted by Code2HTML, v. 0.9.1