# #
#
# NOTE: If you're viewing this file with a web browser, some of the 
#       recipes will not display properly because of the "<" and 
#       ">" characters.  In that case, view the source of this file.
#
# spam/tag-xmas "procmailrc" file
#
# These recipes are included automatically by tag-radical, so
# TO USE THESE RECIPES, put
#    INCLUDERC=$tag_dir/tag-radical
# into your "main" procmail file (after the tag file).
#
# This file will tag any message that seems to be
# a large binary Christmas greeting.
# THIS FILE MAY CATCH OTHERWISE LEGITIMATE MAIL -- USE AT YOUR
# OWN RISK!
#
# 1998/12/08 Anne Bennett
#   - Initial set-up
# 1999/11/11 Anne Bennett
#   - Added variable for location of includes directory (tag_dir).
# 1999/11/11 Anne Bennett
#   - (Last update)
#
# ----------- "spam" series configuration done in "spam/tag"

MAX_XMAS_SIZE="500000"

:0 HBf
* $>$MAX_XMAS_SIZE
* ^Content-Type: application/octet-stream
* ^Content-Disposition: attachment; filename="tree.exe"
| formail -b -f -A "$trash_header ordinary tag-xmas tree.exe"

:0 HBf
* $>$MAX_XMAS_SIZE
* ^Content-Type: application/octet-stream
* ^Content-Disposition: attachment; filename="snowman.avi"
| formail -b -f -A "$trash_header ordinary tag-xmas snowman.avi"

:0 HBf
* $>$MAX_XMAS_SIZE
* ^Content-Type: application/octet-stream
* ^Content-Disposition: attachment; filename="rudolph.exe"
| formail -b -f -A "$trash_header ordinary tag-xmas rudolph.exe"