Autor: Nico Erfurth Data: A: Jim Trigg CC: exim-users Assumpte: Re: [Exim] Exim and firewall problem
Jim Trigg wrote: > I can't seem to come up with a productive Google query, so I'm asking
> here. I have a mail server behind a firewall. The firewall receives
> external requests for two IP addresses; one is used as NAT for the
> intranet and the other is the mail server. The firewall is configured
> to pass all requests for SERVER_IP port 25 to the server, but the server
> cannot access its own public IP address. I have configured the server's
> /etc/hosts file to resolve its public hostname to its intranet IP
> address, but exim is ignoring that. (Other software, such as ping, is
> not.) How do I convince exim to use the internal IP address when
> sending mail to its own domain?
Check out the docs for the manualroute router, if you use exim4. Exim3
has a similar router, called domainlist router.