Cannot disable outbound Received header in Haraka 3.1.1
Hello Haraka team,
I am using Haraka 3.1.1.
Following the documentation and past Pull Request (#2855), I tried to disable the outbound Received header by adding the following to smtp.ini:
[headers] received_header=disabled
However, when sending emails, the Received header is still added, for example:
Received: (Haraka outbound); ...
Is this setting officially unsupported in Haraka 3.1.1?
If it is not supported, are there plans to add it in a future release?
Also, if there is a recommended way to disable the outbound Received header in the current version, I would appreciate your guidance.
Thank you for your time and help.
Best regards.
The correct setting would be:
add_received=false
Hello Haraka team,
Thank you for the clarification regarding add_received=false.
I have tried using received_header=disabled and it successfully removed the outbound Received header like:
Received: (Haraka outbound); Mon, 29 Sep 2025 23:17:13 +0900
However, another Received header is still added, for example:
Received: from localhost ([0.0.0.0]) by mail..com (Haraka/3.1.1) with ESMTPSA id FB5DC283-80AF-4012-B8AD-CA0FE7CFE2CD.1 envelope-from <postmaster@.com> tls TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 (authenticated bits=0); Tue, 30 Sep 2025 00:14:44 +0900
Could you please advise if there is a supported way to completely remove all Received headers in Haraka 3.1.1? If not, is there any recommended workaround?
Thank you for your guidance.
There are two settings available to control Received header additions. In connection.ini, you can set:
[headers]
add_received=false
and in outbound.ini you can set:
received_header=disabled