I'm relaying mail received from the 'net at one Postfix server on a VPS, at a
'real' IP address, to another Postfix server in my office at an 'internal' IP
address, over a VPN link.
The way I currently do this is the VPS Postfix listens on a real IP, then
relays 'from' an IP bound to an internal address assigned to a dummy intfc on
the VPS.
inet_interfaces = 1.1.1.10, 1.1.1.11
smtp_bind_address = 10.1.0.17
This works with mail getting received and delivered all the way through to the
office like I intend.
I'm going through all the headers at each stage line by line to make sure it's
working.
I notice that on mail successfully received on the office server, the headers
include
Received: from relaymx.MYDOMAIN.com (unknown [10.1.0.17])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "relaymx.MYDOMAIN.com", Issuer "MYDOMAIN_CA" (verified OK))
by officemx.MYDOMAIN.com (Postfix) with ESMTPS id B6C33101D6A
for <[email protected]>; Mon, 18 May 2015 10:02:16 -0700 (PDT)
Is that
"unknown [10.1.0.17]"
an actual problem? Or just something to take note of?
I guess it's becuase there's no RDNS on that internal IP?
If that's true, do I have to figure out how/where to assign that on the VPS, or
can I set that 'statically' inside my Postfix configuration?