procmail
[Top] [All Lists]

Re: A little recipe question (KILL THE SPAM)

2001-06-28 11:17:16
On Thu, 28 Jun 2001, Louis LeBlanc wrote:
Cool.  I have a bunch with an msn address now, and I noticed that none
of it has a Recieved header with msn.com.  So I have modified it to
check for this header for each of the 'spammer hijacked' domains -
msn.com, yahoo, excite, and aol.  I have removed the X-Oringinating-IP
check from some, because I noticed Yahoo doesn't use it.

:0
* ^From(_dot_)*(_at_)aol\(_dot_)com
* !^Received:.*aol\.com
{
 EXTENSION=temp
}

If I have this recipe repeated for the various domains, it gets
tedious.  Is there a way to say match these domains in the From
header, and make sure you match the SAME domain in the Recieved
header?  I noticed a few messages that use several of them in various
headers.

:0
* ^From(_dot_)*(_at_)\/(aol\.com|msn\.com)
{
  :0
  * !^Received:.*$\MATCH
  {
    EXTENSION=temp
  }
}

Or something like that... Untested ofcourse...

-- 
Skill without imagination is craftsmanship and gives us many useful
objects such as wickerwork picnic baskets.  Imagination without skill
gives us modern art.
                -- Tom Stoppard

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>