https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6021
Summary: dbg: received-header: relay 92.104.118.79 trusted?
yes=incorrect
Product: Spamassassin
Version: 3.1.7
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: Plugins
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
sample message
---------------------------------------------------------------------------
Received: from sdcd (unknown [92.104.118.79])
by smtp.myservername.nl (Postfix) with ESMTP id 913F2150001B;
Thu, 20 Nov 2008 13:05:48 +0100 (CET)
Received: from sdcd by mx3.earthlink.net; Thu, 20 Nov 2008 13:05:48 +0100
Subject: test
not working
-------------
result RELAY_CH recognition from
header RELAY_CH X-Relay-Countries=~/\bCH\b/
describe RELAY_CH Relayed through SWITZERLAND
score RELAY_CH 4
RELAY_CH is not found in Xlines
no X-Spam-status lines are reported in spamassassin -D <spam3.txt >spam3a.txt
2>spam3b.txt
detail debugging
[4653] dbg: dns: looking up PTR record for '92.104.118.79'
[4653] dbg: dns: PTR for '92.104.118.79': '79-118.104-92.cust.bluewin.ch'
[4653] dbg: received-header: parsed as [ ip=92.104.118.79
rdns=79-118.104-92.cust.bluewin.ch helo=sdcd by=smtp.aha4adsl.nl ident=
envfrom= intl=0 id=913F2150001B auth= ]
[4653] dbg: dns: looking up A records for 'smtp.myservername.nl'
[4653] dbg: dns: A records for 'smtp.myservername.nl': 192.168.0.3
[4653] dbg: dns: looking up A records for 'smtp.myservername.nl'
[4653] dbg: dns: A records for 'smtp.myservername.nl': 192.168.0.3
[4653] dbg: received-header: 'by' smtp.myservername.nl has private IP
192.168.0.3
[4653] dbg: received-header: 'by' smtp.myservername.nl has no public IPs
[4653] dbg: received-header: relay 92.104.118.79 trusted? yes internal? no
last line trusted? yes is WRONG
------------------------------------------------------------------------------
working is :
Received: from sdcd (unknown [92.104.118.79])
by smtp.myservername.nl (Postfix) with ESMTP id 913F2150001B;
Thu, 20 Nov 2008 13:05:48 +0100 (CET)
Received: from [92.104.118.79] by mx3.earthlink.net; Thu, 20 Nov 2008 13:05:48
+0100
Subject: test
working fine
X-Spam-Status: Yes, score=11.3 required=5.0 tests=MISSING_HB_SEP,
MISSING_HEADERS,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_XBL,RELAY_CH,
TO_CC_NONE autolearn=disabled version=3.1.7-deb
[4653] dbg: received-header: parsed as [ ip=92.104.118.79
rdns=79-118.104-92.cust.bluewin.ch helo=sdcd by=smtp.sampleserver.nl ident=
envfrom= intl=0 id=913F2150001B auth= ]
[4653] dbg: dns: looking up A records for 'smtp.sampleserver.nl'
[4653] dbg: dns: A records for 'smtp.sampleserver.nl':
[4653] dbg: dns: looking up A records for 'smtp.sampleserver.nl'
[4653] dbg: dns: A records for 'smtp.sampleserver.nl':
[4653] dbg: received-header: relay 92.104.118.79 trusted? no internal? no
last line trusted? yes is RIGHT
--
Configure bugmail:
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.