Lanny Godsey wrote:
> I think RFC 822 says that ; should be escaped.
>
> atom = 1*<any CHAR except specials, SPACE and CTLs>
>
> ; being a special
Whatever, this should cure it -
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 {\n\t(Cipher ${tls_cipher}) }}\
${if def:tls_peerdn {(PeerDN ${tls_peerdn}) }}\
(Exim ${version_number} #${compile_number})\n\t\
id ${message_id}\
${if def:authenticated_id { by authid <$authenticated_id>}}\
${if def:sender_host_authenticated { with
$sender_host_authenticated}}\
${if def:received_for {\n\tfor <$received_for>}}"