spamassassin-dev November 2011 archive
Main Archive Page > Month Archives  > spamassassin-dev archives
spamassassin-dev: [Bug 6700] New: URI Rule Type appears to fire

[Bug 6700] New: URI Rule Type appears to fire on headers and it shouldn't...

From: <bugzilla-daemon_at_nospam>
Date: Mon Nov 14 2011 - 17:30:17 GMT
To: dev@spamassassin.apache.org

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6700

             Bug #: 6700
           Summary: URI Rule Type appears to fire on headers and it
                    shouldn't...
           Product: Spamassassin
           Version: 3.3.2
          Platform: PC
        OS/Version: Windows 7
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Rules
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: kmcgrail@pccc.com
    Classification: Unclassified

Based on http://wiki.apache.org/spamassassin/WritingRules "URI rules are very
simple, they only match text in the URI's contained in plain text and HTML
sections of mail. This is very handy for searching for links containing spam
advertised sites. ", I would not expect a uri rule to fire on the
DKIM-Signature header such as:

DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com;
        s=20110426; t=1321033079;
        bh=0D8AlXp0FkxaAgPPEcBH3VntUpA5cQjWgCe1Mf3zaww=;
        h=From:To:Subject:Message-ID:Date:MIME-Version:Content-Type;
        b=LrAhdNkRec1Xk7c9YCkhHDk+6UCVklBNZN+R2IKmqNdevatKimK1+ercneP+MLdYy
         741TG6JlldQexs+r9U3N0Ze6GBueIhViPyF1EHN7Ps4lS6amMxVdDELUMpB4h10bAc
         ybXKHA5B/comAfiYOanp7rqgntjWGUD7WwQunoQI=

Perhaps the = is throwing it off?

In short, I don't consider headers part of the plain text or HTML section of
the email and uri tests shouldn't be done on headers.

Is this correct behavior?

It appears bug 6317 reference a wish to do exactly the opposite so I believe
this is a bug.

Anyone know if this is something to start digging into get_uri_list from
PerMsgStatus?

-- Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.