Re: [exim] no IP address found for host

Top Page
Delete this message
Reply to this message
Author: Heiko Schlittermann
Date:  
To: exim-users
Subject: Re: [exim] no IP address found for host
Aristedes Maniatis via Exim-users <exim-users@???> (Di 09 Feb 2021 01:52:06 CET):
> I keep getting these errors/warnings: "no IP address found for host
> relay_from_hosts" in the logs like this...
>
>
> 2021-02-09 11:46:45 SMTP connection from [10.100.7.3]:46172 I=[10.100.1.3]:25 (TCP/IP connection count = 3)
> 2021-02-09 11:46:45 no IP address found for host relay_from_hosts (during SMTP connection from (scc) [10.100.7.3]:46172 I=[10.100.1.3]:25)
> 2021-02-09 11:46:45 1l9HAz-00086j-M3 <= customer.service@***** H=(scc) [10.100.7.3]:46172 I=[10.100.1.3]:25 P=esmtp S=36031 id=1261380024.6415.1612831605676.JavaMail.root@scc.**** for ****@yahoo.com
> 2021-02-09 11:46:45 SMTP connection from (scc) [10.100.7.3]:46172 I=[10.100.1.3]:25 closed by QUIT
>
>
> What does this mean? I don't have any reverse DNS verification enabled, but
> is relay_from_hosts a special variable with some hidden meaning in exim?


relay_from_hosts is a named list of hosts, commonly host addresses, but
with some internal "magic" if it contains host names.

The above log lines read as if the term "relay_from_hosts" is considered
to be part of a host list, and Exim can't resolve the hostname
"relay_from_hosts".

Are you sure that there is no other place in your configuration, using
the term "relay_from_hosts"? (w/o the plus sign)


Wrong use (Exim would consider relay_from_hosts being a host name)

        hosts = relay_from_hosts        


Correct use (Exim understands relay_from_hosts as a previously defined
list of hosts (addresses, names):

        hosts = +relay_from_hosts


Try using

        exim -bP config | grep relay_from_hosts


To be honest, the config snipped you attached to your previous mail
doesn't seem to contain "invalid" use of relay_from_hosts, or, at least
I wasn't able to spot it.

    Best regards from Dresden/Germany
    Viele Grüße aus Dresden
    Heiko Schlittermann
--
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
 gnupg encrypted messages are welcome --------------- key ID: F69376CE -