#------------------------------------------------------------------------
# Virii
#------------------------------------------------------------------------
# catch klez
:0 HB
* ^Content-Type:.*(application|audio|multipart)
* name=.*\.(bat|exe|pif|vbs|swf|scr)
/dev/null
# catch klez
:0 B
* ^135AAItEjhyJRI8ci0SOGIlEjxiLRI4UiUSPFItEjhCJRI8Qi0SODIlEjwyLRI4IiUSPCItE$
/dev/null
#------------------------------------------------------------------------
# spam -- misc filters that are 100% spam always.
#------------------------------------------------------------------------
:0 B:
* ^THE TROJAN HORSE\.\.\.
mail/caughtspam
:0:
* ^Subject: .*Hilarious Prank Call Service
mail/caughtspam
#------------------------------------------------------------------------
# Mailing lists get funnelled off to their own folder so I can
# look at them all at once, and so they don't get archived.
#------------------------------------------------------------------------
# Yahoo digests
:0:
* ^From: .*@yahoogroups.com
* ^Subject: .*Digest Number
mail/lists
# Yahoo lists that are non-digest
:0:
* ^TO@yahoogroups.com
mail/lists
:0:
* ^From: xemacs-design-request@xemacs.org
mail/lists
#------------------------------------------------------------------------
# Spamassassin
#------------------------------------------------------------------------
:0fw
| spamc
# I get a metric ton of asian-language spam
:0
* ^X-Spam-Status: Yes.*SUBJ_FULL_OF_8BITS
/dev/null
:0:
* ^X-Spam-Status: Yes
mail/caughtspam
#------------------------------------------------------------------------
# Archive all mail that has gotten this far, and that isn't bigger than
# a meg (no need to archive huge attachments) into this month's archive
# folder. The "c" operates on a copy of the mail so mail still passes
# through to my inbox.
#------------------------------------------------------------------------
DATESTAMP=`date +%Y-%m`
MONTHFOLDER=mail/archive/$DATESTAMP
:0 c:
* < 1000000
${MONTHFOLDER}
back to "gse vs. procmail"