[Exim] allow_localhost (smtp) does not work?

Top Page
Delete this message
Reply to this message
Author: Valentin Nechayev
Date:  
To: exim-users
Subject: [Exim] allow_localhost (smtp) does not work?
Hi,
exim is 4.20 from FreeBSD port.

in config:

hosts_treat_as_local = exim.segfault.kiev.ua : segfault.kiev.ua

[...]

total_relay:
driver = manualroute
domains = ! +local_domains
transport = segfault_smtp
route_data = segfault.kiev.ua
no_more
no_verify_sender

[...]

segfault_smtp:
driver = smtp
hosts = segfault.kiev.ua
hosts_override
allow_localhost

But test (`exim -d+route -bv netch@???') fails:

segfault.kiev.ua in "! +local_domains"? yes (end of list)
calling total_relay router
total_relay router called for netch@???
domain = segfault.kiev.ua
original hostlist=segfault.kiev.ua options=
expanded hostlist="segfault.kiev.ua" options=
set transport segfault_smtp
finding IP address for segfault.kiev.ua
doing DNS lookup
DNS lookup of segfault.kiev.ua (A) succeeded
segfault.kiev.ua in hosts_treat_as_local? yes (matched "segfault.kiev.ua")
local host found for non-MX address
fully qualified name = segfault.kiev.ua
segfault.kiev.ua 193.193.193.4 mx=-1 sort=-399
LOG: MAIN
remote host address is the local host: segfault.kiev.ua (while routing <netch@???>)
total_relay router: defer for netch@???
message: remote host address is the local host
netch@??? cannot be resolved at this time:
remote host address is the local host

It seems as it even doesn't doing check for allow_localhost...


-netch-