Re: sender_net_accept_relay

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Alan Barrett
日付:  
To: Neal Becker
CC: exim-users
新しいトピック: Re: several messages
題目: Re: sender_net_accept_relay
> But gethostbyaddr() *does* return a FQDN! The name that was used in
> sender_host_accept_relay must not have gone through gethostbyaddr().


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()?

smtp_setup_msg (near line 1024 of smtp_in.c) calls verify_check_host()
to check if the sender host is in the sender_host_reject_relay list.

verify_check_host (near line 497 of verify.c) calls host_find_byaddr()
to get the sender host name.

host_find_byaddr (near line 154 of host.c) calls gethostbyaddr().

--apb (Alan Barrett)