title: Amazon SES IP Fails SPF Check in DMARC
body: <p>I use Amazon SES for transactional emails and use the WP SES Plugin to integrate with my WordPress.</p>
  <p>SPF fails for some of my emails which has the IP starting with <code>54.240.27</code>. This seems to be Amazon SES IP.</p>
  <p>I have the following SPF txt added to my DNS: <code>v=spf1 include:_spf.google.com include:ofpad.com include:amazonses.com ~all</code></p>
  <p>Any help is greatly appreciated.</p>
  <p><strong>Update:</strong>
  I added the MAIL FROM Domain in AWS as instructed by architjn, but the issue persists.</p>
  <p><a href="https://i.stack.imgur.com/OlcFg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OlcFg.png" alt="enter image description here" /></a></p>
  <p>Below is the DMARC sent by Gmail after the implementation of Mail From Domain in AWS. Here is a human-readable version of the report: <a href="https://us.dmarcian.com/dmarc-xml/details/VANOJ4S6b8QGCinq/" rel="nofollow noreferrer">https://us.dmarcian.com/dmarc-xml/details/VANOJ4S6b8QGCinq/</a></p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; ?&gt;
  &lt;feedback&gt;
    &lt;report_metadata&gt;
      &lt;org_name&gt;google.com&lt;/org_name&gt;
      &lt;email&gt;noreply-dmarc-support@google.com&lt;/email&gt;
      &lt;extra_contact_info&gt;https://support.google.com/a/answer/2466580&lt;/extra_contact_info&gt;
      &lt;report_id&gt;4375352491574064416&lt;/report_id&gt;
      &lt;date_range&gt;
        &lt;begin&gt;1601078400&lt;/begin&gt;
        &lt;end&gt;1601164799&lt;/end&gt;
      &lt;/date_range&gt;
    &lt;/report_metadata&gt;
    &lt;policy_published&gt;
      &lt;domain&gt;ofpad.com&lt;/domain&gt;
      &lt;adkim&gt;r&lt;/adkim&gt;
      &lt;aspf&gt;r&lt;/aspf&gt;
      &lt;p&gt;none&lt;/p&gt;
      &lt;sp&gt;none&lt;/sp&gt;
      &lt;pct&gt;100&lt;/pct&gt;
    &lt;/policy_published&gt;
    &lt;record&gt;
      &lt;row&gt;
        &lt;source_ip&gt;54.240.27.115&lt;/source_ip&gt;
        &lt;count&gt;9&lt;/count&gt;
        &lt;policy_evaluated&gt;
          &lt;disposition&gt;none&lt;/disposition&gt;
          &lt;dkim&gt;pass&lt;/dkim&gt;
          &lt;spf&gt;fail&lt;/spf&gt;
        &lt;/policy_evaluated&gt;
      &lt;/row&gt;
      &lt;identifiers&gt;
        &lt;header_from&gt;ofpad.com&lt;/header_from&gt;
      &lt;/identifiers&gt;
      &lt;auth_results&gt;
        &lt;dkim&gt;
          &lt;domain&gt;ofpad.com&lt;/domain&gt;
          &lt;result&gt;pass&lt;/result&gt;
          &lt;selector&gt;ukez6fkocbm5wtdd7aqfx754ngfzaqs3&lt;/selector&gt;
        &lt;/dkim&gt;
        &lt;dkim&gt;
          &lt;domain&gt;amazonses.com&lt;/domain&gt;
          &lt;result&gt;pass&lt;/result&gt;
          &lt;selector&gt;hsbnp7p3ensaochzwyq5wwmceodymuwv&lt;/selector&gt;
        &lt;/dkim&gt;
        &lt;spf&gt;
          &lt;domain&gt;us-west-2.amazonses.com&lt;/domain&gt;
          &lt;result&gt;pass&lt;/result&gt;
        &lt;/spf&gt;
      &lt;/auth_results&gt;
    &lt;/record&gt;
    &lt;record&gt;
      &lt;row&gt;
        &lt;source_ip&gt;54.240.27.35&lt;/source_ip&gt;
        &lt;count&gt;8&lt;/count&gt;
        &lt;policy_evaluated&gt;
          &lt;disposition&gt;none&lt;/disposition&gt;
          &lt;dkim&gt;pass&lt;/dkim&gt;
          &lt;spf&gt;fail&lt;/spf&gt;
        &lt;/policy_evaluated&gt;
      &lt;/row&gt;
      &lt;identifiers&gt;
        &lt;header_from&gt;ofpad.com&lt;/header_from&gt;
      &lt;/identifiers&gt;
      &lt;auth_results&gt;
        &lt;dkim&gt;
          &lt;domain&gt;ofpad.com&lt;/domain&gt;
          &lt;result&gt;pass&lt;/result&gt;
          &lt;selector&gt;ukez6fkocbm5wtdd7aqfx754ngfzaqs3&lt;/selector&gt;
        &lt;/dkim&gt;
        &lt;dkim&gt;
          &lt;domain&gt;amazonses.com&lt;/domain&gt;
          &lt;result&gt;pass&lt;/result&gt;
          &lt;selector&gt;hsbnp7p3ensaochzwyq5wwmceodymuwv&lt;/selector&gt;
        &lt;/dkim&gt;
        &lt;spf&gt;
          &lt;domain&gt;us-west-2.amazonses.com&lt;/domain&gt;
          &lt;result&gt;pass&lt;/result&gt;
        &lt;/spf&gt;
      &lt;/auth_results&gt;
    &lt;/record&gt;
    &lt;record&gt;
      &lt;row&gt;
        &lt;source_ip&gt;209.85.220.41&lt;/source_ip&gt;
        &lt;count&gt;39&lt;/count&gt;
        &lt;policy_evaluated&gt;
          &lt;disposition&gt;none&lt;/disposition&gt;
          &lt;dkim&gt;pass&lt;/dkim&gt;
          &lt;spf&gt;pass&lt;/spf&gt;
        &lt;/policy_evaluated&gt;
      &lt;/row&gt;
      &lt;identifiers&gt;
        &lt;header_from&gt;ofpad.com&lt;/header_from&gt;
      &lt;/identifiers&gt;
      &lt;auth_results&gt;
        &lt;dkim&gt;
          &lt;domain&gt;ofpad.com&lt;/domain&gt;
          &lt;result&gt;pass&lt;/result&gt;
          &lt;selector&gt;ukez6fkocbm5wtdd7aqfx754ngfzaqs3&lt;/selector&gt;
        &lt;/dkim&gt;
        &lt;dkim&gt;
          &lt;domain&gt;amazonses.com&lt;/domain&gt;
          &lt;result&gt;pass&lt;/result&gt;
          &lt;selector&gt;hsbnp7p3ensaochzwyq5wwmceodymuwv&lt;/selector&gt;
        &lt;/dkim&gt;
        &lt;spf&gt;
          &lt;domain&gt;ofpad.com&lt;/domain&gt;
          &lt;result&gt;pass&lt;/result&gt;
        &lt;/spf&gt;
      &lt;/auth_results&gt;
    &lt;/record&gt;
    &lt;record&gt;
      &lt;row&gt;
        &lt;source_ip&gt;54.240.27.34&lt;/source_ip&gt;
        &lt;count&gt;10&lt;/count&gt;
        &lt;policy_evaluated&gt;
          &lt;disposition&gt;none&lt;/disposition&gt;
          &lt;dkim&gt;pass&lt;/dkim&gt;
          &lt;spf&gt;fail&lt;/spf&gt;
        &lt;/policy_evaluated&gt;
      &lt;/row&gt;
      &lt;identifiers&gt;
        &lt;header_from&gt;ofpad.com&lt;/header_from&gt;
      &lt;/identifiers&gt;
      &lt;auth_results&gt;
        &lt;dkim&gt;
          &lt;domain&gt;ofpad.com&lt;/domain&gt;
          &lt;result&gt;pass&lt;/result&gt;
          &lt;selector&gt;ukez6fkocbm5wtdd7aqfx754ngfzaqs3&lt;/selector&gt;
        &lt;/dkim&gt;
        &lt;dkim&gt;
          &lt;domain&gt;amazonses.com&lt;/domain&gt;
          &lt;result&gt;pass&lt;/result&gt;
          &lt;selector&gt;hsbnp7p3ensaochzwyq5wwmceodymuwv&lt;/selector&gt;
        &lt;/dkim&gt;
        &lt;spf&gt;
          &lt;domain&gt;us-west-2.amazonses.com&lt;/domain&gt;
          &lt;result&gt;pass&lt;/result&gt;
        &lt;/spf&gt;
      &lt;/auth_results&gt;
    &lt;/record&gt;
    &lt;record&gt;
      &lt;row&gt;
        &lt;source_ip&gt;209.85.220.41&lt;/source_ip&gt;
        &lt;count&gt;87&lt;/count&gt;
        &lt;policy_evaluated&gt;
          &lt;disposition&gt;none&lt;/disposition&gt;
          &lt;dkim&gt;pass&lt;/dkim&gt;
          &lt;spf&gt;fail&lt;/spf&gt;
        &lt;/policy_evaluated&gt;
      &lt;/row&gt;
      &lt;identifiers&gt;
        &lt;header_from&gt;ofpad.com&lt;/header_from&gt;
      &lt;/identifiers&gt;
      &lt;auth_results&gt;
        &lt;dkim&gt;
          &lt;domain&gt;ofpad.com&lt;/domain&gt;
          &lt;result&gt;pass&lt;/result&gt;
          &lt;selector&gt;ukez6fkocbm5wtdd7aqfx754ngfzaqs3&lt;/selector&gt;
        &lt;/dkim&gt;
        &lt;dkim&gt;
          &lt;domain&gt;amazonses.com&lt;/domain&gt;
          &lt;result&gt;pass&lt;/result&gt;
          &lt;selector&gt;hsbnp7p3ensaochzwyq5wwmceodymuwv&lt;/selector&gt;
        &lt;/dkim&gt;
        &lt;spf&gt;
          &lt;domain&gt;gmail.com&lt;/domain&gt;
          &lt;result&gt;pass&lt;/result&gt;
        &lt;/spf&gt;
      &lt;/auth_results&gt;
    &lt;/record&gt;
    &lt;record&gt;
      &lt;row&gt;
        &lt;source_ip&gt;54.240.27.38&lt;/source_ip&gt;
        &lt;count&gt;3&lt;/count&gt;
        &lt;policy_evaluated&gt;
          &lt;disposition&gt;none&lt;/disposition&gt;
          &lt;dkim&gt;pass&lt;/dkim&gt;
          &lt;spf&gt;fail&lt;/spf&gt;
        &lt;/policy_evaluated&gt;
      &lt;/row&gt;
      &lt;identifiers&gt;
        &lt;header_from&gt;ofpad.com&lt;/header_from&gt;
      &lt;/identifiers&gt;
      &lt;auth_results&gt;
        &lt;dkim&gt;
          &lt;domain&gt;ofpad.com&lt;/domain&gt;
          &lt;result&gt;pass&lt;/result&gt;
          &lt;selector&gt;ukez6fkocbm5wtdd7aqfx754ngfzaqs3&lt;/selector&gt;
        &lt;/dkim&gt;
        &lt;dkim&gt;
          &lt;domain&gt;amazonses.com&lt;/domain&gt;
          &lt;result&gt;pass&lt;/result&gt;
          &lt;selector&gt;hsbnp7p3ensaochzwyq5wwmceodymuwv&lt;/selector&gt;
        &lt;/dkim&gt;
        &lt;spf&gt;
          &lt;domain&gt;us-west-2.amazonses.com&lt;/domain&gt;
          &lt;result&gt;pass&lt;/result&gt;
        &lt;/spf&gt;
      &lt;/auth_results&gt;
    &lt;/record&gt;
    &lt;record&gt;
      &lt;row&gt;
        &lt;source_ip&gt;54.240.27.116&lt;/source_ip&gt;
        &lt;count&gt;11&lt;/count&gt;
        &lt;policy_evaluated&gt;
          &lt;disposition&gt;none&lt;/disposition&gt;
          &lt;dkim&gt;pass&lt;/dkim&gt;
          &lt;spf&gt;fail&lt;/spf&gt;
        &lt;/policy_evaluated&gt;
      &lt;/row&gt;
      &lt;identifiers&gt;
        &lt;header_from&gt;ofpad.com&lt;/header_from&gt;
      &lt;/identifiers&gt;
      &lt;auth_results&gt;
        &lt;dkim&gt;
          &lt;domain&gt;ofpad.com&lt;/domain&gt;
          &lt;result&gt;pass&lt;/result&gt;
          &lt;selector&gt;ukez6fkocbm5wtdd7aqfx754ngfzaqs3&lt;/selector&gt;
        &lt;/dkim&gt;
        &lt;dkim&gt;
          &lt;domain&gt;amazonses.com&lt;/domain&gt;
          &lt;result&gt;pass&lt;/result&gt;
          &lt;selector&gt;hsbnp7p3ensaochzwyq5wwmceodymuwv&lt;/selector&gt;
        &lt;/dkim&gt;
        &lt;spf&gt;
          &lt;domain&gt;us-west-2.amazonses.com&lt;/domain&gt;
          &lt;result&gt;pass&lt;/result&gt;
        &lt;/spf&gt;
      &lt;/auth_results&gt;
    &lt;/record&gt;
    &lt;record&gt;
      &lt;row&gt;
        &lt;source_ip&gt;54.240.27.123&lt;/source_ip&gt;
        &lt;count&gt;6&lt;/count&gt;
        &lt;policy_evaluated&gt;
          &lt;disposition&gt;none&lt;/disposition&gt;
          &lt;dkim&gt;pass&lt;/dkim&gt;
          &lt;spf&gt;fail&lt;/spf&gt;
        &lt;/policy_evaluated&gt;
      &lt;/row&gt;
      &lt;identifiers&gt;
        &lt;header_from&gt;ofpad.com&lt;/header_from&gt;
      &lt;/identifiers&gt;
      &lt;auth_results&gt;
        &lt;dkim&gt;
          &lt;domain&gt;ofpad.com&lt;/domain&gt;
          &lt;result&gt;pass&lt;/result&gt;
          &lt;selector&gt;ukez6fkocbm5wtdd7aqfx754ngfzaqs3&lt;/selector&gt;
        &lt;/dkim&gt;
        &lt;dkim&gt;
          &lt;domain&gt;amazonses.com&lt;/domain&gt;
          &lt;result&gt;pass&lt;/result&gt;
          &lt;selector&gt;hsbnp7p3ensaochzwyq5wwmceodymuwv&lt;/selector&gt;
        &lt;/dkim&gt;
        &lt;spf&gt;
          &lt;domain&gt;us-west-2.amazonses.com&lt;/domain&gt;
          &lt;result&gt;pass&lt;/result&gt;
        &lt;/spf&gt;
      &lt;/auth_results&gt;
    &lt;/record&gt;
  &lt;/feedback&gt;
  </code></pre>