Browse Source

Docs on setting up a DNS txt record for DKIM

To take advantage of the OpenDKIM installation it's important to set up a DNS txt record. This documentation addition explains how to do that.
Tom Atkins 10 years ago
parent
commit
645ac231a1
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      README.textile

+ 4
- 0
README.textile View File

@@ -165,6 +165,10 @@ If you've just bought a new domain name, point it at "Linode's DNS Manager":http
165 165
 
166 166
 Create an @A@ record for @example.com@ as well as @mail.example.com@ which points to your server IP. Create an @MX@ record for @example.com@ which assigns @mail.example.com@ as the domain's mail server.
167 167
 
168
+To ensure your emails pass DKIM checks you need to add a @txt@ record. The name field will be @default._domainkey.EXAMPLE.COM.@ The value field contains the public key used by OpenDKIM. The exact value needed can be found in the file @/etc/opendkim/keys/EXAMPLE.COM/default.txt@ it'll look something like this:
169
+
170
+bc. v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDKKAQfMwKVx+oJripQI+Ag4uTwYnsXKjgBGtl7Tk6UMTUwhMqnitqbR/ZQEZjcNolTkNDtyKZY2Z6LqvM4KsrITpiMbkV1eX6GKczT8Lws5KXn+6BHCKULGdireTAUr3Id7mtjLrbi/E3248Pq0Zs39hkDxsDcve12WccjafJVwIDAQAB
171
+
168 172
 Set up SPF and reverse DNS "as per this post":http://sealedabstract.com/code/nsa-proof-your-e-mail-in-2-hours/. Make sure to validate that it's all working, for example by sending an email to <a href="mailto:check-auth@verifier.port25.com">check-auth@verifier.port25.com</a> and reviewing the report that will be emailed back to you.
169 173
 
170 174
 h3. 7. Miscellaneous Configuration

Loading…
Cancel
Save