#!/bin/sh

SPAMC=/usr/bin/spamc
CALL_SPAMC="no"				# should spamc run?
MAX_SIZE=256000				# max letter size to filter

[ "no" = ${CALL_SPAMC} ] && cat - && exit 0

util="${SPAMC} -s ${MAX_SIZE}"

until [ -z "$1" ]; do util="${util} \"$1\""; shift; done

eval ${util}
