procmail
[Top] [All Lists]

Re: original date (again)

2001-09-05 09:38:45
Hallo and thx for your Help but ...

[root(_at_)Frankux frank]# tail -f procmail.log
procmail: No match on "^CCpostfix-users@"
procmail: No match on "^CCcourier-users@"
procmail: No match on "^CCnetfilter@"
procmail: No match on "^CCext3-users@"
procmail: No match on "^CCprocmail@"
procmail: No match on "^CCprocmail-users@"
procmail: Assigning "LASTFOLDER=/home/frank/Maildir/new/_SO.BEll7.Frankux"
From duranicub(_at_)gmx(_dot_)net  Wed Sep  5 18:21:21 2001
 Subject: test2
  Folder: /home/frank/Maildir/new/_SO.BEll7.Frankux
1360
procmail: [995] Wed Sep  5 18:25:32 2001
procmail: Assigning "LOGABSTRACT=all"
procmail: Assigning "COMSAT=NO"
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 "MATCH="
procmail: Matched "05"
procmail: Match on "()\/[0-9]+"
procmail: Assigning "DAY=05"
procmail: Assigning "MATCH="
procmail: Matched "Sep"
procmail: Match on "()\/(A(pr|ug)|Dec|Feb|J(an|u[ln])|Ma[ry]|Nov|Oct|Sep)"
procmail: Assigning "MONTH=Sep"
procmail: Assigning "MON2N=Jan = 01 Feb = 02 Mar = 03 Apr = 04
May = 05 Jun = 06 Jul = 07 Aug = 08
Sep = 09 Oct = 10 Nov = 11 Dec = 12"
procmail: Assigning "MATCH="
procmail: Matched "09"
procmail: Match on "Sep = \/[0-9]+"
procmail: Assigning "MNUM=09"
procmail: Assigning "MATCH="
procmail: Matched "2001"
procmail: Match on "Sep.*\/[0-9]+"
procmail: Assigning "YEAR=2001"
procmail: Assigning "MATCH="
procmail: Matched "18:25:32"
procmail: Match on "()\/[0-2][0-9]:[0-5][0-9]:[0-6][0-9]"
procmail: Assigning "TIME=18:25:32"
procmail: Assigning "MATCH="
procmail: Matched "18"
procmail: Match on "^^\/[0-9]+"
procmail: Assigning "HOUR=18"
procmail: Assigning "MATCH="
procmail: Matched "25"
procmail: Match on ":\/[0-9]+"
procmail: Assigning "MIN=25"
procmail: Assigning "MATCH="
procmail: Matched "32"
procmail: Match on ":[0-9]+:\/[0-9]+"
procmail: Assigning "SEC=32"
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
------------------------------------------------------------

the procmail.rc is attached
hope for help .... thx

--
Frank

Frank <duranicub(_at_)gmx(_dot_)net> writes:
...
Hallo, i comes this Night home and loaded my Mails from my ISP at 31
02:00:30 2001 down
and again. NO original Times are saved, all Mails have the same Date ...

can you understand that ?

You're going to have to do the detective work here: where is Courier-IMAP
getting the date that it shows/sort by?  You thought it from the top
Received: header field.  If removing that header field didn't solve the
problem then either a) the next Received: header field is also from when
the message was transfered to your machine and you'll have to remove
two (or more!) Received: header fields; or b) it's getting it from some
where else.

So, your job is to deduce, by careful examination of the messages, date,
and files, where the problem date is located.  Could it be the mtime of
the file?  Some other field in the header?  If you're truly desparate,
you could even read the documentation for Courier-IMAP or consult
its user support mailing list or group for the requisite information.
If you need help implementing whatever it takes then we can help, but
you'll have to do the research.


Philip Guenther



Attachment: .procmailrc
Description: Binary data