Re: [exim] Include envelope_sender in Received-Header?

Etusivu
Poista viesti
Vastaa
Lähettäjä: Tony Finch
Päiväys:  
Vastaanottaja: Marc Haber
Kopio: exim-users
Aihe: Re: [exim] Include envelope_sender in Received-Header?
On Sun, 23 Oct 2005, Marc Haber wrote:
>
> Before I do this, I would like to solicit the opinions of the exim
> mailing list, and ask the developer team whether they would be willing
> to do that change in exim's default as well - this only makes sense if
> these records are widely deployed.


It is useful - I added it to our configuration partly for SpamAssassin's
benefit, and partly to make it easier to trace messages through mailing
list systems.

# for reference, the default is:
#
# received_header_text = Received: \
#    ${if def:sender_rcvhost {from $sender_rcvhost\n\t} \
#         {${if def:sender_ident {from ${quote_local_part:$sender_ident} } }\
#          ${if def:sender_helo_name {(helo=$sender_helo_name)\n\t} }} }\
#    by $primary_hostname \
#    ${if def:received_protocol {with $received_protocol} } \
#    ${if def:tls_cipher {($tls_cipher)\n\t} }\
#    (Exim $version_number)\n\t\
#    id $message_id\
#    ${if def:received_for {\n\tfor $received_for} }
#
received_header_text = Received: \
    from ${if def:sender_rcvhost {$sender_rcvhost\n\t} \
              {${if def:sender_ident {$sender_ident } {localhost } }\
               ${if def:sender_helo_name {(helo=$sender_helo_name) } }} }\
    by $primary_hostname (${if def:interface_address \
         {NAME [$interface_address]:$interface_port} \
         {NAME} })\n\t\
    ${if def:received_protocol {with $received_protocol } }\
    ${if def:csa_status {(csa=$csa_status) } }\
    ${extract {auth}{$SENDER} {($value) } }\
    ${if def:tls_cipher {($tls_cipher)\n\t} }\
    id $message_id (Exim $version_number)\
    ${if def:received_for { for $received_for} }\n\t\
    (return-path <$sender_address>)


Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}