#!/bin/sh
#
#
. /etc/default/benno-milter

if [ "${SPOOLDIR}x" = "x" ]; then
    SPOOLDIR=/srv/benno/inbox
fi

if [ -z ${BENNOHOST} ];then
    echo "Configuration for archive host not set in /etc/default/benno-milter"
    exit 1
fi

/usr/sbin/benno-milter2smtp -H "${BENNOHOST}" -M "${SPOOLDIR}" -d


