I've installed exim on a Debian machine with only a private IP. Outbound
connections go trough a socks proxy. As regards inbound connections, I'm
forwarding connections from a public IP from a VPS towards the private
IP of my server.
The problem I noticed is that when I receive an email, my server replies
to the EHLO command like if the sender was my own local server.
I tested my server on mxtoolbox, and this is what I see:
220 mail.my-fqdn ESMTP Exim 4.92 Mon, 01 Mar 2021 17:20:54 +0100 [257 ms]
EHLO keeper-us-east-1b.mxtoolbox.com
250-mail.my-fqdn Hello mail.lan [192.168.0.216] ### these are my local
domain and private IP address
Is this something that could impair my domain/ip reputation?
Could you please give me some clue on how I could fix this?
Finally, do you think I should use something different than a socks
proxy to forward connections?