On Wed, Mar 11, 2020 at 09:50:42AM +1000, Jay wrote: > But, it seems like the true problem is finding out why the `mail` > command isn’t putting messages into > /Library/Server/Mail/Data/spool/maildrop instead of > /var/spool/postfix/maildrop.
The mail(1) command undoubtedly invokes sendmail(1) to actually deliver the message. The Postfix sendmail(1) in turn invokes postdrop(1) to deposit messages into the "maildrop" queue. So your task boils down to finding how many sendmail(1)+postdrop(1) combinations you have, and identifying which ones deposit the mail where. On my non-server MacOS laptop, I have: $ type -p sendmail /usr/sbin/sendmail $ strings -a $(type -p sendmail) | grep /postfix /etc/postfix /usr/libexec/postfix /var/lib/postfix /var/spool/postfix which, with high probability, uses main.cf from /etc/postfix, and invokes a postdrop(1) which deposits messages in /var/spool/postfix/maildrop. $ type -p postdrop /usr/sbin/postdrop $ strings -a $(type -p postdrop) | grep /postfix /etc/postfix /usr/libexec/postfix /var/lib/postfix /var/spool/postfix -- Viktor.