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: [email protected]
        ReportedBy: [email protected]
    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.

Reply via email to