You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2015/02/04 23:47:50 UTC

[Bug 7132] New: RCVD_IN_PBL false positive from X-Originating-IP

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=7132

            Bug ID: 7132
           Summary: RCVD_IN_PBL false positive from X-Originating-IP
           Product: Spamassassin
           Version: 3.4.0
          Hardware: PC
                OS: Windows 7
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Rules
          Assignee: dev@spamassassin.apache.org
          Reporter: cstdenis@ctgameinfo.com

First let me state this is NOT an outgoing email issue like other bug reports
on this subject. This is an incoming email being received from another mail
server.
Spamassassin is running on mx1.ctgameinfo.com. Mail is routed to it via
spamass-milter over socket file.

Some minor data has been changed for privacy reasons. The IP address 1.2.3.4
represents the residential adsl IP address of the sender.

Why is 1.2.3.4 being checked against PBL? Of course the originating residential
IP is going to be listed in PBL, that is the point of PBL.


I also do not understand why the RDNS_NONE rule is hit by this. The received
header clearly shows rdns is working, and the 1.2.3.4 also has working rdns (of
the form d1-2-3-4.bchsia.telus.net)


Email headers
-------------
Return-Path: <fa...@telus.net>
X-Original-To: user@example.com
Delivered-To: user@example.com
Received: from cmta3.telus.net (cmta3.telus.net [209.171.16.76])
        by mx1.ctgameinfo.com (Postfix) with ESMTP id EF99C4787F
        for <us...@example.com>; Tue,  3 Feb 2015 16:02:12 -0800 (PST)
X-Virus-Status: Clean
X-Virus-Scanned: clamav-milter 0.98.5 at spamass
Received: from mtlp000203.email.telus.net ([172.20.100.250])
        by cmta3.telus.net with TELUS
        id o02B1p01R5Q8SMY0102BBp; Tue, 03 Feb 2015 17:02:11 -0700
X-Originating-IP: 1.2.3.4
X-Authority-Analysis: v=2.0 cv=HdzKuF48 c=1 sm=1 a=FKkrIqjQGGEA:10
 a=VDjVIzFGpyMA:10 a=IkcTkHD0fZMA:10 a=aatUQebYAAAA:8 a=87ezdhtkhnusMjfAvXkA:9
 a=QEXdDO2ut3YA:10 a=XvapDdnUjFUA:10 a=B6NL9imSmI8A:10 a=T74AievCaeNgEnAZ:21
 a=KTfQ0v5V-U0IL0Cz:21 a=4bd358MHcbnBkp+IcMzszA==:117
Date: Tue, 3 Feb 2015 17:02:11 -0700 (MST)
From: name <fa...@telus.net>
To: othername <us...@example.com>
Message-ID: <fo...@mailid.telus.net>
In-Reply-To: <fo...@mailid.telus.net>
Subject: *****SPAM***** For Wednesday class
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----------=_54D16186.FCDC03DC"
Content-Transfer-Encoding: 7bit
X-Originating-IP: [1.2.3.4]
X-Mailer: Zimbra 8.0.7_GA_6037 (ZimbraWebClient - IE7 (Win)/8.0.7_GA_6021)
Thread-Topic: For Wednesday class
Thread-Index: 5+zgt8qFs/3YXUxFRkhDWI63D900jg==
X-Spam-Flag: YES
X-Spam-Status: Yes, score=5.4 required=5.0 tests=AWL=0.601,RCVD_IN_PBL=3.558,
        RDNS_NONE=1.274,UNPARSEABLE_RELAY=0.001 autolearn=no autolearn_force=no
        version=3.4.0 bayes=0.5 dcc=spamass 1102; Body=1 Fuz1=1 Fuz2=1
pyzor=Reported
        0 times.
X-Spam-Report:
        *  3.6 RCVD_IN_PBL RBL: Received via a relay in Spamhaus PBL
        *      [1.2.3.4 listed in zen.spamhaus.org]
        *  1.3 RDNS_NONE Delivered to internal network by a host with no rDNS
        *  0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay
