https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6925

            Bug ID: 6925
           Summary: spamd fails to add headers to messages with long input
                    lines
           Product: Spamassassin
           Version: 3.3.2
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: spamc/spamd
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified

Created attachment 5142
  --> https://issues.apache.org/SpamAssassin/attachment.cgi?id=5142&action=edit
example mail message that triggers behavior

similar to bug 6916. also tested on version 3.3.1
spamd does not prepend any header when running the attached message through
spamc, but does work correctly if the single long text line (~630kb) is omitted
(2nd command below):

$ head -26 /tmp/foo |spamc | head -25
Return-Path: <[email protected]>
X-Original-To: mkelley@[REDACTED].com
Delivered-To: mkelley@[REDACTED].com
Received-SPF: none (4567.com: No applicable sender policy available)
receiver=pmail03.[REDACTED].com; identity=mailfrom;
envelope-from="[email protected]"; helo=yzjpwd; client-ip=78.111.219.88
Received: from yzjpwd (unknown [78.111.219.88])
    by mail.[REDACTED].com (Postfix) with ESMTP id 80B76560566
    for <mkelley@[REDACTED].com>; Mon,  8 Apr 2013 10:37:33 -0400 (EDT)
From: [email protected]
To: mkelley@[REDACTED].com
Subject: Someone showed me your picture
Date: Mon, 8 Apr 2013 17:37:16 +0300
Message-ID: <99724737409530.51869.qmail@nskkmp>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary= "10100_qmbnziwn__qoub"

--10100_qmbnziwn__qoub
Content-Type: text/plain; charset=US-ASCII

:D

--10100_qmbnziwn__qoub
Content-Type: application/octet-stream
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename= "IMG1010082205-JPG.zip"





$ head -25 /tmp/foo |spamc 
Return-Path: <[email protected]>
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mvincenz-pc
X-Spam-Level: ***
X-Spam-Status: No, score=3.6 required=5.0 tests=FSL_HELO_NON_FQDN_1,
   
HELO_NO_DOMAIN,RCVD_IN_BRBL_LASTEXT,RCVD_IN_SORBS_DUL,RCVD_IN_XBL,RDNS_NONE,
    TO_NO_BRKTS_NORDNS autolearn=no version=3.3.2
X-Original-To: mkelley@[REDACTED].com
Delivered-To: mkelley@[REDACTED].com
Received-SPF: none (4567.com: No applicable sender policy available)
receiver=pmail03.[REDACTED].com; identity=mailfrom;
envelope-from="[email protected]"; helo=yzjpwd; client-ip=78.111.219.88
Received: from yzjpwd (unknown [78.111.219.88])
    by mail.[REDACTED].com (Postfix) with ESMTP id 80B76560566
    for <mkelley@[REDACTED].com>; Mon,  8 Apr 2013 10:37:33 -0400 (EDT)
From: [email protected]
To: mkelley@[REDACTED].com
Subject: Someone showed me your picture
Date: Mon, 8 Apr 2013 17:37:16 +0300
Message-ID: <99724737409530.51869.qmail@nskkmp>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary= "10100_qmbnziwn__qoub"

--10100_qmbnziwn__qoub
Content-Type: text/plain; charset=US-ASCII

:D

--10100_qmbnziwn__qoub
Content-Type: application/octet-stream
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename= "IMG1010082205-JPG.zip"

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

Reply via email to