SPF Filter is bypassed: Could not find a valid SPF record

Refers to:

  • Plesk 12.5 for Linux
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Linux

Created:

2016-11-16 12:48:16 UTC

Modified:

2017-01-26 16:06:52 UTC

0

Was this article helpful?


Have more questions?

Submit a request

SPF Filter is bypassed: Could not find a valid SPF record

Symptoms

Messages bypass SPF filter. The following error is shown in /usr/local/psa/var/log/maillog :

Aug 18 10:07:02 Plesk_11.5.30 /usr/lib64/plesk-9.0/psa-pc-remote[16671]: Unable to get sender domain by sender mailname

Aug 18 10:07:02 Plesk_11.5.30 spf filter[18496]: Error code: (2) Could not find a valid SPF record
Aug 18 10:07:02 Plesk_11.5.30 spf filter[18496]: Failed to query MAIL-FROM: No DNS data for 'mta.domain.tld'.

Cause

Not all SPF settings were configured.

Resolution

Check the following conditions, for which SPF filter blocks messages:

  1. SPF record for the sender domain is correctly configured:

    domain.tld TXT "v=spf1 a:domain.tld mx -all"
  2. SPF protection is switched on and configured on the destination server ( Tools & Settings > Server-Wide Mail Settings ):

    SPF local rules: include:spf.trusted-forwarder.org
    SPF guess rules: v=spf1 a/24 mx/24 ptr

Detailed information about SPF record syntax is available at Openspf.org

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