Re: [exim] how to remove outgoing Received header?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: John W. Baxter
Date:  
À: exim-users
Sujet: Re: [exim] how to remove outgoing Received header?
On 10/15/2004 11:41, "John Jetmore" <jetmore@???> wrote:

> On Fri, 15 Oct 2004, John W. Baxter wrote:
>
>> On 10/14/2004 16:11, "Dan Jacobson" <jidanni@???> wrote:
>>
>>> Actually, I don't want to strip it. I just don't want to add it in the
>>> first place. So it's not a rewrite, but a don'twrite I suppose.
>>
>> Well,
>> received_header_text = " "
>> would (probably) shorten the Received: header a lot, but not eliminate it.
>>
>> See the spec for the received_header_text setting in the main settings
>> section.
>>
>> To not write the header at all, you'd be looking at modifying the Exim code.
>
> I was just looking at spec.txt, the definition for received_header_text
> includes "If the expansion yields an empty string, no Received: header
> line is added to the message".
>
> This behaviour was added in 4.21 and documented in ChangeLog 4.21/26. Is
> there any reason this doesn't do what the OP wants?
>

That should work fine. I hadn't remembered that change (since I have no
desire to not create Received: headers). No need to "adjust" any code then.

Thanks, John!

--John