Re: [Exim] IP Masquerading and Exim

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Steve Haslam
Datum:  
To: daver
CC: exim-users
Betreff: Re: [Exim] IP Masquerading and Exim
daver@??? wrote:
> However, my problem is with sending mial from the internal masqueraded
> network. Whenever I try, I get an error in exim -
>
> ...failed to find hostname from IP address..
>
> I assume this is because it is trying to do a DNS lookup on a private
> IP. The only way around this I have found is to add the parameter
> +alloe_unknown to host_accept_relay. Howvere, this essentailly gets rid
> of any security.
>
> So, Is there something fundemental I'm missing, or is there a way to
> stop exim doing DNS lookups on certain domains


you can stop exim trying to the the DNS lookups on those IP addresses by
negating them in host_lookup (e.g. host_lookup=!192.168.24.0/24), and
you can allow those IP addresses to relay by adding them to
host_accept_relay (e.g. host_accept_relay=192.168.0.24/24).

IIRC
HTH
HAND
SRH