title: SPF and DKIM records for Mandrill on DigitalOcean
body: <p>I have a VPS with DigitalOcean and I’m setting up SPF and DKIM records as per the <a href="https://mandrill.zendesk.com/hc/en-us/articles/205582267-What-are-SPF-and-DKIM-and-how-do-I-set-them-up-" rel="nofollow noreferrer">Mandrill guide</a>. However, it tells me my DKIM record is not valid.</p>
  
  <p>The error message that I get is:</p>
  
  <blockquote>
    <p>This TXT record doesn's look like a valid DKIM record. Try changing v=spf1 include:spf.mandrillapp.com ?all to v=DKIM1.
    Here's the current TXT record for mandrill._domainkey.cool-house.nl:</p>
    
    <blockquote>
      <p>v=spf1 include:spf.mandrillapp.com ?all</p>
    </blockquote>
    
    <p>You just need to change the TXT record to this:</p>
    
    <blockquote>
      <p>v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCrLHiExVd55zd/IQ/J/mRwSRMAocV/hMB3jXwaHH36d9NaVynQFYV8NaWi69c1veUtRzGt7yAioXqLj7Z4TeEUoOLgrKsn8YnckGs9i3B3tVFB+Ch/4mPhXWiNfNdynHWBcPcbJ8kjEQ2U8y78dHZj1YeRXXVvWob2OaKynO8/lQIDAQAB;</p>
    </blockquote>
  </blockquote>
  
  <p>My records are: <img src="https://i.stack.imgur.com/Ax49T.png" alt="screenshot of SPF and DKIM records"></p>
  
  <p>Anyone know what I’m doing wrong?</p>