title: OpenDKIM not signing emails
body: <p>I am trying to configure OpenDKIM to sign emails sent from our website. I am installing it on a CentOS linux server. I have installed opendkim and created all the configuration filed and key files. I cannot figure out why it isnt signing outgoing emails. I have been checking all the configurations but everything seems ok.</p>
  
  <p>Here are the contents of our configuration files(website name changed to example.com for post):</p>
  
  <p><strong>opendkim.conf</strong>:</p>
  
  <pre><code>AutoRestart             false
  Canonicalization        relaxed/simple
  ExternalIgnoreList      refile:/etc/opendkim/TrustedHosts
  InternalHosts           refile:/etc/opendkim/TrustedHosts
  KeyTable                refile:/etc/opendkim/KeyTable
  LogWhy                  Yes
  Mode                    sv
  Domain                  example.com
  Selector                default
  PidFile                 /var/run/opendkim/opendkim.pid
  SignatureAlgorithm      rsa-sha256
  SigningTable            refile:/etc/opendkim/SigningTable
  Socket                  inet:8891@127.0.0.1
  Syslog                  Yes
  SyslogSuccess           Yes
  TemporaryDirectory      /var/tmp
  UMask                   002
  UserID                  opendkim:opendkim
  </code></pre>
  
  <p><strong>TrustedHosts</strong>:</p>
  
  <pre><code>127.0.0.1
  localhost
  *@example.com
  *example.com
  example.com
  </code></pre>
  
  <p><strong>SigningTable</strong>:</p>
  
  <pre><code>*@example.com default._domainkey.example.com
  </code></pre>
  
  <p><strong>KeyTable</strong>:</p>
  
  <pre><code>default._domainkey.example.com       example.com:default:/etc/opendkim/keys/example.com/default
  </code></pre>
  
  <p>I have been searching through tutorial after tutorial and trying different things in these configuration files, but so far nothing has worked. If anyone knows what I have done wrong here please let me know, thanks!</p>