Wietse Venema:
> Gerben Wierda:
> > > If it is chroot related, try turning off smtpd chroot in master.cf,
> > > and do "postfix reload?.
> >
> > Indeed, it is. If I turn chroot from y to n, I get my logging.
>
> Great. Do you insist on chroot? If so, does MacOS have strace or
> ktrace? Maybe you can find out if there is a difference in system
> call results with/without chroot, like some missing file.
Turns out it is not hard to create the postlog client socket early
(i.e. before chroot). I drafted some code during my train commute,
neds to be cleaned up and tested. Maybe that will be sufficient
to make logging work on MacOS.
(A different approach, inheriting the postlog client socket from
the master, would have better guarantees of working, but would
require some invasive changes in the master-child interface, plus
changes in the postlog client code.)
> I can't comment on MacOS hostname lookup architecture.
Wietse