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:
John,
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 that
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.
La thiorie, c'est quand on sait tout et que rien ne fonctionne.
La pratique, c'est quand tout fonctionne et que personne ne sait pourquoi.
Ici, nous avons riuni thiorie et pratique : Rien ne fonctionne... et
personne ne sait pourquoi!
[Einstein]