Astaro User Bulletin Board
Go Back   Astaro User Bulletin Board > Closed Forums (read only) > ASG V7.300 BETA (closed)

Welcome to the Astaro User Bulletin Board.
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-14-2008, 07:37 PM
fobe's Avatar
Wizard
 
Join Date: Dec 2001
Posts: 511
Question [7.250] How to make DKIM working? [NOTABUG]

Hi all,
I'm testing the DKIM-feature and it's appended to my emails but for some reason it's not working too well. I'll show what I did & how I configured ASG, so maybe you'll see what I'm doing wrong (or not ):

01) made the private key with "openssl genrsa -out rsa.private 1024"
02) made the public key with "openssl rsa -in rsa.private -out rsa.public -pubout -outform PEM"
03) Made in my nameser the entry: dkim._domainkey.mydomain.com TXT k=rsa;t=y;p= {output rsa.public}
04) Go to E-mail security and the Advanced-tab filled in Private Key RSA the outpu of rsa.private (step 01).
05) at selector: dkim._domainkey
06) at Domains: mydomain.com
07) apply

Wait a few moments so the DNS-servers will be updated. When I now send an e-mail the DKIM-signature is added. But when I send a test e-mail to "dkim-test@testing.dkim.org" I get the following error:

testing.dkim.org; v=0.1; dkim=fail, header.i=@mydomain.com (
DNS lookup for mydomain.com/dkim._domainkey failed; mydomain
.com/dkim._domainkey fail; );
ssp=neutral, header.From=me@domain.com

So for some reason the dns-lookup fails. I also waited longer so I know for sure that the nameservers are updated (like 2 hours, I know nameservers are updated in 2 days globally).

Has someone a clue what I'm doing wrong? Any help is welcome
  #2 (permalink)  
Old 07-14-2008, 08:12 PM
tom's Avatar
tom tom is offline
Super Moderator
 
Join Date: Nov 2000
Location: Heidelberg, Germany
Posts: 1,231
Default

Quote:
Originally Posted by fobe View Post
03) Made in my nameser the entry: dkim._domainkey.mydomain.com TXT k=rsa;t=y;p= {output rsa.public}
This should be

dkim._domainkey.mydomain.com. TXT "v=DKIM1; p={output rsa.public}"

Note the additional dot at the end of the record name. Alternatively:

dkim._domainkey TXT "v=DKIM1; p={output rsa.public}"

This time without the dot ...

Quote:
Originally Posted by fobe View Post
05) at selector: dkim._domainkey
This should be just "dkim", the "_domainkey" namespace is not part of the selector string.

Quote:
Originally Posted by fobe View Post
Wait a few moments so the DNS-servers will be updated.
This depends on several factors, the most important one being the TTL you set as default for your zone or a specific TTL for the TXT record. The standard value is 86400 seconds (one day). Negative (NXDOMAIN) caching on remote sites is usually two hours.
__________________
Tom Kistner
Product Development & Administrator
Astaro AG
  #3 (permalink)  
Old 07-14-2008, 08:40 PM
fobe's Avatar
Wizard
 
Join Date: Dec 2001
Posts: 511
Default

Hi Tom,
the "dkim._domainkey" instead of "dkim" was the misconfiguration in the Selector-option!!! And also my record has the "dot" at the end of my record.

Thanks for the help!!!!
  #4 (permalink)  
Old 09-10-2008, 06:41 PM
BAlfson's Avatar
Moderator
 
Join Date: Mar 2007
Location: Oklahoma City
Posts: 5,389
Question "in ascii armor"

This is a term of art that is somewhat confusing. I presume that it means "complete with the beginning header, ending footer and the carriage returns in the text."

I also presume that the nameserver TXT record is "stripped of its ascii armor including the carriage returns."

Thanks - Bob

PS This is an example of the type of information that is missing in the Astaro documentation - "cheat sheets" that give a quick, clear recipe for specific applications like turning on and using DKIM.
__________________
ACE V7 - Astaro Preferred Partner since V3
Addicted to my iPhone!
  #5 (permalink)  
Old 09-15-2008, 08:42 AM
Member
 
Join Date: Sep 2008
Posts: 77
Default

I'm also puzzled by this terminology.

Can we please get some confirmation that we should put the entire contents of the private key file that openssl has created? Ie "in ascii armor" means with the "-----BEGIN RSA PRIVATE KEY-----" followed by the key itself, complete with carriage returns and ending with "-----END RSA PRIVATE KEY-----".
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 02:02 PM.

 

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.


These pages are specifically maintained for the discussion of firewall issues within the Open Source community, and might already reflect new alpha/beta releases under development. Please refer to our product specifications for the functionality of the actual release. Discussions of new/enhanced functionality does not constitute a commitment of Astaro, to integrate this functionality into future releases. issues within the Open Source community, and might already reflect new alpha/beta releases under development. Please refer to our product specifications for the functionality of the actual release. Discussions of new/enhanced functionality does not constitute a commitment of Astaro, to integrate this functionality into future releases.