Re: several messages

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Philip Hazel
日付:  
To: Neal Becker, Alan Barrett
CC: exim-users
古いトピック: Re: sender_net_accept_relay
題目: Re: several messages
On Sat, 27 Jul 1996, Alan Barrett wrote:

>    sender_net_accept_relay = "134.133.0.0/255.255.0.0"
>    # sender_host_reject_relay is undefined


On Sun, 28 Jul 1996, Alan Barrett wrote:

> I am pretty sure that the IP address goes through gethostbyaddr before
> being matched against the sender_host_*_relay lists. Maybe you linked
> with a bad gethostbyaddr()?


Yes, it uses gethostbyaddr. I certainly don't trust any host name that
comes from the HELO command. However, the name that is written in the
log is the one HELO gives. Exim does not look up the FQDN unless it
needs it, in order not to waste effort.

However, to do what Neal wants is cheaper if you use Alan's suggested
config above, that uses only sender_net_accept_relay, since then Exim
does not have to call gethostbyaddr at all.


--
Philip Hazel                   University Computing Service,
ph10@???             New Museums Site, Cambridge CB2 3QG,
P.Hazel@???          England.  Phone: +44 1223 334714