Thank you Victor. The LAN is created by the Host physical server as a software construct -- there is no physical network connection outside of the Host. The Host and Virtual Machines (VMs) communicate on this LAN.
The mail server is using an API that is available to the Host and all VMs for sending mono spaced email. The API sends the resulting email to the mail server on 192.168.122.12. When the mail server uses this API to send reports, the mail server communicates with itself on 192.168.122.12 -- instead of using localhost. I modified /etc/hosts on the mail server as follows: 166.88.17.149 mail01 mail01.raystedman.org 192.168.122.12 mail01-p mail01-p.raystedman.org 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 This appears to resolve the issue. I do not believe we need to configure DNS as the LAN does not exist outside of the Host. Thanks again victor, Greg www.RayStedman.org On Tue, Mar 9, 2021 at 9:57 AM Viktor Dukhovni <postfix-us...@dukhovni.org> wrote: > 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. >