JangoMail fully supports the DomainKeys (DK) and DomainKeys Identified Mail (DKIM) email authentication standards. It's important to have DKIM set up with your own domain you will be using as your From Address, along with an SPF record, DMARC and Custom Tracking Domain.
What is DomainKeys/DKIM?
DomainKeys and DKIM are two email authentication standards, the former invented by Yahoo!, and the latter a combination of efforts by Yahoo! and Cisco. Both of these standards cryptographically sign an email message using a public/private key mechanism in such a way that a sending server can encrypt a message with a private key and a receiving server can decrypt the message using the public key. This ensures that it has not been tampered with en route to the receiving server and to ensure that it originated from the domain that is claimed in the From Address field.
Email messages that are signed with DomainKeys have a DomainKeys-Signature header in the email message such as:
DomainKey-Signature: a=rsa-sha1; c=nofws; s=jangomail; d=jangomail.com; q=dns;
h=DKIM-Signature:Subject:Sender:From:Date:To:X-Priority:Content-Transfer-Encoding:MIME-Version:X-Mailer:X-VConfig:Content-Type;
b=EEuzdikFieudUhYWbTeZKOnL5TwzCqQRG47Qlat3zvE1viBvas0mq9y9REzFoP8riz7U8Nb1tyPi+RIQv8PtDi3hgn
PBFudlRAV3hIffLJrR8MzFG8HGRaDkFgc93Gite7RVZMtqdnswbY9DbO55JtZdXGAjIK4fpqkwUiPecMY=;
Email messages that are signed with DKIM have a DKIM-Signature header in the email message such as:
DKIM-Signature: a=rsa-sha1; q=dns; c=simple/simple; d=jangomail.com;s=jangomail; bh=ZLzcKQojTfKSnBkkh0yGb42XEjo=;
h=Subject:Sender:From:Date:To:X-Priority:Content-Transfer-Encoding:MIME-Version:X-Mailer:X-VConfig:Content-Type; b=YM8+L1Dw59pY0PP6fI54SPkLI+lRfLVLzkH9lZHeSXWsmLH7Bdv6CwgF6hmYyGEKzNbDe14EBJeT/yUflM5d8Jdu90ed2CkZSLLy
TMiZgdCPMQNXRnWOiGQv0Ngl41GbWuPXA7iT0Zh72C7RGLB6SsjErzd8sNCOH89TtiR0Nvk=;
Since JangoMail supports both DomainKeys and DKIM, email messages signed may have both headers present. The signatures present in the header are based on the email message's From Address and the public key in the From Domain's DNS record. The DomainKeys record for jangomail.com looks like:
jangomail._domainkey.jangomail.com text =
"k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDqZ/L9o9Tw1xb0tdsgNzzqmG
Fg8srW3kGkszJfUY502io7Sacpw/37FJLBskdYKshk2Q5OoNwbml1HwXmSsdpK+PYUXYOu7QAof6WE38
kdXpb5mYEOAPXeDPad/cer2C7BggEStbOQj3AOzroqfzCWc2+uIX6M3u/ZQAVbfKU1kwIDAQAB"
Note that this is a TXT record in the DNS settings for jangomail.com. When adding a DomainKeys/DKIM record for a domain, the public key goes into a TXT record for selector._domainkey.DomainName.com. In this example, the selector is "jangomail".
To learn how to setup and use DomainKeys/DKIM when sending from your domain, visit our Creating DKIM article.
More on DomainKeys/DKIM: |
Official DomainKeys website: http://antispam.yahoo.com/domainkeys Wikipedia explanation of DomainKeys: http://en.wikipedia.org/wiki/DomainKeys Official DKIM website: http://www.dkim.org/ Wikipedia explanation of DKIM: http://en.wikipedia.org/wiki/DomainKeys_Identified_Mail Differences between DomainKeys and DKIM: bottom of http://www.dkim.org/info/dkim-faq.html Test your DomainKeys DNS record: http://domainkeys.sourceforge.net/selectorcheck.html |
Comments
0 comments
Article is closed for comments.