At 01:00 AM 9/16/97 -0400, Timothy J Luoma wrote:
Can I do this:
:0fhw
* ^Message-ID: <>
|formail -A"X-Spam: NoMessageID"
Looks okay to me. Have you tried making a recipe file of it, and running
it against a mailbox full of spam?
The following are what I use for filtering junkmail messageids:
# Null body message-id
:0: $TEMP/twits$LOCKEXT
* ^Message-ID:\>*$
|/bin/gzip -9fc>>$MAILDIR/twits.gz
# Message-id header not even present.
:0: $TEMP/twits$LOCKEXT
* ! ^Message-Id:
|/bin/gzip -9fc>>$MAILDIR/twits.gz
# Compliments of Era...
# Apparently, a massively-misformed message-id. Typical of cyberpromo...
:0: $TEMP/twits$LOCKEXT
* ^Message-Id:[ ]*([^< ]|<>)
|/bin/gzip -9fc>>$MAILDIR/twits.gz
---
Please DO NOT carbon me on list replies. I'll get my copy from the list.
Sean B. Straw / Professional Software Engineering
Post Box 2395 / San Rafael, CA 94912-2395