On Tue, Mar 09, 2021 at 09:35:35AM -0800, Greg Sims wrote:

> Mar 09 08:12:15 mail01.raystedman.org postfix/smtpd[13431]:
>   warning: hostname mail01.raystedman.org
>   does not resolve to address 192.168.122.12

An SMTP client at IP address 192.168.122.12 connected to your SMTP
server.  That IP address (/etc/hosts file or PTR record) resolves to
"mail01.raystedman.org".  However the name "mail01.raystedman.org"
resolves to a different IP address.  Hence the warning.

> We recently started accepting email from the single WAN address and added
> the IP to mynetworks.

If the LAN address is not reachable from outside, make sure that
your host has split-personality (two distinct names one outside,
one inside) consistently defined in both /etc/hosts:

    166.88.17.149   mail01.raystedman.org
    192.168.122.12  mail01-p.raystedman.org

and also in DNS:

    mail01.raystedman.org. IN A 166.88.17.149
    149.17.88.166.in-addr.arpa. IN PTR mail01.raystedman.org.

    mail01-p.raystedman.org. IN A 192.168.122.12
    12.122.168.192.in-addr.arpa. IN PTR mail01-p.raystedman.org.

It is not clear why SMTP clients on the server itself are connecting via
one of the non-loopback IPs.  Typically a local client would use
127.0.0.1.

-- 
    Viktor.

Reply via email to