Next: received_headers_max Prev: rbl_warn_header Up: Main configuration
Enter node , (file) or (file)node

received_header_text _option_

Type: string, expanded
Default: see below

This string defines the contents of the "Received:" message header that
is added to each message, except for the timestamp, which is
automatically added on at the end, preceded by a semicolon. The string
is expanded each time it is used, and the default is:

     received_header_text = "Received: \
         ${if def:sender_rcvhost {from ${sender_rcvhost}\n\t}\
         {${if def:sender_ident {from ${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} #${compile_number})\n\t\
         id ${message_id}\
         ${if def:received_for {\n\tfor $received_for}}"

Note the use of quotes, to allow the sequences `\n' and `\t' to be used
for newlines and tabs, respectively. The reference to the TLS cipher is
omitted when Exim is built without TLS support.  The use of conditional
expansions ensures that this works for both locally generated messages
and messages received from remote hosts, giving header lines such as
the following:

     Received: from scrooge.carol.book ([] ident=root)
             by marley.carol.book with smtp (Exim 1.90 #1)
             id E0tS3Ga-0005C5-00
             for cratchit@dickens.book; Mon, 25 Dec 1995 14:43:44 +0000
     Received: by scrooge.carol.book with local (Exim 1.90 #1)
             id E0tS3GW-0005C2-00; Mon, 25 Dec 1995 14:43:41 +0000

Note the automatic addition of the date and time in the required format.

automatically generated by info2www version