On Fri, Jan 27, 2017 at 06:37:53PM -0500, Jeremy T. Bouse wrote: > I downloaded the source code and poked around a little and doing a > little testing on my current system... I tried to set up a PGPASSFILE > that I 'chmod 0600' and 'chown postfix' then added the > export_environment setting to my main.cf pointing to it. When I > commented out the 'user' and 'password' sections in my pgsql .cf files > and attempted to test using 'postmap -q' I was getting the error:
I haven't tried this, but libpq is supposed to work with the .pgpass file in the home directory of the invoking user. It might be worth trying. I have used this in cases where the login shell of the user was /bin/false, so I don't think that at least should be the barrier. A -- Andrew Sullivan a...@anvilwalrusden.com