Hi,
I an effort to setup a good mail service I have implemented DKIM in addition to spf.
All seemed to work fine but I have some issues with the signature and hope that maybe someone has the same issue and resolved it.
I did make lots of research and several people did indicate they had the issue but for some reason there is no definitive answer that assists me to resolve this on my system.
I run Linux RHEL 5 64bit - Sendmail - DKIM-filter
If I send a email to google it indicates "dkim=neutral (no key) header.i=@dmni.com" I tried hard but I do not understand this. I do have a private and public key and all should be there.
I do start the filter with:
dkim-filter -l -p inet:8891@localhost -b sv -c simple -d dmni.com -k /var/db/domainkeys/mail.ke
y.pem -s mail -R -u dkim
the key folder and file us assigned to the user dkim
The dns has the entry:
mail._domainkey.dmni.com. 300 IN TXT v=DKIM1; g=*; k=rsa; p=MHww ... AB
Here is what google says and see below this the test at check-auth@verifier.port25
.com
Delivered-To: thomanji@gmail.com
Received: by 10.220.92.139 with SMTP id r11cs61468vcm;
Fri, 3 Jul 2009 23:43:23 -0700 (PDT)
Received: by 10.90.101.7 with SMTP id y7mr775242agb.5.1246689803
600;
Fri, 03 Jul 2009 23:43:23 -0700 (PDT)
Return-Path: <thomas@dmni.com>
Received: from app2.dmni.com (app2.dmni.com [174.143.94.154])
by mx.google.com with ESMTP id 5si10643557gxk.91.2009.07.
03.23.43.2
2;
Fri, 03 Jul 2009 23:43:22 -0700 (PDT)
Received-SPF: pass (google.com: domain of thomas@dmni.com designates 174.143.94.154 as permitted sender) client-ip=174.143.94.154;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of thomas@dmni.com designates 174.143.94.154 as permitted sender) smtp.mail=thomas@dmni.com;
dkim=neutral (no key) header.i=@dmni.com
Received: from [127.0.0.1] ([120.138.81.35])
(authenticated bits=0)
by app2.dmni.com (8.13.8/8.13.8) with ESMTP id n646hTG4028468
for <thomanji@gmail.com>; Sat, 4 Jul 2009 02:43:31 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dmni.com; s=mail;
t=1246689812; bh=VYvGzrJLAW0zN632OqvdJBG
0N7/3BUpw9
XazPKuv+wE
=;
h=Message-ID:Date:From:Rep
ly-To:MIME
-Version:T
o:Subject:
Content-Type:Content-Trans
fer-Encodi
ng;
b=oidJm99ubX8ljlG2e+Sla9IP
5X3ziSpIYC
03irrtyd2S
RL0K2gbkgY
aiFPSUr3fU
q
SRuzSUl+Y98RpeRFQYwM2iEu7N
khbO+v2b3W
LebaLNpNig
bx+8SCydR0
o41iUVW
Message-ID: <4A4EFA05.9020904@dmni.com
>
Date: Sat, 04 Jul 2009 14:43:17 +0800
From: Thomas Bernthaler <thomas@dmni.com>
Reply-To: thomas@dmni.com
Organization: DMNI
User-Agent: Thunderbird 2.0.0.22 (Windows/20090605)
MIME-Version: 1.0
To: thomanji@gmail.com
Subject: test new
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding:
7bit
check-auth@verifier.port25
.com test:
==========================
==========
==========
==========
==
Summary of Results
==========================
==========
==========
==========
==
SPF check: pass
DomainKeys check: neutral
DKIM check: pass
Sender-ID check: pass
SpamAssassin check: ham
==========================
==========
==========
==========
==
Details:
==========================
==========
==========
==========
==
HELO hostname: app2.dmni.com
Source IP: 174.143.94.154
mail-from: thomas@dmni.com
--------------------------
----------
----------
----------
--
SPF check details:
--------------------------
----------
----------
----------
--
Result: pass
ID(s) verified: smtp.mail=thomas@dmni.com
DNS record(s):
dmni.com. 300 IN TXT "v=spf1 ip4:174.143.94.154 a:n2b.bullet.mail.aue.yaho
o.com a:n1b.bullet.mail.aue.yaho
o.com a:smtp1.tnz.mail.vip.aue.y
ahoo.com a:send.tnz.yahoo.com -all"
--------------------------
----------
----------
----------
--
DomainKeys check details:
--------------------------
----------
----------
----------
--
Result: neutral (message not signed)
ID(s) verified: header.From=thomas@dmni.co
m
DNS record(s):
--------------------------
----------
----------
----------
--
DKIM check details:
--------------------------
----------
----------
----------
--
Result: pass (matches From: thomas@dmni.com)
ID(s) verified: header.d=dmni.com
Canonicalized Headers:
Message-ID:'20'<4A5171B8.7
080102@dmn
i.com>'0D'
'0A'
Date:'20'Mon,'20'06'20'Jul
'20'2009'2
0'11:38:32
'20'+0800'
0D''0A'
From:'20'Thomas'20'Berntha
ler'20'<th
omas@dmni.
com>'0D''0
A'
Reply-To:'20'thomas@dmni.c
om'0D''0A'
MIME-Version:'20'1.0'0D''0
A'
To:'20'check-auth@verifier
.port25.co
m'0D''0A'
Subject:'20'test'0D''0A'
Content-Type:'20'text/plai
n;'20'char
set=ISO-88
59-1;'20'f
ormat=flow
ed'0D''0A'
Content-Transfer-Encoding:
'20'7bit'0
D''0A'
DKIM-Signature:'20'v=1;'20
'a=rsa-sha
256;'20'c=
simple/sim
ple;'20'd=
dmni.com;'
20's=mail;
'0D''0A'
'09't=1246851522;'20'bh=ei
a2az/UdYM0
rrrQdlzT2J
7mtRFp+U90
A+31+SxljO
A=;'0D''0A
'
'09'h=Message-ID:Date:From
:Reply-To:
MIME-Versi
on:To:Subj
ect:'0D''0
A'
'09''20'Content-Type:Conte
nt-Transfe
r-Encoding
;'0D''0A'
'09'b=
Canonicalized Body:
This'20'is'20'a'20'DKIM'20
'test'0D''
0A'
DNS record(s):
mail._domainkey.dmni.com. 300 IN TXT "v=DKIM1; g=*; k=rsa; p=MHwwDQYJKoZIhvcNAQEBBQAD
awAwaAJhAL
hSt5fje4cH
HR2f6r61Hx
8uup/qbnJo
MGIYnvXiH1moNDtBt2QaW/uDto
RfzQgKG9X9
Kv3ZnuSeHw
vWMW17UgpK
3uHk/OrB 9AM/+YSfzjL3dj2no7iR+JBpx7
wQ0R17kwID
AQAB"
NOTE: DKIM checking has been performed based on the latest DKIM specs
(RFC 4871 or draft-ietf-dkim-base-10) and verification may fail for
older versions. If you are using Port25's PowerMTA, you need to use
version 3.2r11 or later to get a compatible version of DKIM.
--------------------------
----------
----------
----------
--
Sender-ID check details:
--------------------------
----------
----------
----------
--
Result: pass
ID(s) verified: header.From=thomas@dmni.co
m
DNS record(s):
dmni.com. 300 IN TXT "v=spf1 ip4:174.143.94.154 -all"
Did anyone actually resolve this and can let me know what i do wrong. I am on this much to long and have reached the end of my ideas what else to do to get this done.
Thank you all for the assistance.
Best wishes,
Thom