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

           Summary: received header parsing problem
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Libraries
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


About half of the updated t/dnsbl.t tests are failing and it appears the
cause is the Received: header parsing code.  I tried to remove them from
the equation by making the Received headers very simple to parse, but
without much luck.  Maybe I'm missing something obvious...

not ok 1
not ok 2
not ok 3
ok 4
ok 5
ok 6
ok 7
not ok 8
not ok 9
ok 10
not ok 11
not ok 12
ok 13
ok 14
ok 15
ok 16

more specifically:

        Not found: P_2 =  <dns:134.88.73.210.dnsbltest.spamassassin.org>
[127.0.0.4] 
        Not found: P_3 =  <dns:18.13.119.61.dnsbltest.spamassassin.org>
[127.0.0.12] 
        Not found: P_4 =  <dns:226.149.120.193.dnsbltest.spamassassin.org>
[127.0.0.1] 
        Not found: P_10 =  DNSBL_TEST_RELAY 
        Not found: P_9 =  DNSBL_TEST_SPAM 
        Not found: P_7 =  DNSBL_TEST_WHITELIST 
        Not found: P_12 =  DNSBL_TXT_RE 

and if I look at the filtered message, untrusted headers is basically empty:

X-Spam-Flag: YES
X-Spam-Untrusted: [ ip=144.137.3.98 rdns=CPE-144-137-3-98.vic.bigpond.net.au 
        helo=evil.example.net by=chaos.example.net ident= envfrom= intl=0 ]
X-Spam-Checker-Version: SpamAssassin 3.0.0-r6893 (2004-02-26) on 
        proton.pathname.com
X-Spam-RBL: <dns:example.com.dnsbltest.spamassassin.org> [127.0.0.2]
        <dns:example.com.dsn.rfc-ignorant.org> [127.0.0.2]
        <dns:98.3.137.144.dnsbltest.spamassassin.org> [127.0.0.2]
        <dns:98.3.137.144.dnsbltest.spamassassin.org?type=TXT> ["dynamic host"]
        <dns:98.3.137.144.dnsbl.sorbs.net> [127.0.0.10]
X-Spam-Trusted: 
X-Spam-Status: Yes, score=9.9 required=5.0 tests=DATE_IN_FUTURE_06_12,
        DNSBL_RHS,DNSBL_TEST_DYNAMIC,DNSBL_TEST_TOP,DNSBL_TXT_TOP,
        DNS_FROM_RFCI_DSN,FORGED_RCVD_HELO,INVALID_DATE,RCVD_IN_SORBS_DUL 
        autolearn=no version=3.0.0-r6893
X-Spam-Level: *********



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

Reply via email to