Users/myadminaccount/) create a file called.
Choose the one you prefer or use the method outlined below. Note: There are many ways of modifying the PATH environment variable. So if you issue for example postfix reload, you will still use /usr/sbin/postfix instead of /Applications/Server.app/Contents/ServerRoot/usr/sbin/postfix Unfortunately, paths added inside paths.d will be added to the end of $PATH. Applications/Server.app/Contents/ServerRoot/usr/sbin Applications/Server.app/Contents/ServerRoot/usr/bin This in turn contains the following two paths: If you look inside /private/etc/paths.d/ you will find a file called. While this requires a little bit of work upfront, it will save you lots of time in the long run. We would need to type: /Applications/Server.app/Contents/ServerRoot/usr/sbin/postconf -n There are multiple ways of achieving this. So the first thing we need to do, is to use those binaries, instead of the ones under our main root /. That said, let’s see how we can make sure we use the correct binaries and configuration files.Īs mentioned, binaries (applications) for Postfix are now to be found under /Applications/Server.app/Contents/ServerRoot/.
#OS X SERVER 5.1 DOWNLOAD SOFTWARE#
mailq) are still in their old locations due to compatibility issues with older software (sendmail in this case).Īlthough it can drive you mad at times, overall, it is a welcome change made for good reasons. While it makes lots of sense and allows for unbundling OS X Server from the underlying OS (OS X Server 5 works on both, Yosemite and El Capitan) it is a transition which is still not complete and has its inconsistencies. Thus, when you call postconf -n you are actually using /usr/sbin/postconf -n and displaying the contents of /etc/postfix/main.cf instead of using /Applications/Server.app/Contents/ServerRoot/usr/sbin/postconf -n and displaying the contents of /Library/Server/Mail/Config/postfix/main.cf. In recent years, and especially so in OS X Server 5, Apple has been moving server related binaries to: /Applications/Server.app/Contents/ServerRoot/Īnd server related configuration files to: /Library/Server/ May show you errors that shouldn’t be there. May show you Postfix parameters which are completely different from what you would expect them to be. If you’ve been a long-time OS X Server user, especially from the days prior to OS X Server 5, then you’ll find that commands that used to work fine, suddenly produce unexpected output.