On 9 Feb, David W. Tamkin wrote:
| Kreemy followed up,
| > Current date and time is not acceptable. Some of this email goes back
| > 10 years.
| ... and I gather you ened the original delivery timestamp in From_.
| Maybe you didn't; I couldn't have known either way until you said.
| If you have GNU date or another date(1) that supports the -d switch,
| perhaps you can extract the timestamp of the original delivery from the
| topmost Received: header and have GNU date rewrite it in the proper form
| for a From_ line.
There is a thread from early last year that demonstrated using the MATCH
operator to extract the appropriate values from the topmost Received:
header then uses a sed pipe to rewrite From_.
Note there is at least one typo in that message (a duplicate :0).
Interestingly, his Kremliness followed up with another implementation,
so maybe he could use his own code.
I didn't look at the differences. At the time there was a debate
between using Received: and Date: headers. I know mine used the topmost
Received: header. I don't know about LuKreme's. One obvious need is to
change the sed pipe since there is no From_ for sed to edit; but
somewhere in those two messages ought to be the beginning of a solution.
Email address in From: header is valid * but only for a couple of days *
This is my reluctant response to spammers' unrelenting address harvesting
procmail mailing list