On Mon, May 17, 2021 at 09:27:42PM -0400, Bill Cole wrote: > > May 17 15:29:50 gentooserver postfix/smtpd[119496]: fatal: > > host/service localhost/12301 not found: No such file or directory > > May 17 15:29:50 gentooserver postfix/submission/smtpd[119495]: fatal: > > host/service localhost/12301 not found: No such file or directory > > May 17 15:29:50 gentooserver postfix/smtpd[119499]: connect from > > unknown[10.0.0.103] > > May 17 15:29:50 gentooserver postfix/submission/smtpd[119500]: connect from > > unknown[10.0.0.103] > > May 17 15:29:50 gentooserver postfix/smtpd[119499]: fatal: host/service > > localhost/12301 not found: No such file or directory > [...] > > > postconf -n: > [...] > > smtpd_milters = inet:localhost:12301 > > Whatever milter you are trying to use on port 12301 (possibly OpenDKIM?) > is not running or something in your system config (e.g. iptables > firewall) is blocking connections to it.
This smells of the submission smtpd(8) being chrooted in master.cf(5) and there not being either a usable "etc/hosts" in the chroot jail, (other potentially missing files include "etc/nsswitch.conf" and "etc/resolv.conf"). Bottom line, "localhost" fails to resolve to an address with an "ENOENT" errno. -- Viktor.