— that’s the input i needed to solve —
http://www.virtualmin.com/node/16752#comment-77877
after that, dkim was correctly available and i could enter the corresponding TXT records in my DNS Server, everything works fine now…
hi there
i am currently setting up a virtualmin server. i do not have yet a deep insight into mailserver configuration. That’s why i basically followed the documentation on this topic:
http://www.virtualmin.com/documentation/email/dkim
i followed all the steps precisely. I am running the latest virtualmin on debian squeeze.
the public key is shown in the textfield in virtualmin. i used it in my dns server TXT as follows:
k=rsa; t=y; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDpJ36KdDu2AT6+nTZ/72O//CgdHwZzgw1MUlNDYZU/AMDtmd/L5NaQo2iU4JC6768WIngJAmZDalV9reFPTidQHpCP5symhOSQk95R81EXE5GyXbIiN1NTKw1WhjYbKFvCGcvzZbhNcLKLzId+FbmAUOphdH1sZUPsl2PLgfn52wIDAQAB
emails are sent properly, but headers are showing errors in gmail and one of my servers refuse to accept the mail because of wrong dkim. here is the header in detail:
Received-SPF: neutral (google.com: 47.105.121.47 is neither permitted nor denied by best guess record for domain of admin@mydomain.ch) client-ip=47.105.121.47;
Authentication-Results: mx.google.com; spf=neutral (google.com: 47.105.121.47 is neither permitted nor denied by best guess record for domain of admin@mydomain.ch) smtp.mail=admin@mydomain.ch; dkim=neutral (bad format)
what do i have to change additionaly? i am new to mailservers, so any help would be apreciated.
best
marc
BTW: ip/domain are not the original ones…
here are check results by port25.com
==========================================================
Summary of Results
SPF check: neutral
DomainKeys check: neutral
DKIM check: permerror
Sender-ID check: neutral
SpamAssassin check: ham
==========================================================
Details:
HELO hostname: ns394031.ovh.net
Source IP: 47.105.121.47
mail-from: admin@mydomain.ch
SPF check details:
Result: neutral (SPF-Result: None)
ID(s) verified: smtp.mailfrom=admin@mydomain.ch
DNS record(s):
mydomain.ch. SPF (no records)
mydomain.ch. TXT (no records)
DomainKeys check details:
Result: neutral (message not signed)
ID(s) verified: header.From=admin@mydomain.ch
DNS record(s):
DKIM check details:
Result: permerror (no usable key records)
ID(s) verified:
Canonicalized Headers:
Message-ID:‘20’4E69D295.6000505@mydomain.ch’0D’‘0A’
Date:‘20’Fri,‘20’09’20’Sep’20’2011’20’10:47:17’20’+0200’0D’‘0A’
From:‘20’Marx’20’Widx’20’admin@mydomain.ch’0D’‘0A’
MIME-Version:‘20’1.0’0D’‘0A’
To:‘20’check-auth@verifier.port25.com’0D’‘0A’
Subject:‘20’test’0D’‘0A’
Content-Type:'20’text/plain;'20’charset=ISO-8859-1;‘20’format=flowed’0D’‘0A’
Content-Transfer-Encoding:‘20’7bit’0D’‘0A’
DKIM-Signature:'20’v=1;'20’a=rsa-sha256;'20’c=simple/simple;'20’d=mydomain.ch;‘0D’‘0A’
'09’s=2011;'20’t=1315558067;‘0D’‘0A’
'09’bh=g3zLYH4xKxcPrHOD18z9YfpQcnk/GaJedfustWU5uGs=;‘0D’‘0A’
'09’h=Message-ID:Date:From:MIME-Version:To:Subject:Content-Type:‘0D’‘0A’
‘09’'20’Content-Transfer-Encoding;‘0D’‘0A’
'09’b=
Canonicalized Body:
test’0D’‘0A’
DNS record(s):
2011._domainkey.mydomain.ch. TXT (no records)
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: neutral (SPF-Result: None)
ID(s) verified: header.From=admin@mydomain.ch
DNS record(s):
ewzselection.ch. SPF (no records)
ewzselection.ch. TXT (no records)