procmail
[Top] [All Lists]

Re: matching Received (solved)

2006-01-10 12:13:17

On Tue, 10 Jan 2006, Mr Duck wrote:

Ruud H.G. van Tol wrote:
Udi Mottelo schreef:
* ! ^Received: .*$Received: .*\[65\.17\.84\.226\].*$
IMO this is clearer:
   * ! ^Received: .*\
       ^Received: .*\[65\.17\.84\.226\]

  The problem that I see with Udi's original idea is this:

  What guarantee is there that the second Received line is
the one that will contain the correct IP?  Whose to say
that the first line won't be the right match?  Or perhaps
a third one?

        It was misunderstand, I thought that you are looking
        for specific IP in specific Received record, if not,
        Kreme's idea is better.

Bye,
  Udi

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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