Mailing List Archive

[Bug 2645] blacklist check fails with special character
http://bugzilla.spamassassin.org/show_bug.cgi?id=2645





------- Additional Comments From wolfy@well.com 2004-03-30 08:20 -------
If the From: header contains a punctuation character immediately prior to the @
character in the email address, the blacklist mechanism breaks down. For
example, assume the user has:

blacklist_from *@world.std.com

If sent mail with a From address of something like:

a?@world.std.com

the message won't be marked with USER_IN_BLACKLIST:

>>From phanson@well.com Mon Mar 29 00:24:50 2004Return-Path: <phanson@well.com>
>Date: Mon, 29 Mar 2004 00:24:49 -0800 (PST)
>Message-Id: <200403290824.i2T8On0X027041@well.com>
>To: vanilla@well.com
>From: Keith Dawson <a?@world.std.com>Subject: TBTF ping for 2001-04-20: >Reviving
>X-Spam-Checker-Version: SpamAssassin 2.63-the_well_u (2004-01-11) on
> user.well.com
>X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no
> version=2.63-the_well_u
>X-Spam-Level:
>
>Blah

If the punctuation character is not the last character prior to the @, the
blacklist mechanism appears to work:

>>From phanson@well.com Mon Mar 29 00:24:40 2004
>Return-Path: <phanson@well.com>
>Date: Mon, 29 Mar 2004 00:24:38 -0800 (PST)
>Message-Id: <200403290824.i2T8Ocju026790@well.com>
>To: vanilla@well.com
>From: Keith Dawson <?a@world.std.com>
>Subject: (SPAM?) TBTF ping for 2001-04-20: Reviving
>X-Spam-Flag: YES
>X-Spam-Checker-Version: SpamAssassin 2.63-the_well_u (2004-01-11) on
> user.well.com
>X-Spam-Report:
> * 100 USER_IN_BLACKLIST From: address is in the user's black-list
>X-Spam-Status: Yes, hits=100.0 required=5.0 tests=USER_IN_BLACKLIST
> autolearn=no version=2.63-the_well_u
>X-Spam-Level: **************************************************
>
>Blah

The precise character used doesn't seem to matter - if it isn't alphanumeric, a
hyphen, or an underscore, SA seems to get confused.




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