spamassassin-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzilla-dae...@bugzilla.spamassassin.org
Subject [Bug 6067] New: SpamAssassin is currently unable to reliably detect The Bat! by Message-ID; rule FORGED_MUA_THEBAT_MSGID is missing
Date Sat, 14 Feb 2009 19:11:45 GMT
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6067

           Summary: SpamAssassin is currently unable to reliably detect The
                    Bat! by Message-ID; rule FORGED_MUA_THEBAT_MSGID  is
                    missing
           Product: Spamassassin
           Version: 3.2.5
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Rules
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: max@ritlabs.com


A reliable way to detect The Bat! is by message-id, not by x-mailer.

Here is the Delphi code from The Bat! that makes the message-id:

      Result := Format('<%d%d.%4.4d%2.2d%2.2d%2.2d%2.2d%2.2d@%s>',
                         [Random(200), Random(MaxInt div 200), Year,
                          Month, Day, Hour, Min, Sec, S]);

where 
 * Random(n) gives [0..n-1]
 * MaxInt div 200 = 10737418
 * Year, Month, Day, Hour, Min, Sec are in local time
 * S contains an FQDN

 For example, Message-ID: <1794043984.20090211133434@ritlabs.com>


We should add the following rule:

meta FORGED_MUA_THEBAT_MSGID    (__THEBAT_MUA && !__BAT_MSGID)


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

Mime
View raw message