roehling / postsrsd

Postfix Sender Rewriting Scheme daemon
326 stars 39 forks source link

milter doesn't work with IPv6 SMTP clients #156

Closed rhansen closed 1 year ago

rhansen commented 1 year ago

When an SMTP client connects over IPv6, the milter doesn't seem to have any effect other than the following log messages:

postsrsd[2946]: PostSRSd: connect[-1219253440]: unknown family 54
postfix/smtpd[4863]: warning: milter unix:postsrsd/srs_milter: can't read SMFIC_CONNECT reply packet header: Success

IPv4 clients work as expected (those log messages don't exist).

If I compile with NETINET6 defined (see https://github.com/roehling/postsrsd/issues/153#issue-1862642189) then it works.