title: DKIM DNS Record found but emails indicate no signature found
body: <p>When I scan my DNS Records my DKIM records are found, but when I send an email no DKIM signature is found. Below is the preliminary information I think is needed to help troubleshoot this issue. Any help would be appreciated.</p>
  
  <p>Registrar \ Nameservers: Godaddy
  Hosting: Digitalocean
  OS: Ubuntu 14.04</p>
  
  <p>DNS Records (DKIM test websites find the domainkey and indicate no errors):</p>
  
  <pre><code>TXT default._domainkey  v=DKIM1; g=*; k=rsa; p=domainkeygoeshere    600 seconds
  </code></pre>
  
  <p>Mail:</p>
  
  <pre><code>echo "just a new test" | mail -s "email contents" to@destination.com -aFrom:from@mydomain.com
  </code></pre>
  
  <p>Reply:</p>
  
  <pre><code>DKIM Information:
  DKIM Signature
  This message does not contain a DKIM Signature
  dkim=none header.d=mydomain.com; x-hmca=none header.id=from@mydomain.com
  
  ==========================================================
  Summary of Results
  ==========================================================
  SPF check:          pass
  DomainKeys check:   neutral
  DKIM check:         permerror
  SpamAssassin check: ham
  
  
  "permerror"
    The message could not be verified due to some error that
    is unrecoverable, such as a required header field being
    absent. A later attempt is unlikely to produce a final result.
  </code></pre>
  
  <p>DKIM Installation (Followed this tutorial):</p>
  
  <pre><code> https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-dkim-with-postfix-on-debian-wheezy
  </code></pre>
  
  <p>File: /etc/opendkim/TrustedHosts                                                                                  </p>
  
  <pre><code>127.0.0.1
  localhost
  192.168.0.1/24
  mydomain.com
  12.12.12.12
  
  *.mydomain.com
  
  #*.example.net
  #*.example.org
  </code></pre>
  
  <p>File: /etc/opendkim/KeyTable                                                                                     </p>
  
  <pre><code>default._domainkey.mydomain.com     mydomain.com:mail:/etc/opendkim/keys/mydomain.com/mail.private
  
  #mail._domainkey.example.net    example.net:mail:/etc/opendkim/keys/example.net/mail.private
  #mail._domainkey.example.org   example.org:mail:/etc/opendkim/keys/example.org/mail.private
  </code></pre>
  
  <p>File: /etc/opendkim/SigningTable                                                                                  </p>
  
  <pre><code>*@mydomain.com default._domainkey.mydomain.com
  
  #*@example.net mail._domainkey.example.net
  #*@example.org mail._domainkey.example.org
  </code></pre>
  
  <p>root@mydomain:/etc/opendkim/keys/mydomain.com# ls</p>
  
  <pre><code>mail.private  mail.txt
  </code></pre>