Bug 2495 - Filter Gnus annotations in Bayes.pm
Summary: Filter Gnus annotations in Bayes.pm
Status: RESOLVED FIXED
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Libraries (show other bugs)
Version: SVN Trunk (Latest Devel Version)
Hardware: Other other
: P5 trivial
Target Milestone: 2.61
Assignee: SpamAssassin Developer Mailing List
URL: http://bugs.debian.org/cgi-bin/bugrep...
Whiteboard:
Keywords: backport
Depends on:
Blocks:
 
Reported: 2003-09-23 13:11 UTC by spamassassin
Modified: 2003-09-28 01:09 UTC (History)
0 users



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description spamassassin 2003-09-23 13:11:58 UTC
The following patch makes sa-learn ignore some headers added by Gnus:

--- Bayes.pm    2003-09-19 19:24:56.000000000 +0200
+++ /usr/share/perl5/Mail/SpamAssassin/Bayes.pm 2003-09-19 19:28:21.000000000 +0200
@@ -111,6 +111,9 @@ $IGNORED_HDRS = qr{(?: (?:X-)?Sender    
   |X-VM-(?:Bookmark|(?:POP|IMAP)-Retrieved|Labels|Last-Modified
     |Summary-Format|VHeader|v\d-Data|Message-Order)
 
+  # Annotations from Gnus:
+  |X-Gnus-Mail-Source
+  |Xref
 )}x;
 
 # Note only the presence of these headers, in order to reduce the
Comment 1 spamassassin 2003-09-23 13:34:05 UTC
fixed, backport?
it's not that necessary a fix... but its pretty trivial
Comment 2 Theo Van Dinter 2003-09-27 11:12:42 UTC
+1
Comment 3 Theo Van Dinter 2003-09-28 09:09:38 UTC
committed for 2.61