procmail
[Top] [All Lists]

Checking multiple lines in header

1999-10-10 04:06:08
Hi,

A thing i couldn't find in the FAQ although i'm pretty sure it is
mentioned somewhere... How can i check each of the Received lines in a
header? I guess that if you have a header like this:

  Received: from smtp2.xs4all.nl (smtp2.xs4all.nl [194.109.6.52])
        by sisterray.xs4all.nl (8.9.3/8.9.3) with ESMTP id VAA01828
        for <rejo(_at_)sisterray(_dot_)xs4all(_dot_)nl>; Mon, 4 Oct 1999 
21:40:32 +0200
  Received: by smtp2.xs4all.nl (8.9.3/8.9.3) id VAA05104
        for rejo(_at_)sisterray(_dot_)xs4all(_dot_)nl; Mon, 4 Oct 1999 21:00:33 
+0200 (CEST)
  Received: from smtp3.xs4all.nl (smtp3.xs4all.nl [194.109.127.49])
        by smtp2.xs4all.nl (8.9.3/8.9.3) with ESMTP id VAA05095
        for <rejo(_at_)sisterray(_dot_)xs4all(_dot_)nl>; Mon, 4 Oct 1999 
21:00:32 +0200 (CEST)

and a recipe like this:

  :0
  * ^Received [...]

it'll only check the first occurence of the 'Received' field. Or does it
check all of them?

    -Rejo.

-- 
= Rejo Zenger  [Sister Ray Crisiscentrum]               
rejo(_at_)sisterray(_dot_)xs4all(_dot_)nl
= http://mediaport.org/~sister                PGP: RSA FAE40065, DSS/DH 2C8059B5
--------------------------------------------------------------------------------

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