procmail
[Top] [All Lists]

Re: Spam Recipe: Match Message-id: and From:

1998-04-28 16:43:05

Jacques Gauthier <jacques_g(_at_)yahoo(_dot_)com> said:

I don't know of many normal people who would
put three exclamation marks in their subject. It
is usually only spammers (and hyperactive people)
who do that.  I placed Exclamation an exclamation
mark filter so that anything that has !! in the subject
gets deleted.

I was thinking of an exclamation mark filter, I've scanned
my regular mail and found a small percentage with ! in
the subject, as opposed to my junk mail which is just
the opposite.

I have had good results with that filter.  Another
good filter is to check if FROM and TO are the same.

I'll do that, cheers.

One thing I've thought of is scanning the Received lines
for the domain in the From: line. If it is not there at
all, then junk it. i.e. my mail server didn't receive it
from their domain, neither did they forward it to a
smarthost that contains their domain either. Sounds like
quite a good bet. Anyone got a procmail filter for that?

Paul