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

           Summary: SUSPICIOUS_RECIPS triggers on "[EMAIL PROTECTED]"
                    <[EMAIL PROTECTED]>
           Product: Spamassassin
           Version: 2.63
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Rules (Eval Tests)
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
Cc: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>, Real Name <[EMAIL PROTECTED]>

the code in _check_recipients() doesn't distinguish between display-name and
mail-addr, so [EMAIL PROTECTED] 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.

Reply via email to