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 2016/01/07 17:35:29 UTC

[Bug 7286] New: both scores RCVD_RMV_XPRIO=1.999 & XPRIO=1.999 on the same message/scan

https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7286

            Bug ID: 7286
           Summary: both scores RCVD_RMV_XPRIO=1.999 & XPRIO=1.999 on the
                    same message/scan
           Product: Spamassassin
           Version: 3.4.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Rules
          Assignee: dev@spamassassin.apache.org
          Reporter: phil2k@gmail.com

Created attachment 5368
  --> https://bz.apache.org/SpamAssassin/attachment.cgi?id=5368&action=edit
headers of an email identified as spam (false positive) from telekom.ro

Hi,

It seems that XPRIO & RCVD_RMV_XPRIO rules are matched on the same message.
Should'n be only XPRIO or RCVD_RMV_XPRIO (XPRIO shouldn't be included in
RCVD_RMV_XPRIO) ?

Linux: Ubuntu 14.04.3 LTS (trusty)
SpamAssassin version: 3.4.0-1ubuntu2.1
Mailer: postfix (spamd wrapper: amavis)

I've attached a sample with the message (headers only & replaced original
destinations).

P.S.: if I'm not wrong, even if postfix have ignores for some headers
(headers_checks), my guess is that the above issue shouldn't happen.

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

[Bug 7286] both scores RCVD_RMV_XPRIO=1.999 & XPRIO=1.999 on the same message/scan

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

--- Comment #6 from John Hardin <jh...@impsec.org> ---
Bogdan, you may want to set your local score for RCVD_RMV_XPRIO to zero for a
while; the masscheck corpora starvation doesn't seem to be abating so this
change may take a while to get published.

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

[Bug 7286] both scores RCVD_RMV_XPRIO=1.999 & XPRIO=1.999 on the same message/scan

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

John Hardin <jh...@impsec.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jhardin@impsec.org

--- Comment #4 from John Hardin <jh...@impsec.org> ---
(In reply to RW from comment #2)
> I think the original point of gated_through_received_hdr_remover() was to
> avoid FPs in rules that might be broken by header removal. I don't see the
> logic to the meta-rule.

Masscheck results for that combination hit a lot of low-scoring spam and little
or no ham.

> I'm wondering if someone contributing spam to rule QA has been stripping their > own received  headers,

It's certainly possible that modifications of masscheck messages render that
rule less accurate in masscheck - I know that happens with one subrule because
of the way axb captures his corpora, I got bitten by it because it seemed to be
a great spam sign and had to stop relying on how it behaves in masscheck.

I could certainly add an exclusion so that only one of the two rules hits.

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

[Bug 7286] both scores RCVD_RMV_XPRIO=1.999 & XPRIO=1.999 on the same message/scan

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

--- Comment #5 from John Hardin <jh...@impsec.org> ---
(In reply to John Hardin from comment #4)
> I know that happens with one subrule
> because of the way axb captures his corpora, I got bitten by it because it
> seemed to be a great spam sign and had to stop relying on how it behaves in
> masscheck.

That would be __BOUNCE_RPATH_NULL.

I've committed an exclusion to keep both from hitting the same message and
over-scoring:

$ svn commit 20_misc_testing.cf
Sending        20_misc_testing.cf
Transmitting file data .
Committed revision 1723635.

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

[Bug 7286] both scores RCVD_RMV_XPRIO=1.999 & XPRIO=1.999 on the same message/scan

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

Bogdan Velcea <ph...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |phil2k@gmail.com

--- Comment #7 from Bogdan Velcea <ph...@gmail.com> ---
(In reply to John Hardin from comment #6)
> Bogdan, you may want to set your local score for RCVD_RMV_XPRIO to zero for
> a while; the masscheck corpora starvation doesn't seem to be abating so this
> change may take a while to get published.

Hi,

Sorry for the late answer:
I've added the following line from the begining in /etc/spamassassin/local.cf:

score RCVD_RMV_XPRIO            0.001 0.002 0.001 0.002

I hope this should solve the issue for the moment.

Thank you for your support.

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

[Bug 7286] both scores RCVD_RMV_XPRIO=1.999 & XPRIO=1.999 on the same message/scan

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

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

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

--- Comment #1 from Kevin A. McGrail <km...@pccc.com> ---
No, the rule doesn't check if the Xpriority header is removed.  It checks if it
is there.

It looks if there is a Priority and if some received lines were removed.

__GATED_THROUGH_RCVD_REMOVER && __XPRIO 

So both would have to hit.

You might need to lower the scores of those tests.

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

[Bug 7286] both scores RCVD_RMV_XPRIO=1.999 & XPRIO=1.999 on the same message/scan

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

RW <rw...@googlemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rwmaillists@googlemail.com

--- Comment #2 from RW <rw...@googlemail.com> ---
__GATED_THROUGH_RCVD_REMOVER tests for any one of:

- the complete absence of any received headers
- ezmlm mailing list headers
- MSN group headers (MSN groups shut-down years ago)

None of these apply in the the attached headers, and  RCVD_RMV_XPRIO wasn't
triggered when I tested it.

I think the original point of gated_through_received_hdr_remover() was to avoid
FPs in rules that might be broken by header removal. I don't see the logic to
the meta-rule.It also seems strange that RCVD_REMOVED had to be limited to 3.75
when it's essentially just a test for ezmlm. I'm wondering if someone
contributing spam to rule QA has been stripping their own received  headers,
making __GATED_THROUGH_RCVD_REMOVER  a test for the absence of an external MTA.

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

[Bug 7286] both scores RCVD_RMV_XPRIO=1.999 & XPRIO=1.999 on the same message/scan

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

--- Comment #3 from Kevin A. McGrail <km...@pccc.com> ---
(In reply to RW from comment #2)
> __GATED_THROUGH_RCVD_REMOVER tests for any one of:
> 
> - the complete absence of any received headers
> - ezmlm mailing list headers
> - MSN group headers (MSN groups shut-down years ago)
> 
> None of these apply in the the attached headers, and  RCVD_RMV_XPRIO wasn't
> triggered when I tested it.
> 
> I think the original point of gated_through_received_hdr_remover() was to
> avoid FPs in rules that might be broken by header removal. I don't see the
> logic to the meta-rule.It also seems strange that RCVD_REMOVED had to be
> limited to 3.75 when it's essentially just a test for ezmlm. I'm wondering
> if someone contributing spam to rule QA has been stripping their own
> received  headers, making __GATED_THROUGH_RCVD_REMOVER  a test for the
> absence of an external MTA.

Perhaps glue when passed to SA excluding the current received header?

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