[Pkg-exim4-users] How can I delete Exim version from the mail header "Received:" ?
Regid Ichira
regid23 at nt1.in
Fri Nov 23 09:39:30 UTC 2012
On Fri, Nov 23, 2012 at 11:28:11AM +0900, Satoru Otsubo wrote:
> Hi, all
>
> There is the SMTP Banner section at the last of main/02_exim4-config_options in /etc/exim4/exim4.conf.template.
> I modified "# smtp_banner = $smtp_active_hostname ESMTP Exim $version_number $tod_full" and
> removed the comment as follows:
>
> smtp_banner = $smtp_active_hostname ESMTP Exim $tod_full
>
> And
> # /etc/init.d/exim4 restart
>
> Then
> # telnet [my Exim4 server name] 25
> ........
> 220 [my Exim4 server name] ESMTP Exim Fri, 23 Nov 2012 10:50:26 +0900
> ........
>
> That is, the Exim version is deleted.
>
> But the "Received:" header of the email from my Exim4 server still indicates the Exim version as follows:
> Received: from ........
> by ........ with smtp (Exim 4.72)
>
> How can I delete Exim version from the mail header "Received:" ?
>
$ zgrep -A6 '^46.13 ' /usr/share/doc/exim4/spec.txt.gz | head
46.13 The Received: header line
-------------------------------
A Received: header line is added at the start of every message. The contents
are defined by the received_header_text configuration option, and Exim
automatically adds a semicolon and a timestamp to the configured string.
$
More information about the Pkg-exim4-users
mailing list