You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by pfoo <pf...@csnu.org> on 2008/03/29 12:05:10 UTC

Spamassassin, ipv6 and spf check

Hi,
I'm currently on debian etch (stable) and I check spams using
spamassassin via amavisd-new.
Because my mail server supports ipv6, I installed spamassassin 3.2.4
(from debian testing) and amavisd-new-2.5.3 (debian testing) in order to
benefit ipv6 spf check support (plugin Mail::SPF)
Problem : spamassassin don't tag spffail when an ipv6 server send a
mail. No problem with ipv4.
My SA is using Mail::SPF plugin and the old Mail:SPF:Query was removed:
[11661] dbg: diag: module installed: Mail::SPF, version v2.5.0
[11661] dbg: diag: module not installed: Mail::SPF::Query ('require' failed)
Do someone experienced the same problem ?

Here's the header of a mail sent via my test server using ipv4:
Received: from localhost (localhost.localdomain [127.0.0.1])
	by core.csnu.org (Postfix) with ESMTP id 9444130053
	for <pf...@csnu.org>; Sat, 29 Mar 2008 10:30:45 +0100 (CET)
X-Spam-Flag: NO
X-Spam-Score: 2.791
X-Spam-Level: **
X-Spam-Status: No, score=2.791 tagged_above=2 required=6.31
tests=[AWL=0.604,
	SPF_HELO_SOFTFAIL=1.533, SPF_SOFTFAIL=0.654]
Received: from core.csnu.org ([127.0.0.1])
	by localhost (core.csnu.org [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id GKVjcNnKosUS for <pf...@csnu.org>;
	Sat, 29 Mar 2008 10:30:44 +0100 (CET)
Received: from csnu.org (bluebox.equin0xe.org [82.227.48.154])
	by core.csnu.org (Postfix) with ESMTP id 5D8A92FFE0
	for <pf...@csnu.org>; Sat, 29 Mar 2008 10:30:30 +0100 (CET)
Subject: test
Message-Id: <20...@core.csnu.org>
Date: Sat, 29 Mar 2008 10:30:30 +0100 (CET)
From: pfoo@csnu.org
To: undisclosed-recipients:;
ipv4 !



Here's the header of a mail sent via my the same test server using ipv6:
Received: from localhost (localhost.localdomain [127.0.0.1])
	by core.csnu.org (Postfix) with ESMTP id D10B630053
	for <pf...@csnu.org>; Sat, 29 Mar 2008 10:28:41 +0100 (CET)
Received: from core.csnu.org ([127.0.0.1])
	by localhost (core.csnu.org [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id I7IY+kPn6tUz for <pf...@csnu.org>;
	Sat, 29 Mar 2008 10:28:40 +0100 (CET)
Received: from csnu.org (cl-304.bru-01.be.sixxs.net
[IPv6:2001:6f8:202:12f::2])
	by core.csnu.org (Postfix) with ESMTP id 387D32FFE0
	for <pf...@csnu.org>; Sat, 29 Mar 2008 10:28:26 +0100 (CET)
Subject: test ipv6
Message-Id: <20...@core.csnu.org>
Date: Sat, 29 Mar 2008 10:28:26 +0100 (CET)
From: pfoo@csnu.org
To: undisclosed-recipients:;
ipv6 !



A spfquery check :
core:~# spfquery -V
spfquery version 2.501 (using Mail::SPF)
core:~# spfquery --mfrom pfoo@csnu.org --ip-address 2001:6f8:202:12f::2
softfail
csnu.org: Sender is not authorized by default to use 'pfoo@csnu.org' in
'mfrom' identity, however domain is not currently prepared for false
failures (mechanism '~all' matched)
csnu.org: Sender is not authorized by default to use 'pfoo@csnu.org' in
'mfrom' identity, however domain is not currently prepared for false
failures (mechanism '~all' matched)
Received-SPF: softfail (csnu.org: Sender is not authorized by default to
use 'pfoo@csnu.org' in 'mfrom' identity, however domain is not currently
prepared for false failures (mechanism '~all' matched))
receiver=core.csnu.org; identity=mfrom; envelope-from="pfoo@csnu.org";
client-ip="2001:6f8:202:12f::2"