Stephan Seitz: > On Thu, Sep 15, 2016 at 06:49:08AM -0400, Wietse Venema wrote: > >FYI, Postfix uses libmysqlclient. So what's up with not reading > >the default config file? > > Can it be the usual chroot problem?
Postfix normally opens tables before chroot() and before dropping root privileges. I would expect that libmysqlclient reads my.cnf during intialization, not at the time of the first query, but this can be verified by running a Postfix process under strace or equivalent (see http://www.postfix.org/DEBUG_README.html). Wietse