On Sat, Feb 20, 2016 at 11:40:09AM -0500, Curtis Maurand wrote: > i just sent myself a test message from the client's system. Here is what I > got. I immediately ran the lookups using dig. postfix can't seem to > resolve things properly. Running Ubuntu Server 14.04 LTS with ispconfig > installed. I'm using powerdns with powerdns recursor. resolv.conf points > to the localhost's external ip address. This is sort of annoying. I really > don't want to open up the server's to misconfigured system as that increases > the amount of spam dramatically.
Do keep in mind that on Ubuntu systems Postfix tends to have many services in master.cf chooted by default, the chroot jail may have a different /etc/resolv.conf, and may have different copies of various dynamically loaded nss modules. Do disable chroot for "smtpd" if enabled, and do test your getaddrinfo() implementation. -- Viktor.