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 2005/04/22 22:16:11 UTC
[Bug 4277] New: Encoded Subject line causes a false SUBJ_HAS_UNIQ_ID
http://bugzilla.spamassassin.org/show_bug.cgi?id=4277
Summary: Encoded Subject line causes a false SUBJ_HAS_UNIQ_ID
Product: Spamassassin
Version: 3.0.2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: Rules (Eval Tests)
AssignedTo: dev@spamassassin.apache.org
ReportedBy: mikkon@excelsql.com
The following Subject line causes SUBJ_HAS_UNIQ_ID to fire:
Subject: =?iso-8859-1?Q?Profiilin_p=E4ivitys___Updating_your_profile?=
The decoded text is: "Profiilin p�ivitys - Updating your profile". This should
not be interpreted as a unique ID.
check_for_unique_subject_id() sees the decoded subject as "profiilin_p�ivitys_-
_updating_your_profile". Because of this, the following regexp returns true:
# 9095IPZK7-095wsvp8715rJgY8-286-28 and similar
|| /\b(\w{7,}-\w{7,}(-\w+)*)\s*$/
\w matches underscores that are really spaces.
I'll attach sample headers that will produce SUBJ_HAS_UNIQ_ID.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4277] Encoded Subject line causes a false SUBJ_HAS_UNIQ_ID
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4277
------- Additional Comments From felicity@kluge.net 2005-04-22 13:30 -------
Subject: Re: New: Encoded Subject line causes a false SUBJ_HAS_UNIQ_ID
On Fri, Apr 22, 2005 at 01:16:11PM -0700, bugzilla-daemon@bugzilla.spamassassin.org wrote:
> The following Subject line causes SUBJ_HAS_UNIQ_ID to fire:
> Subject: =?iso-8859-1?Q?Profiilin_p=E4ivitys___Updating_your_profile?=
>
> check_for_unique_subject_id() sees the decoded subject as "profiilin_p�ivitys_-
> _updating_your_profile". Because of this, the following regexp returns true:
Yeah. This got fixed in 3.1 already so that the decodes are more RFC
compliant.
3.0: "Profiilin_pivitys_-_Updating_your_profile"
3.1: "Profiilin pivitys - Updating your profile"
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4277] Encoded Subject line causes a false SUBJ_HAS_UNIQ_ID
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4277
------- Additional Comments From mikkon@excelsql.com 2005-04-22 13:16 -------
Created an attachment (id=2802)
--> (http://bugzilla.spamassassin.org/attachment.cgi?id=2802&action=view)
Headers showing the problem
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4277] Encoded Subject line causes a false SUBJ_HAS_UNIQ_ID
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4277
Bob@Menschel.net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From Bob@Menschel.net 2005-04-28 20:58 -------
fix verified against this attachment,
X-Spam-Status: No, score=0.0 required=5.0 tests=T_UNPARSEABLE_RELAY
autolearn=ham version=3.1.0-r164435
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.