procmail
[Top] [All Lists]

help in matching multi line "Received" portion of header?

2000-09-23 00:07:05
So I regularly get large amounts of spam to a certain address,
but the address they are mailing me at does not always appear
in the "To:" fields.  an example:


Received: from local (1Cust21.tnt1.manchester.nh.da.uu.net [63.21.107.21])      
             
        by flophouse.com (8.9.3/8.9.3) with SMTP id OAA33604                    
             
        for <iwoulddie4u(_at_)delirious(_dot_)com>; Fri, 22 Sep 2000 14:59:04 
-0700 (PDT)               
        (envelope-from melinda28(_at_)zxmail(_dot_)com)                         
                        
From: melinda28(_at_)zxmail(_dot_)com                                           
                        
To: @delirious.com                                                              
             
Subject: Distilled & Filtered Water  The Right Choice                           
             
Date: Fri, 22 Sep 2000 17:59:42 -0500                                           
             



The "To:" field varies wildly, but the address 
"iwoulddie4u(_at_)delirious(_dot_)com"
or "iam(_at_)delirious(_dot_)com" or whatever
always appears in the third or so line of the Received portion.

How do I write a recipe to match on the 3rd line of the
Received field so I can store it somewhere
I will never see it?

thanks

 - dan



_______________________________________________
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>