Re: [Exim] Resent- headers

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Philip Hazel
日付:  
To: Phil Pennock
CC: Exim Users
題目: Re: [Exim] Resent- headers
On Thu, 13 Nov 2003, Phil Pennock wrote:

> -----------------------------< cut here >-------------------------------
> Received: from store-21.mail.nl.demon.net by mailstore for fred@???
>    id 1AKEyT-000LIi-64-000LIk; Thu, 13 Nov 2003 10:45:17 +0000
> Received: from incoming-21.mail.nl.demon.net ([194.159.73.161]:4345)
>    by store-21.mail.nl.demon.net with esmtp (Exim 4.24)
>    id 1AKEyT-000LIi-64
>    for fred@???; Thu, 13 Nov 2003 10:45:17 +0000
> Received: from samhain.noc.nl.demon.net ([194.159.72.214]:4286)
>    by incoming-21.mail.nl.demon.net with esmtp (Exim 4.24)
>    id 1AKEyT-0006q0-2S
>    for fred@???; Thu, 13 Nov 2003 10:45:17 +0000
> Resent-Message-Id: <20031113104516.resent.fred-test.new@???>
> Resent-From: pdp+sample-Exim-test@???
> Received: from non-existant ([10.0.0.1]) by samhain.noc.nl.demon.net with ESMTP id 1234
> From: <phil.pennock@???>
> To: <bitbucket@???>
> Subject: test mail
> Message-Id: <20031113104516.fred-test.orig@???>
> Date: Thu, 13 Nov 2003 10:45:16 CET
> Resent-From: faked@???
> Resent-Date: Thu, 13 Nov 2003 10:45:17 +0000

>
> test message
> -----------------------------< cut here >-------------------------------
>
> Exim added the final header, "Resent-Date", but is claiming that the
> earlier ("faked@") resend was on that date, which is patently false.


OK. This is a complete mess. You and Tony, and no doubt others, see this
as two sets of Resent- headers. Greg would argue otherwise, I think. All
Exim is saying is "There are resent- headers in this message, but no
resent-date, so I'd better add one."

I do not want to have to implement a whole pile of dodgy heuristic logic
to try to do "better" in cases like this. I am prepared to do the
following:

(1) Turn off the code that tries to fix up headers when Resent- headers
are present.

(2) Ditto, but only if there are non-contiguous Resent- headers.

I would far prefer (1).

It occurs to me that it might also be helpful, when Exim *does* add
header lines, to also add, for example,

X-Date-Added-By: $primary_hostname

Philip

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book