Re: [Exim] Can exim ignore certain IP addresses for outgoing…

Góra strony
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
Dla: Marc Haber
CC: exim-users
Temat: Re: [Exim] Can exim ignore certain IP addresses for outgoing mail delivery?
On Thu, 11 Oct 2001, Marc Haber wrote:

> |;; ANSWER SECTION:
> |sankwang.com.tw.        1H IN MX        10 ms1.sankwang.com.tw.
> |
> |;; ADDITIONAL SECTION:
> |ms1.sankwang.com.tw.    1H IN A         211.75.132.66
> |ms1.sankwang.com.tw.    1H IN A         192.168.0.1


> How does the ignore_target_host option behave in this case? If I set
> ignore_target_host on my lookuphost router, will exim send to
> 211.75.132.66 after ignoring 192.168.0.1, or will it bounce the e-mail
> if it gets hold of 192.168.0.1?


If you set ignore_target_hosts=192.168.0.1 Exim will just ignore that A
record. It will send mail to 211.75.132.66. You can verify this for
yourself, by setting ignore_target_hosts, and then running

exim -bt xxx@???

Whenever you see "host" in the Exim documentation, what it really means
is "interface". A single host with many interfaces is treated the same
as several different hosts.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.