Re: [Exim] Trying to treat a IP as the local host

Top Page
Delete this message
Reply to this message
Author: Dave C.
Date:  
To: Alberto García
CC: exim-users
Subject: Re: [Exim] Trying to treat a IP as the local host
<-- Warning: charset 'X-UNKNOWN' is not supported -->

On Sat, 18 May 2002, Alberto [iso-8859-1] Garc?a wrote:

>     I have the following problem (I'm using Exim 3.35): I have my
> machine running Exim in my private network. There is a router with a
> public IP address that forwards all trafic to my PC. The problem is that
> when Exim tries to route mail, it does not know that the public IP of the
> router should be treated as the local host.

>
>     I think of two workarounds for this:

>
>     - Putting the public IP in local_interfaces: it does not work,
> because when the daemon tries to wake up, the bind() call fails for that
> IP address.

>
>     - Using `hosts_treat_as_local': this works, but it has the
> problem that is name-based, not ip-based, so I have to put there all the
> hosts names that point to my public IP, instead of putting just the IP.

>
>     Any suggestions? Thanks in advance

>



Try ignore_target_hosts in your lookuphost router. It takes IP
addresses.




> Berto.
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>
>



--