Home » Kerio User Forums » Kerio Connect » SPF check behavior with malformed SPF records

Messages: 1
Karma: 0
Send a private message to this user
I'm getting messages in the error log like this:

[19/Jan/2007 12:12:01] SPFChecker.cpp: Error when parsing SPF TXT record for domain: blah.com, envelope-from=blah<.a.t.>blah.com, message: Invalid character found near "all" in "~all."

I verified that the domain in question has an incorrectly-formatted SPF record. Does Kerio treat a malformed record like a nonexistent record, or does it treat it like an "SPF fail"?

This is important, because I want to start blocking messages that fail an SPF check, but I don't want to accidentally block legitimate domains that have a nonexistent or a malformed SPF record.
Pavel Dobry (Kerio)

Messages: 2057
Karma: 251
Send a private message to this user
Kerio MailServer treats such SPF record as an invalid. SPF return code is PermError. SPF check does not fail because it is not possible to perform it. In other words, KMS will ignore such record (as nonexistent) and log only the warning.

Messages: 22
Karma: -1
Send a private message to this user
Is this still the case? I am only logging SPF issues right now, not blocking messages.

I see a lot of SPF errors for invalid SPF records. If I start blocking messages based on SPF records, do those messages get rejected or does the error just get logged?
Previous Topic: ETRN Download broken after upgrade to 8.3.4
Next Topic: Failed Update to 8.2
Goto Forum:

Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Sat Nov 17 03:34:33 CET 2018

Total time taken to generate the page: 0.72799 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.