Exim邮件不签署DKIM。 不要发现什么是错的。 (详细描述采取的步骤)

我想安装我的新服务器(Ubuntu的)主办我的www.bolleboos.be网站,并启用从我的PHP脚本发送电子邮件。 所以…我安装了Apache,PHP,MySQL,…和邮件exim4

发送邮件allready工作正常,我也设法得到SPF的工作。

如果我发邮件到[email protected],那么它会返回给我

SPF检查:通过
DomainKeys检查:中立
DKIM检查:中立
发件人ID检查:通过
SpamAssassin检查:火腿

所以合乎逻辑的下一步将是启用DKIM

我创build了一个1024位的私钥

#openssl genrsa -out dkim.private.key 1024

然后公钥与

#openssl rsa -in dkim.private.key -out dkim.public.key -pubout -outform PEM

这些文件现在在/ etc / exim4 /

然后,我编辑了文件/etc/exim4/conf.d/transport/00exim4-configheader并添加了以下内容

################################################## ####################
#运输configuration#
################################################## ####################
#订单不重要#
#每次交货只需要一个适当的运输工具。 #
################################################## ####################
#传输仅在成功路由器引用时使用
#处理一个地址。

开始运输

DKIM_CANON =放松
DKIM_DOMAIN = bolleboos.be
DKIM_SELECTOR = dkim
DKIM_PRIVATE_KEY = /etc/exim4/dkim.private.key

之后,我执行以下命令(以root用户身份)

/etc/init.d/exim4停止
更新exim4.conf
/etc/init.d/exim4停止

全部执行正常

我还添加了一些东西给我的DNS

我的区域文件现在看起来像这样

$ ORIGIN bolleboos.be。
$ TTL 1800
bolleboos.be。 在SOA ns1.digitalocean.com。 hostmaster.bolleboos.be。 1418477398 10800 3600 604800 1800
bolleboos.be。 1800在NS ns1.digitalocean.com。
bolleboos.be。 1800在NS ns2.digitalocean.com。
bolleboos.be。 1800在NS ns3.digitalocean.com。
bolleboos.be。 1800 IN A 128.199.43.113
* .bolleboos.be。 1800 IN CNAME bolleboos.be。
bolleboos.be。 1800 IN MX 10 mx.mailprotect.be。
bolleboos.be。 1800 IN MX 50 mx.backup.mailprotect.be。
bolleboos.be。 1800 IN TXT“v = spf1 a:bolleboos.be -all”
dkim._domainkey.bolleboos.be。 1800 IN TXT “TXT V = DKIM1;吨= Y; K = RSA; P = MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDWdCBmsPYub6KXNdiuntRwQJ8y LLh1viv3YLeoNW7ayPDHXFpR3O1pcU3fHQimhSBH67KXpH7oWAfka09GRUCh7UBm iEbjldlrTXdX7QBr4Ff70vRIhBogkwN8rRPlF + c69lRkrALJp6psOD4D1Gwx58kZ LDQrM19qwVH + SKIaBQIDAQAB”

当我现在发送邮件到port25检查器,我仍然收到消息与DKIM中立,它也说我的邮件没有签名。 所以它看起来像exim不签名我的邮件?

有什么我可能做错了,或者我可以检查某些日志文件,看看有什么不对吗?

亲切的问候,巴特

BELOW是完整的头文件当我从我的服务器发送邮件到我的电子邮件地址时,gmail显示我:它可能显示有用的信息?

Delivered-To: [email protected] Received: by 10.70.95.36 with SMTP id dh4csp311478pdb; Sat, 13 Dec 2014 07:06:20 -0800 (PST) X-Received: by 10.194.91.205 with SMTP id cg13mr37051885wjb.21.1418483179344; Sat, 13 Dec 2014 07:06:19 -0800 (PST) Return-Path: <[email protected]> Received: from bolleboos.be (bolleboos.be. [128.199.43.113]) by mx.google.com with ESMTPS id e7si8277602wic.29.2014.12.13.07.06.18 for <[email protected]> (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sat, 13 Dec 2014 07:06:19 -0800 (PST) Received-SPF: pass (google.com: domain of [email protected] designates 128.199.43.113 as permitted sender) client-ip=128.199.43.113; Authentication-Results: mx.google.com; spf=pass (google.com: domain of [email protected] designates 128.199.43.113 as permitted sender) [email protected] Received: from localhost ([127.0.0.1] helo=www.bolleboos.be) by bolleboos.be with esmtp (Exim 4.82) (envelope-from <[email protected]>) id 1XzoGv-0000sw-Me for [email protected]; Sat, 13 Dec 2014 10:06:17 -0500 Date: Sat, 13 Dec 2014 10:06:17 -0500 To: Bart Libert <[email protected]> From: Bolleboos setfrom <[email protected]> Reply-To: Bolleboos setfrom <[email protected]> Subject: Testmailtje met phpmailer class Message-ID: <[email protected]> X-Priority: 3 X-Mailer: PHPMailer 5.2.6 (https://github.com/PHPMailer/PHPMailer/) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="b1_23272ca210edc22079917cd8bffdcf23" --b1_23272ca210edc22079917cd8bffdcf23 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Welkom bij Hier is een pinguin: --b1_23272ca210edc22079917cd8bffdcf23 Content-Type: multipart/related; boundary="b2_23272ca210edc22079917cd8bffdcf23" --b2_23272ca210edc22079917cd8bffdcf23 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Welkom bij <img src="cid:logo"> <br><br>Hier is een pinguin: <img src="cid:pinguin">