Larry Stone: > > On Dec 28, 2018, at 11:41 AM, Viktor Dukhovni <postfix-us...@dukhovni.org> > > wrote: > > > > You don't need to do this, that will break every upgrade, and changing > > it requires to disable Apple's system-integrity protection (at least > > temporarily, and reboot to change it back and forth). > > > > Instead, it is sufficient to: > > > > Build your Postfix with binaries in > > /usr/local/{sbin,libexec/postfix,lib/postfix}, *but* > > configuration in /etc/postfix. Leave /usr/sbin/sendmail alone. > > ? > > Hmmm. Viktor, in the past, I thought you said it is sufficient to > merely have both the Apple Postfix and your own Postfix have the > same queue_directory. That?s how I have mine set up and it works > the way I need it to work - /usr/sbin/sendmail (Apple?s sendmail) > drops the file in queue_directory whereupon my locally built Postfix > grabs it and sends it on its way. I have not made the four directories > you mentioned the same. >
Per Viktor's suggestion, Apple's /usr/sbin/sendmail will invoke the locally-built /usr/local/sbin/postdrop, and the mail ends up in the queue for the locally-built Postfix. Wietse