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 2004/02/25 19:50:27 UTC
[Bug 3090] New: SUBJ_HAS_UNIQ_ID false positive
http://bugzilla.spamassassin.org/show_bug.cgi?id=3090
Summary: SUBJ_HAS_UNIQ_ID false positive
Product: Spamassassin
Version: 2.61
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P4
Component: Rules (Eval Tests)
AssignedTo: spamassassin-dev@incubator.apache.org
ReportedBy: steveb@nebcoinc.com
One of our users received an e-mail that contained the following subject:
Re: BryanLGH-Fallbrook
This triggered the SUBJ_HAS_UNIQ_ID rule which added enough points (2.677) to
reach the SPAM threshold. I tracked it down to the following regex in the
check_for_uniq_subject_id() function:
# 9095IPZK7-095wsvp8715rJgY8-286-28 and similar
|| /\b(\w{7,}-\w{7,}(-\w+)*)\s*$/
I won't pretend to know the original intent of the regex, but based on the
comment above it, I added a number check to the beginning so the regex is now:
|| /\b([0-9]+\w{7,}-\w{7,}(-\w+)*)\s*$/
This prevents it from flagging the subject I reported above. However, I'm not
sure it's the proper way to fix the problem. I checked 2.63, and the regex
hasn't changed any since 2.61. Can this be fixed for 2.64?
Thanks,
Steve
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.