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 2008/03/28 03:48:15 UTC
[Bug 5867] New: [Support:2653] Spam Assassin does not block
black-listed address
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=5867
Summary: [Support:2653] Spam Assassin does not block black-listed
address
Product: Spamassassin
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: spamassassin
AssignedTo: dev@spamassassin.apache.org
ReportedBy: support@swsoft.co.jp
Created an attachment (id=4282)
--> (https://issues.apache.org/SpamAssassin/attachment.cgi?id=4282)
Messages with full header
Under a condition, Spamassassin does not block black-listed E-mail address.
If "From name" contains the charactor "ー" (I hope the system can read it), it
happens.
The charactor is ISO-2022-JP's "213C" and "243C" as we checked, it seemed
SpamAssassin can not read it properly.
EUC-JP, UTF8 and SJIS does not have the problem.
For example,
SA did not block
From: =?ISO-2022-JP?B?GyRCITwbKEI=?= <ta...@test83.swjp>
SA did block
From: =?ISO-2022-JP?B?GyRCJDsbKEI=?= <ta...@test83.swjp>
These test mails are from same address (which is saved on blacklist) but got
different name.
We have checked how it traced:
1) sa-ok.eml message body:
--------------
From: =?ISO-2022-JP?B?GyRCJDcbKEI=?= <ba...@address.jp>
To: example@example.jp
Subject: test
test
--------------
How it is traced:
--------------
# spamassassin -D -p ./user_prefs < sa-ok.eml
...
...
dbg: rules: running head tests; score so far=0
dbg: rules: compiled head tests
dbg: eval: all '*From' addrs: bad@address.jp
dbg: eval: all '*To' addrs: example@example.jp
...
dbg: rules: ran eval rule USER_IN_BLACKLIST ======> got hit (1)
...
--------------
2) sa-fail.eml message body:
--------------
From: =?ISO-2022-JP?B?GyRCITwbKEI=?= <ba...@address.jp>
To: example@example.jp
Subject: test
test
--------------
How it is traced:
--------------
# spamassassin -D -p ./user_prefs < sa-fail.eml
...
...
dbg: rules: running head tests; score so far=0
dbg: rules: compiled head tests
dbg: eval: all '*From' addrs: _(B <bad@address.jp
dbg: eval: all '*To' addrs: example@example.jp
...
--------------
As you can see in 2) case the From: address is parsed wrong by Spamassassin and
it parses it as "_(B <bad@address.jp".
I attached the mail full header as "SA_bug_header.zip", it contains "SA_NG.eml"
and "SA_OK.eml" for Thunderbird.
It seems in case the sender name contained the paticular charactor,
SpamAssassin misunderstand the mail address, and as a result, the black list
can not work properly.
--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.