mails with valid SPF sender don't get marked SPF_PASS

Thom van der Boon thom at
Thu Jul 23 08:39:57 UTC 2020

Hi guys, 

I have something weird. Most mails with valid SPF record are marked correctly (SPF_FAIL or SPF_PASS), but I see some messages which should be marked as SPF_PASS get no SPF_PASS 

Anonimised example: 

Return-Path: <some.user at> 
Received: from ( []) 
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) 
(No client certificate requested) 
by (Postfix) with ESMTPS id 16EA01403EA 
for <thom at>; Thu, 23 Jul 2020 09:43:03 +0200 (CEST) 
Received: from [xx.xx.xx.xx] ( 
by with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-SHA384:256) 
(Exim 4.92) 
(envelope-from <some.user at>) 
id 1jyVsb-0001hb-Fv 
for thom at; Thu, 23 Jul 2020 09:43:02 +0200 
Content-Type: multipart/related; 
Received: from someinternalserver ( by 
( with Microsoft SMTP Server id 14.3.487.0; Thu, 23 Jul 2020 
09:38:57 +0200 
MIME-Version: 1.0 
Date: Thu, 23 Jul 2020 09:38:57 +0200 
To: <thom at> 
From: Some User <some.user at> 
Reply-To: < some.user at > 
Subject: Some subject 
X-Report-Abuse-To: spam at 
X-vdbeu-MailScanner-Information: Please contact the ISP for more information 
X-vdbeu-MailScanner-ID: 16EA01403EA.A1841 
X-vdbeu-MailScanner: Found to be clean 
X-vdbeu-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, 
score=-1.786, required 5, BAYES_00 -1.90, HTML_MESSAGE 0.00, 
X-vdbeu-MailScanner-From: some.user at 

SPF record for the senders domain: 

v=spf1 a mx ip4:y.y.y.y ip4:y.y.y.y ip4:y.y.y.y ip4:xx.xx.xx.xx ~all 

The host my server ( receives the mail from ( ) which is a valid sender. 

When I run the headers of the mail via the "Header analyse" tool at it says "SPF Authenticated" (see attached image) 

MailScanner: 5.3.3 
Postfix: 3.3.0 
Mail::SPF v2.009 

Any clues where to dig deeper? 

Met vriendelijke groet, Best regards, 

Thom van der Boon 
E-Mail: thom at 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mxtoolbox result.jpg
Type: image/jpeg
Size: 120825 bytes
Desc: not available
URL: <>

More information about the MailScanner mailing list