Repost - more general question - how do you (what's the best way to)
configure Courier when the mailserver has a private IP NATted to a
public IP? (I believe) I need TCPLOCALIP set to the public address.
John Bossert wrote:
What's the most direct way of determining TCPLOCALIP (or any other
environment variable set by couriertcpd? I suspect I will find that
(not surprisingly) it's taken the internal IP address of the machine.
If so, is there a "recommended" way of forcing it to the public IP
address for "postmaster@[ip.address]" without screwing things up elsewhere?
Sam Varshavchik wrote:
John Bossert writes:
David Newall wrote:
I'm a bit surprised that you need to set TCPLOCALIP, and indeed there's
a problem if you have more than one IP address, but that is the way
the code reads. I'd set it in etc/esmtpd.
List?, Sam? Should TCPLOCALIP be getting set? I'm running a single
IP address (NATted at the firewall) for this host... Thanks.
TCPLOCALIP is set by couriertcpd.
postmaster@[ip.address] will be accepted if ip.address=TCPLOCALIP.