Wolfgang Mueller:
-- Start of PGP signed section.
> On a musl-based system, postfix incorrectly assumes that file descriptor
> passing is not available, because of this line in sys_defs.h:
>
> > #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,2,0)) || (__GLIBC__ < 2)
>
> It builds fine, but when used with a milter or the postscreen daemon, it
> will fail at runtime with this error:
>
> > warning: unix_send_fd: your system has no support for file descriptor
> > passing
> > warning: pass_accept_attr: cannot receive file descriptor: No error
> > information error: accept connection: No error information
I have added a few missing "defined(__GLIBC__)" guards.
Wietse