Jeremy T. Bouse: > 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.
Viktor Dukhovni: > The correct setting is "import_environment" not "export_environment". Jeremy T. Bouse: > Thanks Viktor... I'd only tried export_environment as Wietse had > mentioned it earlier and I wasn't aware of import_environment. I > do see that it is used on the internal process (master/master.c, > postdrop/postdrop.c, postfix/postfix.c, postmulti/postmulti.c, > postqueue/postqueue.c and global/mail_params.c) so that does look > more promising. I'll give it a shot later this evening after I get > back from my best friends memorial service this afternoon. Sorry about that, I should have written 'import_environment'. That setting controls what Postfix uses internally, including in its pgsql client. Wietse