Syntax error in the SPF policy RSS

1

Good afternoon!

ORF finds a syntax error in the SPF policy for the domain dnb.ru when checking mail coming from this domain. At the same time, the parser on your site, considers this policy to be correct.
Here is the policy "v=spf1 ip4:46.28.17.0/24 ip4:109.68.190.132 ~all".
What could be the problem?

by aleksey.fomin 2 years ago
2

@aleksey.fomin: Hello Aleksey,

The problem is caused by a TAB character inside the SPF policy (marked with \t below):

v=spf1 ip4:46.28.17.0/24\tip4:109.68.190.132 ~all

As per RFC7208, SPF terms must be separated by a whitespace (0x20, ASCII 32) character and TAB is not mentioned as a legitimate separator. Due to this, ORF attempts to evaluate "ip4:46.28.17.0/24\tip4:109.68.190.132" as an SPF term, which then fails due to a syntax error. I hope this helps.

Peter

by Péter Karsai (Vamsoft) 2 years ago
(in reply to this post)

New comment

Fill in the form below to add a new comment. All fields are required. If you are a registered user on our site, please sign in first.

Nickname:
Email address (will not be published):
Your comment:

ORF Technical Support

Configuring, installing and troubleshooting ORF.

News & Announcements

Your dose of ORF-related news and announcements.

Everything but ORF

Discuss Exchange and system administration with fellow admins.

Feature Test Program

Feature Test Program discussion. Membership is required to visit this forum.

ORF Beta

Join the great bug hunt of the latest test release.

Customer Service

Stay Informed