Zbigniew Szalbot wrote:
> Hello,
> 
> Been googling to find how I can hide Exim and OS version in email headers.
> Something like this:
> Received: from www by lists.lc-words.com with local (Exim 4.67 (FreeBSD))
> 
> I have found references to smtp_banner but this applies to EHLO for
> incoming connections, doesn't it?
> 
> Can you give me an idea how to remove software version? Or maybe there's no
> need to do so at all? I know Exim's safe by default.
> 
> Thank you very much in advance!
> 
> Zbigniew Szalbot
> 

Hi,

For my part, I use this:
received_header_text = "Received: \
                ${if def:sender_fullhost {from ${sender_fullhost}\n\t}\
                {${if def:sender_ident {from ${sender_ident} }}\
                ${if def:sender_helo_name
{(helo=${sender_helo_name})\n\t}}}}\
                ${if def:sender_ident {(helo=${sender_ident})\n\t}}\
                by ${primary_hostname} \
                ${if def:received_protocol {with ${received_protocol}}} \
                ${if def:tls_cipher {($tls_cipher)\n\t}}\
                ${if def:tls_peerdn {(tls_peerdn ${tls_peerdn})\n\t}}\
                id=${message_id}\
                ${if def:received_for {\n\tfor $received_for}}"


It remove versions and some more or les private info but adds some more
info about crypto algorithms.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to