#! /bin/sh
#
# Copyright 2017 Double Precision, Inc.  See COPYING for
# distribution information.
#
# Start courierfilter, reading the configuration from
# ${sysconfdir}/courierd

prefix="/usr/local"
exec_prefix="/usr/local"
sysconfdir="/usr/local/etc/courier"
libexecdir="/usr/local/libexec"

cd ${prefix}

exec /usr/bin/env -i /bin/sh -c "set -a ; . ${sysconfdir}/courierd; ${libexecdir}/courier/courierfilter $*"
