Viktor Dukhovni: > On Wed, Sep 14, 2016 at 06:07:22PM +0200, Antoine Nguyen wrote: > > > Looks like I've found the issue. Actually, the mysql connector does not read > > the default /etc/my.cnf file (or at least the package I installed for CentOS > > 7). > > Perhaps Postfix needs to try to explicitly load the default config > location when no override is set.
How do we do that, without hard-coding '/etc/my.cnf' into Postfix? That pathname is almost certainly incorrect on systems like *BSD that install ports configuration files outside the base system directory tree. > When "option_file" is not set we currently do nothing, and let the > MySQL libraries do whatever they do by default. I wonder if there is a different way to make clients read /etc/my.cnf. I also wonder why they don't read that file by default. Wietse