There seems to be some confusion here. Sorry.

The build of postfix works fine, including sendmail.
At build time, the root directory is set to /usr/local so everything gets 
installed in the right place at ‘make install’ time. Right where I want it. All 
good.

Now on the other hand. Apple puts its own version into its own location. There 
is no control over this. Every major OS upgrade puts it there into /etc and 
/usr.

My original post was about what to do about the program called ‘mail’ which by 
default - and can’t be changed - looks for /etc/postfix for the config files.

So on another suggestion I linked /usr/local/postfix into /etc which solves the 
problem for now.
All good.

Thanks for the help though

Robert





> On 27 Dec 2018, at 11:35 pm, Viktor Dukhovni <postfix-us...@dukhovni.org> 
> wrote:
> 
> My advice would be to keep the configuration directory as
> /etc/postfix, but relocate all the binaries.  That way
> the system provided /usr/sbin/sendmail will still work,
> despite being an older version of Postfix.
> 
>> On Dec 27, 2018, at 6:29 PM, Benny Pedersen <m...@junc.eu> wrote:
>> 
>> uninstall postfix, recompile tarball with prefix /usr/local and remember do 
>> not afterwards do a apple install of postfix, recompile new tarballs with 
>> local prefix
> 
> -- 
>    Viktor.
> 

Reply via email to