https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7146

            Bug ID: 7146
           Summary: Invalid X-Spam-Score and X-Spam-Score-Int header
           Product: Spamassassin
           Version: 3.2.5
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: spamassassin
          Assignee: [email protected]
          Reporter: [email protected]

While processing certain emails, the following headers are added:

X-Spam-Score: -4.4
-3.8
X-Spam-Score-Int: -43
-37

According to rfc2822 section 2.2.3 CRFL should only be inserted before a white
space, so that the second headerline should begin with a whitespace. This
confuses my mutt and leads to base64 encoded messages not beeing readable.


Here a slightly censored version of the mail ;)


Return-path: <[email protected]>
Envelope-to: [email protected]
Delivery-date: Mon, 23 Feb 2015 10:47:26 +0100
Received: from  ... ([...])
    by mailrechner.de with esmtp (Exim 4.69)
    (envelope-from <...>)
    id ...
    for ...; Mon, 23 Feb 2015 10:47:26 +0100
Received: ...
Received: ...
Received: ...
From: ...
Message-Id: ...
Date: Mon, 23 Feb 2015 10:46:24 +0100
To: ...
Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\))
X-Mailer: Apple Mail (2.1990.1)
X-Authenticated-User: ...
X-Authenticator: plain
X-Exim-Version: 4.69 (build at 30-Jan-2011 20:48:48)
X-Date: 2015-02-23 10:46:33
X-Connected-IP: 84.175.65.250:65092
X-Message-Linecount: 21
X-Body-Linecount: 11
X-Message-Size: 752
X-Body-Size: 339
X-Received-Count: 1
X-Recipient-Count: 1
X-Local-Recipient-Count: 1
X-Local-Recipient-Defer-Count: 0
X-Local-Recipient-Fail-Count: 0
Subject: ...
X-BeenThere: ...
X-Mailman-Version: 2.1.13
Precedence: list
Reply-To: ...
List-Id: ..
List-Unsubscribe: ...
    ...
List-Archive: ...
List-Post: ...
List-Help: ...
List-Subscribe: ...,
    ...
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: ...
Errors-To: ...
X-Exim-Version: 4.69 (build at 30-Jan-2011 20:48:48)
X-Date: 2015-02-23 10:47:26
X-Connected-IP: 78.46.75.118:45144
X-Message-Linecount: 63
X-Body-Linecount: 10
X-Message-Size: 3049
X-Body-Size: 718
X-Received-Count: 4
X-Recipient-Count: 1
X-Local-Recipient-Count: 1
X-Local-Recipient-Defer-Count: 0
X-Local-Recipient-Fail-Count: 0
X-Spam-Threshold: 6
X-Spam-Score: -4.4
-3.8
X-Spam-Score-Int: -43
-37
X-Spam-Bar: ---
X-Spam-Report: SpamAssassin 3.2.5 on host ...
    scan-date              = Mon, 23 Feb 2015 10:47:26 +0100
    score                  = -3.8
    bayes-score            = 0.5000
    bayes-token-summary    = Tokens: new, 93; hammy, 37; neutral, 72; spammy,
15.
    bayes-token-spam-count = 15
    bayes-token-ham-count  = 37
    bayes-token-spam       = HX-Exim-Version:30-Jan-2011, H*RU:89.146.220.106,
HX-Spam-Relays-External:89.146.220.106, H*r:ip*89.146.220.106, H*r:89.146.220,
H*r:TLS1.0, options, Launch, launch, HX-Exim-Version:4.69, H*r:4.69, positiven,
Resultat, resultat, H*R:D*net
    bayes-token-ham        = HX-Authenticator:plain, HPrecedence:list,
H*x:Apple, H*UA:Apple, mailman, letzen, H*r:esmtpsa, gruÃ, H*r:192.168.2,
H*RU:!192.168.2.102!, gesteckt, HErrors-To:D*net, Sprint, sprint,
HX-Spam-Relays-External:!192.168.2.102!, H*r:ip*192.168.2.102
    bayes-auto-learned     = disabled
    possible-languages     = 
    relayed-countries      = _RELAYCOUNTRY_
    pyzor                  = Reported 0 times.
    RBL                    = 
    DDC-brand              = _DDCB_
    DDC-result             = _DDCR_
    ==== ======================
==================================================
    pts  rule name              description
    ---- ----------------------
--------------------------------------------------
    0.0 BAYES_50               BODY: Bayesian spam probability is 40 to 60%
    [score: 0.5000]
    -4.0 EXIM_AUTH              Sender is authenticated
    0.2 AWL                    AWL: From: address is in the auto white-list
X-Spam-Flag:  NO 
X-Delivered-To: ...
X-Message-Age: 18

... (Some base 64 content)

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

Reply via email to