Hi there!

While I wait for Jason to come back and take a look at my previous two 
questions, I wonder if someone could help me with a Python regex question. On 
the following header, I want to match the very first (from top to bottom) if 
it contains certain IP. Below is the header and my current 'header' regex 
(from INCOMING_FILTER):

Received: from atlantis.bus.ucf.edu (atlantis.bus.ucf.edu [132.170.121.25])
        by us.olimpus.us (8.12.8/8.12.8) with ESMTP id h5QGu3Ow008784
        (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO)
        for <[EMAIL PROTECTED]>; Thu, 26 Jun 2003 12:56:04 -0400
Received: from trc106021 (dyn125-212.bus.ucf.edu [132.170.125.212])
        (authenticated bits=0)
        by atlantis.bus.ucf.edu (8.12.8/8.12.8) with ESMTP id h5QGuSXO007279
        (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO)
        for <[EMAIL PROTECTED]>; Thu, 26 Jun 2003 12:56:28 -0400


headers 'Received:.*132\.170\.121\.25' accept


I only want a match on the first Received, not the second. What is happening 
now is that the first is not match, but if the second has the same IP it will 
match.

Thanks in advance,


-- 
David Collantes - College of Business Administration, UCF
Please do not forward, Cc or Bcc this email to anyone without my consent.
This email was meant for you and no one else, unless othewise specified.

_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to