In 5.6, the code that adds this performs a reverse DNS lookup on the actual IP of the auth user, not the replacement one. Thus the real IP is still included in the header, if only indirectly via the FQDN. This makes the setting kind of pointless.
I've looked at 5.5 source code, which did this:
Code: Select all
sReceivedLine.Format(_T("Received: %s\r\n"), Utilities::GenerateReceivedHeader(sReceivedIP, helo_host_, isAuthenticated_, start_tls_used_));
Can the old behaviour be restored please? As I understand it, all that's needed is to use overriden_received_ip instead of remote_ip_address_ in GenerateReceivedHeader_.