#! /bin/sh -

if [ -z "$ZCONFIG" ] ; then
    ZCONFIG=/usr/local/etc/zmailer/zmailer.conf
fi

. $ZCONFIG

if [ "$1" = "" ]; then
	$MAILBIN/ta/expirer "-?"
	exit 0
fi

cd $POSTOFFICE/transport || exit 1

find * -name "[1-9]*" -type f -print |  \
	$MAILBIN/ta/expirer "$@"    > /dev/null
