procmail
[Top] [All Lists]

Re: Multiline Received header not being matched

2004-02-13 21:48:16
On 13 Feb 2004, at 08:58, Gary Funck wrote:
From: David Stone Friday, February 13, 2004 6:31 AM
:0f
* ^Received: from.* \(\[[0-9]+(.*$)[    ]+by example\.com
| formail -A "X-SpamTest: Sending MTA has no rDNS"

(The [] enclose a space and a tab)

SPACE=" "
TAB="      "
WS="$SPACE$TAB"

:0 h fw
* $ ^Received:[$WS]+from.*[$WS]\(\[[0-9].*\<by example\.com
| formail -A "X-SpamTest: Sending MTA has no rDNS"

or

:0 hfw
* ^Received:.*by example\.com
| formail....


or is there some purpose that \[[0-9] might serve?

--
Like the moment when the brakes lock/And you slide towards the big truck/You stretch the frozen moments with your fear


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