procmail
[Top] [All Lists]

Re: original date (again)

2001-09-05 15:52:06
"Frank" <duranicub(_at_)gmx(_dot_)net> writes:
Hallo and thx for your Help but ...

[root(_at_)Frankux frank]# tail -f procmail.log
...
procmail: Assigning "MATCH="
procmail: Matched " Wed, 05 Sep 2001 18:25:32 +0200 (CEST)"
procmail: Match on "^Received:.*$(.*$)*Received:.*;\/[^;]+"
procmail: Assigning "DATE= Wed, 05 Sep 2001 18:25:32 +0200 (CEST)"
...
procmail: Assigning "TOUCHTIME=200109051825.32"
procmail: Assigning "LASTFOLDER=//home/frank/Maildir/new/_jP.8Hll7.Frankux"
From duranicub(_at_)gmx(_dot_)net  Wed Sep  5 18:25:32 2001
Subject: test
 Folder: //home/frank/Maildir/new/_jP.8Hll7.Frankux
1358
procmail: Assigning "LASTFOLDER=touch -t 200109051825.32
//home/frank/Maildir/new/_jP.8Hll7.Frankux"
From duranicub(_at_)gmx(_dot_)net  Wed Sep  5 18:25:32 2001
Subject: test
 Folder: touch -t 200109051825.32 //home/frank/Maildir/new/_jP.8Hll7.
1407
procmail: Executing
"touch,-t,200109051825.32,//home/frank/Maildir/new/_jP.8Hll7.Frankux"

------------------------------------------------------------
the mails comes still at the Date Procmail trasferred there
------------------------------------------------------------
...
:0
* ^Received:.*$(.*$)*Received:.*;\/[^;]+
{
   DATE = $MATCH
...

Okay, so the second Received: header field doesn't contain the date you
want the messages to be tagged with.  Which one does?

To put it another way: given a message that has been transfered, where
do you find the 'real' arrival date?


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