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 2004/04/21 03:50:51 UTC

[Bug 3285] New: SUSPICIOUS_RECIPS triggers on "user@dom.ain"

http://bugzilla.spamassassin.org/show_bug.cgi?id=3285

           Summary: SUSPICIOUS_RECIPS triggers on "user@dom.ain"
                    <us...@dom.ain>
           Product: Spamassassin
           Version: 2.63
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Rules (Eval Tests)
        AssignedTo: spamassassin-dev@incubator.apache.org
        ReportedBy: kjetilho@ifi.uio.no


many clients seem to add a default full name of the e-mail address itself when
once is missing.  this results in headers like

To: "list@example.org" <li...@example.org>
Cc: "user@example.com" <us...@example.com>, Real Name <re...@example.net>

the code in _check_recipients() doesn't distinguish between display-name and
mail-addr, so list@example.org will occur twice in the address list, and the
list will contain 5 addresses in total.  there will be four hits (two for
local-part, two for domain), so the ratio is 0.8, which is higher than 0.6 which
is the threshold for the rule.

the simple fix is to eliminate duplicates in the address list before you start
counting, by using a hash rather than a list, for instance.



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