On Tue, Jun 3, 2014 at 11:18 AM, Viktor Dukhovni <postfix-us...@dukhovni.org> wrote: > On Tue, Jun 03, 2014 at 10:31:34AM -0500, Rick Zeman wrote: > >> I'm using the Apple-compiled Postfix 2.9.4 that comes with Mac >> Mavericks server. One thing that made setup much harder than it >> needed to be for me is that Apple puts their postfix config files in a >> different location than the "standard" /etc/postfix, but yet the >> postfix helper apps in /usr/sbin (postmap, postconf, etc) default to >> looking in /etc/postfix for the config files unless overridden by the >> -c flag. > > This is a vendor issue. They need to make up their mind.
That is what I suspected. Wonder if anyone from Apple reads this list? > >> So, is this expected behavior that those always default to >> /etc/postfix unless told otherwise? > > The default configuration direction is set at compile time. Apple > can set this to any directory of their choice. Are you sure there > isn't a second copy of the various binaries in an Apple-specific > directory? > > The MAIL_CONFIG environment variable overrides the compiled in default. THAT is the answer I needed. Thanks. > >> $ postconf config_directory >> config_directory = /etc/hiWietse > > That's not right. Don't manually override config_directory in > main.cf. Of course that's not right. I changed the unused main.cf's value for illustrative purposes; otherwise it would have looked just like the used version.