You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2009/09/20 21:48:55 UTC
[Bug 6208] New: Trailing blanks in report
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6208
Summary: Trailing blanks in report
Product: Spamassassin
Version: SVN Trunk (Latest Devel Version)
Platform: Other
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P5
Component: spamassassin
AssignedTo: dev@spamassassin.apache.org
ReportedBy: jidanni@jidanni.org
No big deal, but here are some trailing blanks, and even a whole empty
X-Spam-Languages: that perhaps not be added if it is empty, but perhaps not.
$ find bla|xargs sed 's/ $/& <---TRAILING BLANK/;s/^/>/'
>Return-Path: <ji...@ps11007.dreamhostps.com>
>X-Spam-Checker-Version: SpamAssassin 3.3.0-alpha3-r816412-1717 (2009-09-18) on
> ps11007.dreamhostps.com
>X-Spam-Flag: YES
>X-Spam-Level: ***
>X-Spam-Report: <---TRAILING BLANK
> * 2.0 J_NO_ME J_NO_ME
> * -0.0 NO_RELAYS Informational: message was not relayed via SMTP
> * 1.3 MISSING_SUBJECT Missing Subject: header
> * 0.6 EMPTY_MESSAGE Message appears to have no textual parts and no
> * Subject: text
>X-Spam-Status: Yes, score=3.9 required=1.9 tests=EMPTY_MESSAGE,J_NO_ME,
> MISSING_SUBJECT,NO_RELAYS
>X-Spam-Languages: <---TRAILING BLANK
>X-Original-To: jidanni1@ps11007.dreamhostps.com
>Delivered-To: jidanni1@ps11007.dreamhostps.com
>Received: by ps11007.dreamhostps.com (Postfix, from userid 3369152)
> id D9E2A2C0C3E2; Sun, 20 Sep 2009 12:40:29 -0700 (PDT)
>To: <ji...@ps11007.dreamhostps.com>
>X-Mailer: mail (GNU Mailutils 1.1)
>Message-Id: <20...@ps11007.dreamhostps.com>
>Date: Sun, 20 Sep 2009 12:40:29 -0700 (PDT)
>From: jidanni1@ps11007.dreamhostps.com (jidanni1)
>
--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
[Bug 6208] Trailing blanks in report
Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6208
Karsten Bräckelmann <gu...@rudersport.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Karsten Bräckelmann <gu...@rudersport.de> 2009-09-21 09:00:59 PDT ---
The "trailing blank" is just the delimiter SA uses for all headers. The content
comes after that, always and unconditional. IMHO this is perfectly fine.
The second part, adding headers defined by the add_header option, regardless of
its content (that means, even if the template expands to an empty string) has
been filed before and considered not a bug, AFAIR. Happens for example with the
Level header for ham scoring < 1.
For the latter, I have a nice plugin hack to remove empty headers. I should
publish that eventually. :)
Not a bug IMHO, closing accordingly. Thanks for the observations nonetheless.
--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.