Loggin original ip address in relay connection

Hi,  i use exim locally, with an smarthost through Postfix. It's
possible add in the log the real IP the real client?

Actually i only see the IP of the relay connection.

Nov 27 10:23:59 smarthost01 postfix/cleanup[18611]: 0F4F8180058A1:
warning: header From: Emanuel < ... at ddomain dot com> from
server.backend[]; from=<> to=< ... at recipient dot com>
proto=ESMTP helo=<>



Re: Loggin original ip address in relay connection

By Wietse Venema at 11/27/2019 - 10:26

The remote client IP address is in the Received: header that EXIM
has added. Use a Postfix header_checks rule to log that specific
Received: header. I am not familiar with the detailed format of
EXIM headers, but you should have plenty examples :-)