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

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

cd ${prefix}

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