# Exim filter
#
# Test this with
# /usr/sbin/exim -bF eximfilter_generatecksum < test-mail
#
if not first_delivery
then
  finish
endif

if error_message and $header_from: contains "Mailer-Daemon@"
then
  # looks like a real error message - just ignore it
  finish
endif

# if you want to keep copies of the spam then use unseen in front
# of the pipe command:
unseen pipe "/usr/local/spamy/spamygetcksums -a /usr/local/spamy/tmp/sums.txt"
#
