On Fri, May 21, 2004 at 03:42:33PM +0200, Kai Schaetzl wrote:
..............................................^^^^^^^^
[LOL, da ich meine Freundin 'Schatzl' nenne.] :-)
Dallman Ross wrote on Thu, 20 May 2004 21:29:49 +0200:
I like pulling $DATE from the messages in procmail.
Just a nitpick: many spam messages come with wrong dates, sometimes
*years* off. Depending on what you want to use the value of this
variable such dates may be undesirable.
No, I think you misunderstand. My procmail is invoked with the
"-f-" option in .forward, which causes procmail to rewrite the
From_ header. (One reason is that I live in a different time zone
from that on the processing host. I want the receipt time in the
From_ to show my TZ.) The time that is written there is from
the local host -- not from the Date: header!
From "man procmail":
-f fromwhom
Causes procmail to regenerate the leading `From '
line with fromwhom as the sender (instead of -f one
could use the alternate and obsolete -r). If
fromwhom consists merely of a single `-', then proc
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
mail will only update the timestamp on the `From '
line (if present, if not, it will generate a new
one).
In fact, one of my very good spam snags is to compare the From_
header's time with that in the Date: header.
This topic has had lots of discussion over the past couple of years,
so the curious might want to hit the archives . . . .
--
dman
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail