[EXIM] Rewriting Received: headers

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Paul Phillips
Date:  
À: Exim users
Anciens-sujets: Re: [EXIM] Sending all local parts to one account
Sujet: [EXIM] Rewriting Received: headers
The default received header appears to be:

  received_header_text = "Received: \
       ${if def:sender_fullhost {from ${sender_fullhost} \
       ${if def:sender_ident {(${sender_ident})}}\n\t}\
       {${if def:sender_ident {from ${sender_ident} }}}}\
       by ${primary_hostname} \
       ${if def:received_protocol {with ${received_protocol}}} \
       (Exim ${version_number} #${compile_number})\n\t\
       id ${message_id}"


One thing I miss very much from sendmail is this:

Received: from redfish.go2net.com (redfish.go2net.com [207.178.55.5])
        by zax.go2net.com (8.8.7/8.8.7) with SMTP id VAA29526
        for <paulp@???>; Thu, 13 Nov 1997 21:18:52 -0800 (PST)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^


because I get a lot of email to various go2net aliases and I need this to
tell them apart. Presuming this would be easy to put back in, I set out
to hack the received header, but I can't find any variable with this
information in it. I *must* be missing something. I tried these:

local part: ${local_part} \
original local part: ${original_local_part} \
local part prefix: ${local_part_prefix} \
local part suffix: ${local_part_suffix} \

all were empty in all my test cases. I'm pretty darn sure
${local_part} should be "paulp" at the very least. This is exim 1.73
if it matters.

Help?

-- 
Paul Phillips      | There are numerous problems in 4b2, but I guess I should
Silicon Dally      | kill you where you stand!
<paulp@???> |     -- startling insight from 'travesty' on the proper
+1 206 447 1595    |        way to deal with Netscape programmers




--
*** Exim information can be found at http://www.exim.org/ ***