I have postfix built with the standard configuration it comes with, well, 
everything that is is installed in the “default” places on my Mac. OSX 10.11
Trouble is, that’s the same place that Apple put their own Postfix build. Which 
is not the same as mine, so with every major OS upgrade, I have to rebuild and 
reinstall my own version of postfix. Not a big deal, but a nuisance.

So I figure if I put it all under /usr/local for example ...
and run from there, it won’t get overwritten.

So normally one puts such things in to the .make configuration..

So reading the docs if I do this.

    |parameter name       |new location        |
    |_____________________|____________________|
    |command_directory    |/usr/local/sbin     |
    |_____________________|____________________|
    |config_directory     |/usr/local/etc/postfix        |
    |_____________________|____________________|
    |default_database_type|                 |
    |_____________________|____________________|
    |daemon_directory     |/usr/local/libexec/postfix|
    |_____________________|____________________|
    |data_directory       |/var/local/lib/postfix    |
    |_____________________|____________________|
    |html_directory       |                   |
    |_____________________|____________________|
    |mail_spool_directory |/var/mail           |
    |_____________________|____________________|
    |mailq_path           |/usr/local/bin/mailq      |
    |_____________________|____________________|
    |manpage_directory    |/usr/local/man      |
    |_____________________|____________________|
    |meta_directory       |/usr/local/etc/postfix        |
    |_____________________|____________________|
    |newaliases_path      |/usr/local/bin/newaliases |
    |_____________________|____________________|
    |queue_directory      |/var/spool/postfix  |
    |_____________________|____________________|
    |readme_directory     |                   |
    |_____________________|____________________|
    |sendmail_path        |/usr/local/sbin/sendmail  |
    |_____________________|____________________|
    |shlib_directory      |/usr/local/lib/postfix    |
    |_____________________|____________________|


I’ll either end up with a broken install, or it will work.

Or the other option, is to move the binaries to a new location 
(command_directory) and point to it in both the plist start up and in the 
main.cf by setting the correct parameter.

The OS updates only replace the binaries - it doesn’t seem to mess with the 
configs. So maybe I only need to move the binaries?

Anyone have any experience with this?
thanks



Robert Chalmers
rob...@chalmers.com <mailto:rob...@chalmers.com>.au  Quantum Radio: 
http://tinyurl.com/lwwddov
Mac mini 6.2 - 2012, Intel Core i7,2.3 GHz, Memory:16 GB. El-Capitan 10.11. 2TB 
Storage made up of - 
Drive 0:HGST HTS721010A9E630. Upper bay. Drive 1:ST1000LM024 HN-M101MBB. Lower 
Bay



Reply via email to