Re: sender_net_accept_relay

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Alan Barrett
Date:  
À: Neal Becker
CC: exim-users
Nouveaux-sujets: Re: several messages
Sujet: 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)