lines
        *  0.6 AWL AWL: Adjusted score from AWL reputation of From: address
X-Spam-Level: *****
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
        spamass.ctgameinfo.com

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7132] RCVD_IN_PBL false positive from X-Originating-IP

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=7132

--- Comment #1 from AXB <ax...@gmail.com> ---
Do you get the same result if you pipe the message directly through 
spamd/spamassassin ?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7132] RCVD_IN_PBL false positive from X-Originating-IP

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=7132

--- Comment #4 from Kevin A. McGrail <km...@pccc.com> ---
This is a configuration issue not a bug.  Please discuss on the users@ list.

NOTE: Comparing spamassassin to spamc/spamd with different configurations for
each is like Apples to Oranges.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7132] RCVD_IN_PBL false positive from X-Originating-IP

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=7132

--- Comment #5 from cstdenis@ctgameinfo.com ---
They both use the same config files. Userpref table is empty. AWL should not
affect which other rules it hits.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7132] RCVD_IN_PBL false positive from X-Originating-IP

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=7132

cstdenis@ctgameinfo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cstdenis@ctgameinfo.com

--- Comment #3 from cstdenis@ctgameinfo.com ---
Piping the message through spamc does not appear to trigger the problem.
However piping it through spamassassin DOES trigger it. I don't understand why.


#spamc -r -U /var/run/spamd.sock -l -u user@example.com <
/tmp/1423008134.V7d13d4f4I47884M698140.mail:2,S

Content analysis details:   (1.6 points, 5.0 required)

 pts rule name              description
---- ---------------------- --------------------------------------------------
-0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at http://www.dnswl.org/, no
                            trust
                            [209.171.16.76 listed in list.dnswl.org]
-0.0 T_RP_MATCHES_RCVD      Envelope sender domain matches handover relay
                            domain
-0.0 SPF_PASS               SPF: sender matches SPF record
 1.6 AWL                    AWL: Adjusted score from AWL reputation of From:
address


#spamassassin --nocreate-prefs --test-mode -d <
/tmp/1423008134.V7d13d4f4I47884M698140.mail:2,S

ontent analysis details:   (3.2 points, 5.0 required)

 pts rule name              description
---- ---------------------- --------------------------------------------------
 3.6 RCVD_IN_PBL            RBL: Received via a relay in Spamhaus PBL
                            [1.2.3.4 listed in zen.spamhaus.org]
 1.3 RDNS_NONE              Delivered to internal network by a host with no
rDNS
 0.0 UNPARSEABLE_RELAY      Informational: message has unparseable relay lines
-1.6 AWL                    AWL: Adjusted score from AWL reputation of From:
address


The different AWL result is because the "spamassassin" invocation does not seem
to support sql awl/userprefs/etc. I can not explain the other differences. 



spamass-milter does add a received header to the message before sending it to
spamd. I was able to confirm this using it's debug mode. The received header it
inserts looks something like this (Not from the same message, but found one
from the same ISP. Indentation may be messed up by syslog since it comes
through as 1 line with ^M's):

Received: from cmta19.telus.net (cmta19.telus.net [209.171.16.92])
     by mx1.ctgameinfo.com(8.13.0/8.13.0) with SMTP id unknown;
    Wed, 04 Feb 2015 13:52:29 -0800
       (envelope-from <fa...@telus.net>)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7132] RCVD_IN_PBL false positive from X-Originating-IP

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=7132

Kevin A. McGrail <km...@pccc.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |kmcgrail@pccc.com
         Resolution|---                         |WORKSFORME

--- Comment #2 from Kevin A. McGrail <km...@pccc.com> ---
RCVD_IN_PBBL is a last-external check.  You are using a milter so the email's
received header from the server you got it from to you doesn't exist yet.  Are
you using a milter that synthesizes a received header so the last received
header is in fact the one you think you are checking?

See
http://spamassassin.1065346.n5.nabble.com/spam-scores-low-Sendmail-smtp-vilter-SA-td10271i20.html
for some discussion on the matter.

-- 
You are receiving this mail because:
You are the assignee for the bug.