Carlos Eduardo R. L. de Miranda schreef:
* ^Subject:*wrote:*
That tests for 0-or-more colons, in the middle and at the end. What you
meant was:
* ^Subject:.*wrote:$
But it's better to test a little more. In such a message you'll find:
Received: from 63.228.246.195 (HELO mail.XXXX.com)
by example.com with esmtp (6(T,>G92 8K2W)
id 0S:S9K-8K@/0.-9A
for munged(_at_)example(_dot_)com; Mon, 27 Nov 2006 11:53:32 -0060
From: "Susana Dalton" <deboraknke3omevc(_at_)XXXX(_dot_)com>
To: <munged(_at_)example(_dot_)com>
Subject: Susana wrote:
Date: Mon, 27 Nov 2006 11:53:32 -0060
Message-ID: <01c7121a$a9ac27b0$6c822ecf(_at_)deboraknke3omevc>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Windows-1252"
Content-Transfer-Encoding: 7bit
So the last Received header is bizar, but holds the domain of the
To-address after the "by" and the full To-address after the "for".
Further: the domain of the mail server "XXXX.com" returns as the domain
of From-address; the local part of the From-address (that starts with
"deborah") returns as host-part of the Message-ID; the Date often has a
strange non-00 ending (I've seen 60 and 80 too); the CTE is 7bit but an
8bit charset is suggested.
:0
* 1^1 ^Received:\/.*
{ H_RCVD_LAST = $MATCH }
:0
* H_RCVD_LAST ?? ()\(HELO mail\.\/[^)]+
{ RL_HELO_DOMN = $MATCH }
etc.
--
Groet, Ruud
____________________________________________________________
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