> On 13 Mar 2016, at 08:41, Alice Wonder <al...@domblogger.net> wrote: > > It's possible the mail command on OS X is using the OS X sendmail command > provided by the OS X postfix which would want its configuration file at > /etc/postfix/main.cf
It is. Though MacOSX puts the sendmail front-end in /usr/sbin: % strings /usr/bin/mail | grep / ... /usr/sbin/sendmail ... > You may need to move the OS X sendmail command and make a symlink from > /usr/local/sbin/sendmail (as provided by postfix built from source) to > /sbin/sendmail (or wherever OS X keeps it) so that the right sendmail command > is available to OS X mail command. Easier said than done. MacOSX 10.11 introduced System Integrity Protection. This means most, if not all, of the OS cannot be modified by anything unless the OS is booted in recovery mode and csrutil is used to disable or enable SIP. [Which probably explains why the Macs now boot twice during an upgrade: once in recovery mode to make the changes and then another to resume “normal” operations.] By default the SIP-protected directories and files include everything in /usr except /usr/local. The path of least resistance would be to put the postfix config files in /etc/postfix where the Apple-supplied postfix tools expect to find them. Be sure to keep copies of these files elsewhere in case Apple stamps all over them at the next OS upgrade. Messing around with SIP settings or being clever with symbolic links is likely to end in pain, particularly when the next upgrade comes along.