Emails are deferred during SPF check: DEFER DNS lookup failure tempfail

Created:

2016-11-16 12:42:01 UTC

Modified:

2017-08-16 18:34:12 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Emails are deferred during SPF check: DEFER DNS lookup failure tempfail

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 11.x for Linux
  • Plesk 12.0 for Linux

Symptoms

  1. Mail delivery does not work. The following messages are logged into /usr/local/psa/var/log/maillog :
    /usr/lib/plesk-9.0/psa-pc-remote[1759]: handlers_stderr: DEFER
    spf filter[1360]: Error code: (26) DNS lookup failure
    /usr/lib/plesk-9.0/psa-pc-remote[1759]: DEFER during call 'spf' handler
    spf filter[1360]: SPF result: tempfail
    postfix/cleanup[29479]: 694B91E328E: milter-reject: END-OF-MESSAGE from blu004-somedom.email.com[8.8.8.8]: 4.7.1 Service unavailable - try again later;

or:

    Handlers Filter before-queue for qmail started ...
from=user@example.com
spf filter[8808]: Starting spf filter...
spf filter[8808]: Error code: (26) DNS lookup failure
spf filter[8808]: SPF result: tempfail
handlers_stderr: DEFER
DEFER during call 'spf' handler
  1. SPF local rules are set as follows:
    # /usr/local/psa/bin/mailserver -i spf
    SPF local rules: include:spf.trusted-forwarder.org

or in Plesk GUI: Tools and Settings > Mail Server Settings

  1. spf.trusted-forwarder.org is not available:
    # ping spf.trusted-forwarder.org
    ping: unknown host spf.trusted-forwarder.org

Cause

SPF checker "spf.trusted-forwarder.org" does not work anymore

Resolution

Disable local rules:

  1. Open Tools and Settings > Mail Server Settings

  2. Remove specified domain in SPF local rules

Additional information

SPF local rules are applied by the spam filter before the SPF check is actually done by the mail server. For more information on SPF rules, visit http://tools.ietf.org/html/rfc4408 .

Have more questions? Submit a request
Please sign in to leave a comment.