>John Dorian: >> actual mail fails, with what I thought was the most notable error being: >> "dict_ldap_debug: ldap_connect_to_host: getaddrinfo failed: no address >> associated with name"
>Wietse Venema: >http://www.postfix.org/DEBUG_README.html#no_chroot > >Try turning off chroot operation in master.cf > >A common mistake is to turn on chroot operation in the master.cf >file without going through all the necessary steps to set up a >chroot environment. This causes Postfix daemon processes to fail >due to all kinds of missing files. Thank you for clueing me into that potential source of trouble. I found that the OpenBSD postfix package appears: 1) to set in master.cf for smtp to chroot (in fact all except local, virtual, and proxymap/proxywrite) 2) copies some files to the chroot'd directory in particular: /etc/resolv.conf to /var/spool/postfix/etc/resolv.conf but did _not_ copy /etc/hosts After I # cp -p /etc/hosts /var/spool/postfix/etc/hosts The problem vanished - name resolution of 'localhost' to '127.0.0.1' inside the chroot'd jail appears to no longer be a problem. I am posting this to ports@openbsd.org to suggest that the OpenBSD postfix package also copy /etc/hosts to /var/spool/postfix/etc/hosts Thank you.