Re: [Exim] $host_lookup_failed & $sender_host_name

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Philip Hazel
日付:  
To: David Saez
CC: exim-users
題目: Re: [Exim] $host_lookup_failed & $sender_host_name
On Sat, 6 Dec 2003, David Saez wrote:

> I noticed that $sender_host_name is empty and $host_lookup_failed is true
> when the ip address lookup yielded a host name but this host name does
> not reverse resolve to that ip address and host_lookup is not set.
> If that is the way it should work then the documentation should be updated


In some operating systems, that check happens automatically within
gethostbyaddr() (or equivalent). For consistency, Exim does the check
itself so that it always applies. So yes, it is supposed to be like
that. I'll make it clearer in the docs.

> set. Also $sender_host_name definition should be updated to reflect the fact
> that the ip lookup will take place if the variable value is requested and has
> not been done before.


That update has happened for the the 4.30 docs.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book