我们使用opendkim和postfix(多实例)来签署外发邮件。 在繁忙时刻,opendkimlogging下列错误:
warning: milter unix:/var/run/opendkim/opendkim.sock: read error in initial handshake Sep 8 16:00:14 telemann postfix-15/smtpd[24178]: warning: milter unix:/var/run/opendkim/opendkim.sock: can't read SMFIC_OPTNEG reply packet header: Connection reset by peer
和这个:
opendkim[14581]: OpenDKIM Filter: accept() returned invalid socket (Numerical result out of range), try again
我知道这可以通过使用poll()而不是select()来解决,所以我编译了opendkim –enable-poll,但是这没有帮助。
在对二进制文件进行保存时,似乎还在使用select:
strace -p 14581 Process 14581 attached select(6, [5], NULL, [5], {2, 959258}) = 0 (Timeout) select(6, [5], NULL, [5], {5, 0}) = 0 (Timeout)
我如何检查二进制文件是否使用poll? 如果不是,我应该如何编译opendkim? 还是有另一种方法来解决这个问题?
(不幸的是我不擅长C / C ++)。