Sendmail拒绝使用opendkim提供的DKIM签名消息

我在Ubuntu 14.04上安装了sendmailopendkim,并想configurationDKIM。

不幸的是,sendmail拒绝使用DKIM签署外发电子邮件。 尽pipe之前已经做过了,但是我之所以评论它,是因为我不得不等待DNS条目列出TXT-Record。 现在我评论了它,重build了sendmailconfiguration并重新启动了sendmail和opendkim,但是mail-tester.com声称这些消息没有被签名。

这里是sendmail.mc的条目:

INPUT_MAIL_FILTER(`opendkim', `S=local:/var/run/opendkim/opendkim.sock')dnl 

检查sockets:

 /etc/mail$ ll /var/run/opendkim/opendkim.sock srwxrwxr-x 1 opendkim opendkim 0 Jan 9 03:07 /var/run/opendkim/opendkim.sock= 

这些是来自log.level 15上mail.log的日志条目

 sm-mta[26489]: NOQUEUE: connect from localhost.localdomain [127.0.0.1] AUTH: available mech=DIGEST-MD5 NTLM CRAM-MD5 PLAIN LOGIN ANONYMOUS, allowed mech=EXTERNAL GSSAPI KERBEROS_V4 DIGEST-MD5 CRAM-MD5 Milter (opendkim): init success to negotiate Milter: connect to filters milter=opendkim, action=connect, continue --- 220 my-server-adress ESMTP Sendmail 8.14.4/8.14.4/Debian-4.1ubuntu1; Tue, 12 Jan 2016 17:35:35 +0100; (No UCE/UBE) logging access from: localhost.localdomain(OK)-localhost.localdomain [127.0.0.1] <-- EHLO my-server-adress --- 250-my-server-adress Hello localhost.localdomain [127.0.0.1], pleased to meet you --- 250-ENHANCEDSTATUSCODES --- 250-PIPELINING --- 250-EXPN --- 250-VERB --- 250-8BITMIME --- 250-SIZE --- 250-DSN --- 250-ETRN --- 250-AUTH DIGEST-MD5 CRAM-MD5 --- 250-DELIVERBY --- 250 HELP <-- MAIL From:<my-sender-email> SIZE=6179 AUTH=my-sender-email ruleset=trust_auth, arg1=my-sender-email, relay=localhost.localdomain [127.0.0.1], reject=550 5.7.1 <my-sender-email>... not authenticated Milter: sender: <my-sender-email> milter=opendkim, action=mail, continue --- 250 2.1.0 <my-sender-email>... Sender ok <-- RCPT To:<recipient-email-adress Milter: rcpts: <recipient-email-adress milter=opendkim, action=rcpt, continue --- 250 2.1.5 <recipient-email-adress... Recipient ok <-- DATA --- 354 Enter mail, end with "." on a line by itself from=<my-sender-email>, size=6272, class=0, nrcpts=1, msgid=<[email protected]>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1] milter=opendkim, action=header, continue message repeated 10 times: [ milter=opendkim, action=header, continue] milter=opendkim, action=eoh, continue milter=opendkim, action=body, continue Milter insert (1): header: DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=findix.com; s=dkim;\n\tt=1452616535; bh=lL6Nxp+zwlmTE0SjCbctUgyFK/k+y3VgD/s/9XraXGU=;\n\th=To:Subject:Date:From:From;\n\tb=BJAqA5Cp/Koy67VAQ7KVDN6RXeu1P9imkRxprNn/uInAK6PCLDsGZGzr05S4oM4qs\n\t GONufC0GLu/eZYUNKBHoVfSkC6e5x99erbufkSGfLVrHlxCpRCRplr7P9lOwc1+3pF\n\t ImvRO2d+Gy2+OqFPydAb77blcxTsNb82VMS9HgwE= Milter accept: message poststats: /var/lib/sendmail/sendmail.st: No such file or directory --- 250 2.0.0 u0CGZZpo026489 Message accepted for delivery 

Mail.err不显示任何问题。 还有什么可以检查,让它运行? 预先感谢您的任何帮助。